[Paraview] Paraview 3.6.1 on Fedora 12 legend labels overdrawn

Berk Geveci berk.geveci at kitware.com
Mon Dec 21 16:21:04 EST 2009


Yes, they use the same code. At the end, freetype is doing the
rendering of text so it may be possible to write a pure OpenGL program
that reproduces the effort but it would probably be not easy.

On Mon, Dec 21, 2009 at 12:11 PM, Andrew Lofthouse
<loftyhauser at gmail.com> wrote:
> On 12/21/2009 09:50 AM, Berk Geveci wrote:
>>
>> Unfortunately, there are a lot classes involved in the rendering of
>> text in VTK. The
>> code that actually renders the text in question is in
>> VTK/Rendering/vtkOpenGLFreeTypeTextMapper.cxx. Look at the
>> RenderOverlay method. Looking at the code, it looks like the main text
>> rendering is done by FTFont, which I am guessing is part of the
>> freetype library.
>>
>
> Do both the legend labels and the cell/point labels use this method?
>
> It looks like the code defines a binding between freetype and GL -- which
> would explain the Mesa part.
>


More information about the ParaView mailing list