[vtkusers] How to use fonts with vtkTextActor?

Najzero adrian.gabriel at 4plus.de
Wed Mar 28 02:40:45 EDT 2012


Hi Rakesh,

if I remember correct vtkTextActor uses FTGL to render its fonts
(FTGLPixmapFont to be precise).

So as long as FTGL can read you should be able to import/create them for
later use in VTK


You might want to have a look here:
http://ftgl.sourceforge.net/docs/html/ftgl-tutorial.html
aswell as into your \VTK\Rendering\fonts\ folder.
There you can see the presupported fonts in a buffered stream... if you are
interested look into vtkVectorText (from /hybrid/) there its even worse.

I did not follow the results but maybe you like to have a look at:
http://www.vtk.org/pipermail/vtk-developers/2010-October/008793.html aswell
- maybe ask Markus Hanwell what became out of that.

--
View this message in context: http://vtk.1045678.n5.nabble.com/How-to-use-fonts-with-vtkTextActor-tp5599468p5599671.html
Sent from the VTK - Users mailing list archive at Nabble.com.



More information about the vtkusers mailing list