[ft-devel] patch requested for freetype2/internal header usage
(using font_bbox)
Chia-I Wu
b90201047 at ntu.edu.tw
Tue Jan 24 23:22:59 PST 2006
Hi,
This is not related to the discussion but related to freetype internal.
On Mon, Jan 23, 2006 at 11:20:41AM +0100, david turner wrote:
> src/type1/t1objs.c (403):
> root->bbox.xMin = type1->font_bbox.xMin >> 16;
> root->bbox.yMin = type1->font_bbox.yMin >> 16;
> root->bbox.xMax = ( type1->font_bbox.xMax + 0xFFFFU ) >> 16;
> root->bbox.yMax = ( type1->font_bbox.yMax + 0xFFFFU ) >> 16;
It looks to me that type1->font_matrix and type1->font_offset should be
applied to type1->font_bbox to get root->bbox, since glyphs are always
transformed by the driver on loading.
--
Regards,
olv
More information about the xorg-modular
mailing list