<div dir="ltr">Hello Bill,<br><br>Ah that's clever, I never thought about this solution ! And we're already using an external font in order to render properly foreigner characters<br>Now I just need to find an outlined font that can handle Chinese, Cyrillic and Arabic character properly (gasp)<br><br>Anyway, thanks for your answer<br><br>Simon<div class="gmail_extra"><br><div class="gmail_quote">2017-08-23 22:07 GMT+02:00 Bill Lorensen <span dir="ltr"><<a href="mailto:bill.lorensen@gmail.com" target="_blank">bill.lorensen@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">There are no outlined fonts supplied with vtk, but there are many<br>
available on the web. For example:<br>
<a href="http://www.1001freefonts.com/outline-fonts.php" rel="noreferrer" target="_blank">http://www.1001freefonts.com/o<wbr>utline-fonts.php</a><br>
<br>
You can load a font into VTK form a ttf. See this example:<br>
<a href="https://lorensen.github.io/VTKExamples/site/Cxx/Visualization/FontFile/" rel="noreferrer" target="_blank">https://lorensen.github.io/VTK<wbr>Examples/site/Cxx/Visualizatio<wbr>n/FontFile/</a><br>
<br>
Bill<br>
<div class="m_-8726578904725016782m_-6422621187827179102HOEnZb"><div class="m_-8726578904725016782m_-6422621187827179102h5"><br>
On Wed, Aug 23, 2017 at 9:37 AM, Allie Vacanti<br>
<<a href="mailto:allison.vacanti@kitware.com" target="_blank">allison.vacanti@kitware.com</a>> wrote:<br>
> Outlined text is not available in VTK. You may want to play with the<br>
> background color/opacity settings and maybe a drop shadow (see<br>
> vtkTextProperties) to increase visibility on noisy backgrounds.<br>
><br>
> HTH,<br>
> Allie<br>
><br>
> On Wed, Aug 23, 2017 at 5:25 AM, Simon Esneault<br>
> <<a href="mailto:simon.esneault@gmail.com" target="_blank">simon.esneault@gmail.com</a>> wrote:<br>
>> Hello community,<br>
>><br>
>> Does anyone know a way to display an outlined text with VTK ?<br>
>> In order to get a result like this :<br>
>> <a href="https://i.stack.imgur.com/BdGB7.png" rel="noreferrer" target="_blank">https://i.stack.imgur.com/BdGB<wbr>7.png</a><br>
>><br>
>> We use a lot of text actor to display information on top of CT scan images,<br>
>> and sometimes it's hard to find a proper text color that makes the text very<br>
>> readable on top of an images with high intensity changes.<br>
>> An outlined text could be a good solution to display a clear text, whatever<br>
>> the underlying image is (like VLC does with subtitles ^^)<br>
>><br>
>> Any idea ?<br>
>><br>
>> Thanks<br>
>><br>
>> Simon<br>
>><br>
>> --<br>
>> ------------------------------<wbr>------------------------------<wbr>------<br>
>> Simon Esneault<br>
>> Rennes, France<br>
>> ------------------------------<wbr>------------------------------<wbr>------<br>
>><br>
>> ______________________________<wbr>_________________<br>
>> Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
>><br>
>> Visit other Kitware open-source projects at<br>
>> <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensou<wbr>rce/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" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK_FA<wbr>Q</a><br>
>><br>
>> Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>vtkusers</a><br>
>><br>
>> Follow this link to subscribe/unsubscribe:<br>
>> <a href="http://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">http://public.kitware.com/mail<wbr>man/listinfo/vtkusers</a><br>
>><br>
> ______________________________<wbr>_________________<br>
> Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
><br>
> Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensou<wbr>rce/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" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK_FA<wbr>Q</a><br>
><br>
> Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>vtkusers</a><br>
><br>
> Follow this link to subscribe/unsubscribe:<br>
> <a href="http://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">http://public.kitware.com/mail<wbr>man/listinfo/vtkusers</a><br>
<br>
<br>
<br>
</div></div><span class="m_-8726578904725016782m_-6422621187827179102HOEnZb"><font color="#888888">--<br>
Unpaid intern in BillsBasement at noware dot com<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="m_-8726578904725016782m_-6422621187827179102gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>------------------------------<wbr>------------------------------<wbr>------<br>Simon Esneault<div>Rennes, France<br>------------------------------<wbr>------------------------------<wbr>------</div></div></div></div>
</div></div>