[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ft] freetype render mingliu.ttc
From: |
Peter Hanzel |
Subject: |
[ft] freetype render mingliu.ttc |
Date: |
Thu, 7 May 2009 14:30:29 +0200 |
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?
- [ft] freetype render mingliu.ttc,
Peter Hanzel <=