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

Roberto Garrido rgarrido at emedica.es
Mon Nov 5 10:23:49 EST 2012


Hi Dave,
Thanks for your answer :)

After cloning VTK Git repo and launching CMake, I can see that I need to
have FontConfig library installed on my machine, which runs a Windows OS
(WinXP). Can you give us some guidelines on how to get this VTK module
working on Windows?

My best,
Robert.

-----Mensaje original-----
De: David Lonie [mailto:david.lonie at kitware.com] 
Enviado el: lunes, 05 de noviembre de 2012 14:45
Para: Roberto Garrido
CC: vtkusers at vtk.org
Asunto: Re: [vtkusers] How to use font types different from Arial, Courier
and Times

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