[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Freetype] BDF bitmap bug still present
From: |
Werner LEMBERG |
Subject: |
Re: [Freetype] BDF bitmap bug still present |
Date: |
Fri, 25 Apr 2003 07:22:40 +0200 (CEST) |
> It would appear that the bug I reported with the BDF backend is
> still present in current CVS (as checked-out right now).
>
> The problem is with the face->available_sizes.width being the width
> of the font rather than the pixel size of the font in units of a
> horizontal pixel. This is inconsistent with what is done for sfnt
> embedded bitmaps, or for PCF fonts.
>
> $ ftdump /home/local/XFree86/xc/fonts/bdf/misc/8x13.bdf
> ...
>
> fixed size
> 0: height 13, width 8
>
> This should be height 13, width 13. The relevant reference is the
> ppemX entry in the Bitmap Size subtable of the EBDT table in the
> OpenType spec.
I've fixed this now. Anyway, if the property `PIXEL_SIZE' isn't
available, the PCF and BDF drivers still behave differently. Please
have a look and tell us which behaviour is the right one for you.
Werner
- Re: [Freetype] BDF bitmap bug still present,
Werner LEMBERG <=