Hi Nicolas,
This is great stuff!
Humm, may I suggest that you write a PangoRenderer implementation around this?
You can then render any language...
behdad
On 09/21/11 06:55, Nicolas Rougier wrote:
>
>
> Hi Folks,
>
> You might be interested in the following code that allow to render freetyp
Thanks for the tips, I'll give it a try. One problem is that glyphs are loaded
on demand and consequently I do not have full control.
The subpixel positionning is made using a shader. I display the glyph at a
given integer coordinate and send along the float component:
If glyph must be displa
I think you can pack the bin better if you start from the largest
size. There is tons of empty space at the bottom that could easily be
filled with small glyphs. Or go bottom-up for more natural fill. In
other words, I bet you can pack more glyphs into 512x512.
I am not sure I understood how you d
Hi Folks,
You might be interested in the following code that allow to render freetype
font using OpenGL with quite good quality (IMHO):
http://code.google.com/p/freetype-gl/
There are examples for "infinite" zoom, subpixel positioning, gamma
correction...
I got most ideas from the antigrai