<div>Hi Najzero,</div><div><br></div>Well, I went through the FTGL tutorial. Now the question arises, how to link ftgl with VTK..?? I saw there were few font files in <div> \VTK\Rendering\fonts\ </div><div>folder.. From where will I get such font files and corresponding cxx files? Do I have to write cxx file manually for each font and style?</div>
<div><br></div><div>Thanks</div><div><br></div><div>Regards</div><div>Rakesh Patil<br><br><div class="gmail_quote">On Wed, Mar 28, 2012 at 12:10 PM, Najzero <span dir="ltr"><<a href="mailto:adrian.gabriel@4plus.de">adrian.gabriel@4plus.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Rakesh,<br>
<br>
if I remember correct vtkTextActor uses FTGL to render its fonts<br>
(FTGLPixmapFont to be precise).<br>
<br>
So as long as FTGL can read you should be able to import/create them for<br>
later use in VTK<br>
<br>
<br>
You might want to have a look here:<br>
<a href="http://ftgl.sourceforge.net/docs/html/ftgl-tutorial.html" target="_blank">http://ftgl.sourceforge.net/docs/html/ftgl-tutorial.html</a><br>
aswell as into your \VTK\Rendering\fonts\ folder.<br>
There you can see the presupported fonts in a buffered stream... if you are<br>
interested look into vtkVectorText (from /hybrid/) there its even worse.<br>
<br>
I did not follow the results but maybe you like to have a look at:<br>
<a href="http://www.vtk.org/pipermail/vtk-developers/2010-October/008793.html" target="_blank">http://www.vtk.org/pipermail/vtk-developers/2010-October/008793.html</a> aswell<br>
- maybe ask Markus Hanwell what became out of that.<br>
<br>
--<br>
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/How-to-use-fonts-with-vtkTextActor-tp5599468p5599671.html" target="_blank">http://vtk.1045678.n5.nabble.com/How-to-use-fonts-with-vtkTextActor-tp5599468p5599671.html</a><br>
Sent from the VTK - Users mailing list archive at Nabble.com.<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
</blockquote></div><br></div>