[vtkusers] vtkCaptionActor2D mangles fonts

Paul massivemonkeymayhem at gmail.com
Thu Jul 30 10:20:45 EDT 2009

On further inspection, the issue seems to be entirely with the drop
shadow. It isn't offseting properly, and parts of it seem to be
coloured white (even though the text is white). Perhaps the coordinate
system is confusing it? I'm using vtk-5.2.1.


On Thu, Jul 30, 2009 at 11:37 AM, Paul<massivemonkeymayhem at gmail.com> wrote:
> I'm trying to insert captions for objects in my scene.
> I've been trying to use vtkCaptionActor2D, however the text is
> "blurry", the drop shadow doesn't show up very well, and the result is
> just generally hard to read even with larger font sizes as compared to
> vtkTextMapper results, which are nice and crisp. It appears as though
> there is some aliasing going on. Any suggestions?
> label_actor = vtk.vtkCaptionActor2D()
> label_actor.BorderOff()
> label_actor.GetTextActor().SetTextScaleModeToNone()
> label_actor.SetCaption('Some text')
> label_actor.ShadowOn()
> label_actor.SetAttachmentPoint(2.0, 2.0, 2.0)
> Paul

More information about the vtkusers mailing list