>> Worse than that. The pixel size must match in both the X and the Y
>> direction. (FreeType and, to a certain extent, X11 support non-square
>> pixels).
P> Hmm so what exactly I can try in this particular case?
Please check the FT_Bitmap_Size structure. It has two components, the
size in the X direction and the size in the Y direction.
You should walk the available_bitmaps array of the FT_Face structure
and make sure that the size you requested is available. I believe
that doing that should be under the responsibility of fontconfig.
There is a lot of confusion about what these dimensions mean, so let
me explain.
With every font is associated an arbitrary dimension known as a quad.
When you request an eight-point instance of a font, you request the
font to be scaled so that one quad is eight points.
A bitmap strike in TTF (and hence in FreeType) is described by the
size of the em in units of one pixel. If pixels are square, that's
well defined. If pixels are non-square, the value depends on whether
you use the width or the height of pixels to measure; hence the two
values in FT's FT_Bitmap_Size.
The thing to know is that a strike designed for square pixels has the
same X- and Y- sizes. The other thing to know is that the BDF driver
in current FreeType releases is buggy in assigning the size 8 by 13 to
the X11 font called ``8x13''.
And I hate Macintosh keyboards.
Juliusz
_______________________________________________
Fonts mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/fonts