[HarfBuzz] x_offset and y_offset

Grigori Goronzy greg at chown.ath.cx
Mon Oct 22 06:07:02 PDT 2012


On 10/22/2012 12:40 PM, Samiullah Khawaja wrote:
> Is x_offset is like the left bearing difference of the glyph in
> "freetype glyph_bitmap->left" and the y_offset is like the top bearing
> of the glyph in "freetype glyph_bitmap->top" (upwards distance from
> baseline)
>

In my understanding, the offsets shouldn't be interpreted like that.
They move the glyph position, but do not influence its metrics or advance.

> Are these values 16.16 fractional values or 26.6 fractional values?
>

The values are in 26.6 format.

Best regards
Grigori



More information about the HarfBuzz mailing list