<HTML>
<HEAD>
<TITLE>Re: [vtkusers] Missing TestQtLabelStrategy test ( was Re: vtkLabelPlacer - Turkish Characters)</TITLE>
</HEAD>
<BODY>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>This should be on now. &nbsp;If it isn&#8217;t it was reverted, or my check-in didn&#8217;t go through....<BR>
<BR>
Jason<BR>
<BR>
<BR>
On 11/17/09 6:53 AM, &quot;Jeff Baumes&quot; &lt;<a href="jeff.baumes@kitware.com">jeff.baumes@kitware.com</a>&gt; wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Jason Shepherd has worked on this test. I believe the issue was that<BR>
since Qt uses the underlying system fonts, each one would look a bit<BR>
differently on each system. He has integrated a workaround for this<BR>
where we tell Qt to load a specific font file, but I'm not sure<BR>
whether it was ever quite completed.<BR>
<BR>
Jeff<BR>
<BR>
2009/11/16 Mathieu Malaterre &lt;<a href="mathieu.malaterre@gmail.com">mathieu.malaterre@gmail.com</a>&gt;:<BR>
&gt; Jeff, it looks like the test TestQtLabelStrategy has never been<BR>
&gt; activated. Is there any reason why ?<BR>
&gt;<BR>
&gt; Thanks,<BR>
&gt;<BR>
&gt; 2009/10/6 Jeff Baumes &lt;<a href="jeff.baumes@kitware.com">jeff.baumes@kitware.com</a>&gt;:<BR>
&gt;&gt; First, you will need to build VTK with VTK_USE_QT on. You can use<BR>
&gt;&gt; vtkUnicodeStringArray which holds instances of vtkUnicodeString.<BR>
&gt;&gt; vtkUnicodeString has methods for storing strings from UTF-8 and<BR>
&gt;&gt; UTF-16.<BR>
&gt;&gt;<BR>
&gt;&gt; I don't know the version of VTK you are using, but the best approach<BR>
&gt;&gt; is to use the new vtkLabelPlacementMapper which is in the latest<BR>
&gt;&gt; development CVS. Details on how to use it are here:<BR>
&gt;&gt;<BR>
&gt;&gt; <a href="http://www.kitware.com/InfovisWiki/index.php/Labels">http://www.kitware.com/InfovisWiki/index.php/Labels</a><BR>
&gt;&gt;<BR>
&gt;&gt; Alternatively, you may use the vtkQtLabelRenderStrategy directly to<BR>
&gt;&gt; render unicode strings.<BR>
&gt;&gt;<BR>
&gt;&gt; Jeff<BR>
&gt;&gt;<BR>
&gt;&gt; 2009/10/6 Murat Ayd&#305;n &lt;<a href="murat.aydin@netcad.com.tr">murat.aydin@netcad.com.tr</a>&gt;:<BR>
&gt;&gt;&gt; Hi,<BR>
&gt;&gt;&gt;<BR>
&gt;&gt;&gt; How can i display Turkish Characters with vtkLabelPlacer? Is there a way to<BR>
&gt;&gt;&gt; set character encoding ?<BR>
&gt;&gt;&gt;<BR>
&gt;&gt;&gt; Kind Regards,<BR>
&gt;&gt;&gt;<BR>
&gt;&gt;&gt; murat aydin<BR>
&gt;&gt;&gt; _______________________________________________<BR>
&gt;&gt;&gt; Powered by www.kitware.com<BR>
&gt;&gt;&gt;<BR>
&gt;&gt;&gt; Visit other Kitware open-source projects at<BR>
&gt;&gt;&gt; <a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><BR>
&gt;&gt;&gt;<BR>
&gt;&gt;&gt; Please keep messages on-topic and check the VTK FAQ at:<BR>
&gt;&gt;&gt; <a href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ</a><BR>
&gt;&gt;&gt;<BR>
&gt;&gt;&gt; Follow this link to subscribe/unsubscribe:<BR>
&gt;&gt;&gt; <a href="http://www.vtk.org/mailman/listinfo/vtkusers">http://www.vtk.org/mailman/listinfo/vtkusers</a><BR>
&gt;&gt;&gt;<BR>
&gt;&gt;&gt;<BR>
&gt;&gt;<BR>
&gt;&gt;<BR>
&gt;&gt;<BR>
&gt;&gt; --<BR>
&gt;&gt; Jeff Baumes, Ph.D.<BR>
&gt;&gt; R&amp;D Engineer, Kitware Inc.<BR>
&gt;&gt; (518) 881-4932<BR>
&gt;&gt; <a href="jeff.baumes@kitware.com">jeff.baumes@kitware.com</a><BR>
&gt;&gt; _______________________________________________<BR>
&gt;&gt; Powered by www.kitware.com<BR>
&gt;&gt;<BR>
&gt;&gt; Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><BR>
&gt;&gt;<BR>
&gt;&gt; Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ</a><BR>
&gt;&gt;<BR>
&gt;&gt; Follow this link to subscribe/unsubscribe:<BR>
&gt;&gt; <a href="http://www.vtk.org/mailman/listinfo/vtkusers">http://www.vtk.org/mailman/listinfo/vtkusers</a><BR>
&gt;&gt;<BR>
&gt;<BR>
&gt;<BR>
&gt;<BR>
&gt; --<BR>
&gt; Mathieu<BR>
&gt;<BR>
_______________________________________________<BR>
Powered by www.kitware.com<BR>
<BR>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html">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">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">http://www.vtk.org/mailman/listinfo/vtkusers</a><BR>
<BR>
</SPAN></FONT></BLOCKQUOTE>
</BODY>
</HTML>