<br>We sometimes get distortions like in the attached image when we <br>set the justification of fonds to centered. This happens both with<br>scaled and non scaled fonts, but I think only if the font size is less than <br>
15 or something.<br>Here is some example code :<br><br>vtkTextActor* m_textActTop = vtkTextActor::New();<br>.....<br><br>m_textActTop-&gt;SetTextScaleModeToViewport();<br>m_textActTop-&gt;GetTextProperty()-&gt;SetJustificationToCentered();<br>
m_textActTop-&gt;GetTextProperty()-&gt;SetFontSize(12);<br>m_textActTop-&gt;SetNonLinearFontScale(0.1,12);<br>m_textActTop-&gt;GetTextProperty()-&gt;SetFontFamilyToArial();<br><br>Any help would be greatly appreciated.<br>
Oliver<br><br><br>