[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Freetype] How to deal with inconsistent fixed pitch?
From: |
Pedriana, Paul |
Subject: |
[Freetype] How to deal with inconsistent fixed pitch? |
Date: |
Thu, 5 Sep 2002 13:07:25 -0700 |
I was
testing the cour.ttf font that comes with Windows and it has
the
FT_FACE_FLAG_FIXED_WIDTH set. However, when I load bitmaps
for this
font, I get a different value for
FT_BitmapGlyph->root.advance.x
with the
space character vs. all other characters. Thus, the face flag
says
the font is fixed width but the character advance widths are
different.
Needless to say, this is a problem.
What is the
proper way of dealing with this? How do I know what the
real advance
width for the font should be? Is this a bug in FreeType
or
is
it a bug in the .ttf file or is it a bug in my expectation that
things
should work sensibly? :)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Freetype] How to deal with inconsistent fixed pitch?,
Pedriana, Paul <=