<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. If it isn’t it was reverted, or my check-in didn’t go through....<BR>
<BR>
Jason<BR>
<BR>
<BR>
On 11/17/09 6:53 AM, "Jeff Baumes" <<a href="jeff.baumes@kitware.com">jeff.baumes@kitware.com</a>> 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 <<a href="mathieu.malaterre@gmail.com">mathieu.malaterre@gmail.com</a>>:<BR>
> Jeff, it looks like the test TestQtLabelStrategy has never been<BR>
> activated. Is there any reason why ?<BR>
><BR>
> Thanks,<BR>
><BR>
> 2009/10/6 Jeff Baumes <<a href="jeff.baumes@kitware.com">jeff.baumes@kitware.com</a>>:<BR>
>> First, you will need to build VTK with VTK_USE_QT on. You can use<BR>
>> vtkUnicodeStringArray which holds instances of vtkUnicodeString.<BR>
>> vtkUnicodeString has methods for storing strings from UTF-8 and<BR>
>> UTF-16.<BR>
>><BR>
>> I don't know the version of VTK you are using, but the best approach<BR>
>> is to use the new vtkLabelPlacementMapper which is in the latest<BR>
>> development CVS. Details on how to use it are here:<BR>
>><BR>
>> <a href="http://www.kitware.com/InfovisWiki/index.php/Labels">http://www.kitware.com/InfovisWiki/index.php/Labels</a><BR>
>><BR>
>> Alternatively, you may use the vtkQtLabelRenderStrategy directly to<BR>
>> render unicode strings.<BR>
>><BR>
>> Jeff<BR>
>><BR>
>> 2009/10/6 Murat Aydın <<a href="murat.aydin@netcad.com.tr">murat.aydin@netcad.com.tr</a>>:<BR>
>>> Hi,<BR>
>>><BR>
>>> How can i display Turkish Characters with vtkLabelPlacer? Is there a way to<BR>
>>> set character encoding ?<BR>
>>><BR>
>>> Kind Regards,<BR>
>>><BR>
>>> murat aydin<BR>
>>> _______________________________________________<BR>
>>> Powered by www.kitware.com<BR>
>>><BR>
>>> Visit other Kitware open-source projects at<BR>
>>> <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:<BR>
>>> <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>
>>><BR>
>><BR>
>><BR>
>><BR>
>> --<BR>
>> Jeff Baumes, Ph.D.<BR>
>> R&D Engineer, Kitware Inc.<BR>
>> (518) 881-4932<BR>
>> <a href="jeff.baumes@kitware.com">jeff.baumes@kitware.com</a><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>
><BR>
><BR>
><BR>
> --<BR>
> Mathieu<BR>
><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>