>
> I'm attaching a little test program that you should run on 8x13.bdf
> and 8x13.pcf.  Please notice the (x, y) couple printed for every
> glyph, which are, respectively,
>
>   face->glyph->metrics.horiBearingX and
>   face->glyph->metrics.horiBearingY.
>
> The 8x13 font has a bounding box of (0, -2) through (8, 11).  Thus, I
> believe that the correct values should be (0, 704).  However, I'm
> getting
>
>   (0, -128) for the BDF version; and
>   (512, 704) for PCF version.
>
> Can anyone confirm this bug, or tell me what I'm doing wrong?

I can confirm that.

PCF: It is a typo in pcfdriver.c which uses `rightSideBearing' instead
of `leftSideBearing'.

BDF: The bitmap's height was missing in horiBearingY.

I've fixed that in the CVS.  Thanks for the report.


    Werner
_______________________________________________
Fonts mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/fonts

Reply via email to