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
<[email protected]> 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.
>
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview

Reply via email to