[vtkusers] vtkTextActor/vtkTextProperty baseline alignment?

Sean McBride sean at rogue-research.com
Thu Apr 3 16:22:29 EDT 2014


Hi all,

If I create a vtkTextActor then tell its vtkTextProperty to:

SetVerticalJustificationToBottom()
SetValue(10.0, 10.0)

should I expect alignment relative to the font's baseline?  I'm finding that as the string changes to include/exclude character with descenders (like 'p') that the text bounces up and down.  Is that expected or a bug?  Either way, how can I get alignment on the baseline?

Thanks,

-- 
____________________________________________________________
Sean McBride, B. Eng                 sean at rogue-research.com
Rogue Research                        www.rogue-research.com 
Mac Software Developer              Montréal, Québec, Canada




More information about the vtkusers mailing list