Re: render 3 glyphes into the one buffer
Alexei Podtelezhnikov <[email protected]>
| Newsgroups | gmane.comp.fonts.freetype.user |
|---|---|
| Message-ID | <CAJU=AjUyATQE3PvWevBBij_=+0Q5XvVE5MvtY75gjT7Rig2QWA@mail.gmail.com> |
> Question 1: Possible to render glyphs directly into te one big bitmap ? If you are ready to manage the buffer yourselves and carefully track the pen coordinates for proper layout, you might be able to use FT_Outline_Render with FT_RASTER_FLAG_DIRECT and some callback function. https://www.freetype.org/freetype2/docs/reference/ft2-outline_processing.html#ft_outline_render This is what a lot of games use when they do not want to rely on a heavy layout engine like Cairo. Alexei