As the left bearing of the glyph is added to the current pen x position as
an offset to render the glyph image. Do we have to add the x_offset instead
of adding the left bearing?

How is x_offset used during the rendering of the glyph.

Thanks.

On Mon, Oct 22, 2012 at 6:07 PM, Grigori Goronzy <[email protected]> wrote:

> 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
> _______________________________________________
> HarfBuzz mailing list
> [email protected]
> http://lists.freedesktop.org/mailman/listinfo/harfbuzz
>



-- 
Samiullah Khawaja
Software Engineer
email: [email protected]
voice: +(92) 0321-4184324
_______________________________________________
HarfBuzz mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/harfbuzz

Reply via email to