[vtkusers] vtkCaptionActor2D text appears chopped
David Lonie
david.lonie at kitware.com
Thu Feb 7 10:57:56 EST 2013
On Thu, Feb 7, 2013 at 10:46 AM, Roberto Garrido <rgarrido at emedica.es>wrote:
> Thanks Dave,****
>
> ** **
>
> We are using Vtk 5.10.0.****
>
> Is there any way to solve it without switching to development branch?
>
Not really, unless you want to patch the VTK sources you're using. It'd be
a lot of effort to backport the new text rendering framework in its
entirety, but changing:
bbox[0] = bbox[2] = VTK_INT_MAX;
to
bbox[0] = bbox[2] = 0;
on line 857 of Rendering/vtkFreeTypeUtilities.cxx in VTK 5.10.0 will
probably fix this particular issue for you.
Hope this helps,
Dave
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20130207/cb30c39f/attachment.htm>
More information about the vtkusers
mailing list