<div>Hi, <br>Thanks for your answer.</div>
<div>I&#39;ve uploaded the images there:<br>  vtk5.0.4  :   <a href="http://imageshare.web.id/images/z1t2jtdrbpv7ojvp7k0g.jpg">http://imageshare.web.id/images/z1t2jtdrbpv7ojvp7k0g.jpg</a><br>  vtk5.4.2  :   <a href="http://imageshare.web.id/images/ezy0ff8fbjifnt739qz.jpg">http://imageshare.web.id/images/ezy0ff8fbjifnt739qz.jpg</a></div>

<div>and I will fill a bug report<br>Cheers</div>
<div><br><br>Bill Lorensen a écrit : </div>
<blockquote cite="mid:4db4735c0909281710u7adfc4b0od9c74255e861d718@mail.gmail.com" type="cite"><pre>I&#39;ve resolved the shadow differences. Between vtk5.0 and vtk5.2, the<br>text rendering was changed to use texture maps. There were a few bugs<br>
in the new implementation. I guess there were no regression tests to<br>catch this.<br><br>I also found a bug on the 5.0, 5.2 (and 5.4!) versions of<br>vtkTextProperty. The Shadow offsets were being ignored. In all of VTK,<br>
the SetShadowOffset has never been tested (shame on us!).<br><br>I have not checked in the changes yet since I need to do more testing.<br><br>As for the accent problem, I have not resolved that one yet.<br><br>The images you posted in the older email are no longer available. Can<br>
you repost them?<br><br>I&#39;ll keep you informed on progress.<br><br>BWT, can you file a bug report at <a href="http://www.vtk.org/Bug/view_all_bug_page.php">http://www.vtk.org/Bug/view_all_bug_page.php</a><br><br>Include your small example.<br>
<br>Bill<br><br><br>On Wed, Sep 23, 2009 at 4:35 PM, pof &lt;<a href="mailto:jd379252@gmail.com">jd379252@gmail.com</a>&gt; wrote:<br></pre>
<blockquote type="cite"><pre>Hi vkt&#39;ers<br><br>actually I&#39;ve already submitted almost the same post on 2009/01/11 (see<br><a href="http://www.vtk.org/pipermail/vtkusers/2009-January/098973.html">http://www.vtk.org/pipermail/vtkusers/2009-January/098973.html</a>), same<br>
problem but now<br>with vtk5.4.2 (was vtk5.2.1 in the previous post).<br>I was hoping that this problem would have disappeared in the latest release,<br>unfortunately this is not the case.<br><br>Here is a small description again:<br>
<br>I&#39;am trying to upgrade from vtk5.0.4 to vtk5.4.2 .<br>I end up with two problems when rendering vtkTextActor.<br>Basically :<br>- the shadow property looks rather strange in 5.4.2 (and 5.2.1) compared to<br>5.0.4<br>
- accuentuated characters (é, è...) are no longer displayed in 5.4.2 (and<br>5.2.1)<br><br>Note : all vtk version were compiled with VC++2005 under WinVista, with the<br>same options.<br><br>I can hardly believe that I am the only one that is having this problem,<br>
although I admit this occurs only with non standard characters<br>(accentuated).<br><br>So my question again:<br>- any idea where this behaviour change comes from?<br>- any hint to solve it?<br><br>Thanks in advance<br><br>
-------------------<br><br>Below a small test that reproduce the problem.<br><br>//<br>// test for vtkTextActor<br>//<br>#include &quot;vtkActor.h&quot;<br>#include &quot;vtkRenderer.h&quot;<br>#include &quot;vtkRenderWindow.h&quot;<br>
#include &quot;vtkRenderWindowInteractor.h&quot;<br>#include &quot;vtkCamera.h&quot;<br>#include &quot;vtkTextProperty.h&quot;<br>#include &quot;vtkTextActor.h&quot;<br><br>int main()<br>{<br>  // Create an example text actor.<br>
  vtkTextActor *textActor = vtkTextActor::New();<br><br>textActor-&gt;GetPositionCoordinate()-&gt;SetCoordinateSystemToNormalizedViewport();<br>  textActor-&gt;SetPosition(0.50,0.50);<br>  textActor-&gt;SetInput(&quot;vtk5.0.4\n\nCharacters without accents\n\nCaractères<br>
accentués&quot;);<br>  textActor-&gt;GetTextProperty()-&gt;SetFontSize(40);<br>  textActor-&gt;GetTextProperty()-&gt;SetFontFamilyToArial();<br>  textActor-&gt;GetTextProperty()-&gt;SetJustificationToCentered();<br>  textActor-&gt;GetTextProperty()-&gt;BoldOn();<br>
  textActor-&gt;GetTextProperty()-&gt;ItalicOn();<br>  textActor-&gt;GetTextProperty()-&gt;ShadowOn();<br>  textActor-&gt;GetTextProperty()-&gt;SetColor(1, 0, 0);<br><br>  // Create the graphics structure.<br>  vtkRenderer *ren = vtkRenderer::New();<br>
  vtkRenderWindow *renWin = vtkRenderWindow::New();<br><br>  renWin-&gt;AddRenderer(ren);<br>  renWin-&gt;SetSize(600, 600);<br><br>  vtkRenderWindowInteractor *iren = vtkRenderWindowInteractor::New();<br>  iren-&gt;SetRenderWindow(renWin);<br>
<br>  // Add the actor to the renderer, set the background and size<br>  ren-&gt;AddActor(textActor);<br>  ren-&gt;SetBackground(0.1, 0.2, 0.4);<br>  ren-&gt;ResetCamera();<br>  ren-&gt;GetActiveCamera()-&gt;Zoom(1.0);<br>
  renWin-&gt;Render();<br><br>  // This starts the event loop and as a side effect causes an initial<br>render.<br>  iren-&gt;Start();<br><br>  // Exiting from here, we have to delete all the created instances<br>  textActor-&gt;Delete();<br>
  ren-&gt;Delete();<br>  renWin-&gt;Delete();<br>  iren-&gt;Delete();<br><br>  return 0;<br>}<br><br>_______________________________________________<br>Powered by <a href="http://www.kitware.com">www.kitware.com</a><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></pre></blockquote><pre><br></pre></blockquote><br>