<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->SetTextScaleModeToViewport();<br>m_textActTop->GetTextProperty()->SetJustificationToCentered();<br>
m_textActTop->GetTextProperty()->SetFontSize(12);<br>m_textActTop->SetNonLinearFontScale(0.1,12);<br>m_textActTop->GetTextProperty()->SetFontFamilyToArial();<br><br>Any help would be greatly appreciated.<br>
Oliver<br><br><br>