Hello.

I am using freetype2 to render texts. I am using face->glyph->advance.x to get adavance for moving.
It works for arial.ttf like a charm.
I have tried the same algorithm for mingliu.ttc and here is problem.
For all glyph it returns advance.x = 17 << 6;

I am using LOAD_MONOCHROME, RENDER_MONO on pixelSize = 17.
Maybe it uses embedded bitmaps in mingliu.ttc and therefore returns bad advance.

What should I do to get correct advance for MingLiu.ttc font?


_______________________________________________
Freetype mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/freetype

Reply via email to