freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ft-devel] About the function FT_Outline_Get_BBox to get the circumr


From: Werner LEMBERG
Subject: Re: [ft-devel] About the function FT_Outline_Get_BBox to get the circumrectangle
Date: Sat, 13 Oct 2007 07:34:55 +0200 (CEST)

> I use the function FT_Outline_Get_BBox to get the bound of a
> character, and I got the box left-bottom point (47, -112) and
> right-top point (627, 497). I think it is not the right result.

Which font?  Which glyph?

> and I use other tool to get the character’left-bottom point is (40,
> -175), the right-top point(973, 777).

These values differ by a factor of around 1.55 (except the `47'
vs. 40' where I suspect a typo).  Have you done the right scaling?
BTW, precise bounding box values can be computed with
FT_Glyph_Get_CBox.


    Werner

reply via email to

[Prev in Thread] Current Thread [Next in Thread]