This the approach that Cairo uses to work with OpenGL. Cairo is doing very
good job at rendering fonts. Athens wraps Cairo, so maybe if you use Athens
with a modern wrapper of OpenGL for Pharo this will save all the trouble of
doing it from scratch. But I have not tested this in practice so I offer no
promise it will be that easy.
On Fri, 22 Jul 2016 at 15:05, Thibault Raffaillac <
thibault.raffail...@inria.fr> wrote:

> Hello,
>
> As in title, I would like to display text in OpenGL, the "right" way (
> https://en.wikibooks.org/wiki/OpenGL_Programming/Modern_OpenGL_Tutorial_Text_Rendering_01
> ).
> Basically, there is one texture acting as cache for all glyphs actually
> displayed on screen, and we render one quad per glyph, with proper texture
> coordinates.
>
> Is there any such texture atlas implementation yet atop FreeType?
>
> Cheers,
> Thibault Raffaillac
>
>

Reply via email to