[vtkusers] How to use font types different from Arial, Courier and Times

David Lonie david.lonie at kitware.com
Mon Nov 5 08:45:01 EST 2012


On Mon, Nov 5, 2012 at 7:47 AM, Roberto Garrido <rgarrido at emedica.es> wrote:
> Hi there!
>
> We have spent A LOT of time trying to figure this out. Anyone here has been
> able to use a custom font type in  a vtkCaptionActor2D?

FontConfig support has been added to the development version of VTK
and should be available in the next release. It can be used by
enabling the RenderingFreeTypeFontConfig module in cmake and setting
the font name to the desired font in the vtkTextProperties used by the
actor.

Hope this helps,

Dave



More information about the vtkusers mailing list