Hello Billy,<br><br>then, using the knowledge shared by Julien, you might try a quick-and-dirty hack to render that Y letter completely by substituting the label from "Y" to "Y " (with an extra space). Would that work? Didn't try it myself..<br>
<br>Frederic<br><br><div class="gmail_quote">On Thu, Sep 27, 2012 at 3:22 PM, Julien Finet <span dir="ltr"><<a href="mailto:julien.finet@kitware.com" target="_blank">julien.finet@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
What is wrong:<div>The right part of the Y letter is drawn on the left side (-> letter wrap).<br><br>:-)</div><div><br></div><div>Explanation attempt:</div><div>Because the text is in Italic, vtkTextActor fails to pick the correct font size for a given area to draw in. </div>
<div>It wrongly picks a width too narrow, so when it renders the letter as a texture within a (too narrow) area, the texture wraps.</div><div>You might want to investigate within vtkTextActor (especially vtkTextActor::ComputeScaledFont) and aggregated classes.</div>
<div><br></div><div>For information, vtkAxesActor uses vtkCaptionActor2D that internally uses a vtkTextActor with a CaptionTextProperty text property that is bold,italic,arial,with shadows. <br><br>Hth,</div><div>Julien.<br>
<br><div class="gmail_quote">On Tue, Sep 25, 2012 at 4:17 PM, Billy Araujo <span dir="ltr"><<a href="mailto:billyaraujo@gmail.com" target="_blank">billyaraujo@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
What is wrong with y label?<div><br></div><div>Billy.</div><div><br><div><br></div><div><img src="cid:ii_139ff1365fd3f19a" alt="Inline image 1"><br></div></div>
<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>
<br></blockquote></div><br></div>
<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>
<br></blockquote></div><br>