Hello,

I am happy to announce the release of a new FreeType binding :) 
http://smalltalkhub.com/#!/~ThibaultRaffaillac/UFFIFreeType
I use it to render glyphs with OpenGL, so a few features are still missing 
compared to FT2: gamma-space blitting (should belong to OSWindow?), GlyphForm 
class, and subpixel rendering (patch GlyphSlot>>form).

FT_Library startUp: true.
face := FT_Face fromFile: 'Arial.ttf' index: 0.
glyph := face glyph.
face setPixelWidth: 0 height: 12.
face loadChar: $x asUnicode flags: 4.
image := glyph form.

Cheers,
Thibault

Reply via email to