[HarfBuzz] x_offset and y_offset

Samiullah Khawaja sami.khawaja at gmail.com
Thu Oct 25 15:36:36 PDT 2012


Yes the unicode callback are all set and good. Not sure about the version.
Its the one you released in early september. I think 10 september.

On Fri, Oct 26, 2012 at 2:57 AM, Behdad Esfahbod <behdad at behdad.org> wrote:

> Do you have Unicode callbacks set up properly?  What version are you using?
>
> On 12-10-25 02:44 PM, Samiullah Khawaja wrote:
> > Figured it out, Previously i was confused with the x_offset and y_offset
> > always zero. But then found that it is something that is added after the
> > bearings (Had to get this info by debugging the harfbuzz code all the
> way down
> > to the position formats and x_offset and y_offset calculation).
> >
> > My text rendering is good now. But for some fonts the NSM are not
> detected and
> > their advance is not zero. For example the Traditional Arabic font in
> Windows.
> >
> > Another thing that I have a font that has GDEF table missing (I found
> this
> > after debugging through harfbuzz code), due to this harfbuzz does not do
> > substition, any hints?
> >
> > On Fri, Oct 26, 2012 at 12:47 AM, Behdad Esfahbod <behdad at behdad.org
> > <mailto:behdad at behdad.org>> wrote:
> >
> >
> >
> >     On 12-10-25 12:47 PM, Behdad Esfahbod wrote:
> >     >> > Are these values 16.16 fractional values or 26.6 fractional
> values?
> >     > Depends on what you set in hb_font_set_scale().  Whatever value
> you set
> >     there
> >     > will represent on em-square.  Up to you to interpret what the
> number means.
> >
> >     Though, for hb-ft, they mean 26.6 indeed.
> >
> >     behdad
> >
> >
> >
> >
> > --
> > Samiullah Khawaja
> > Software Engineer
> > email: sami.khawaja at gmail.com <mailto:sami.khawaja at gmail.com>
> > voice: +(92) 0321-4184324
>



-- 
Samiullah Khawaja
Software Engineer
email: sami.khawaja at gmail.com
voice: +(92) 0321-4184324
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/harfbuzz/attachments/20121026/16ef9858/attachment.html>


More information about the HarfBuzz mailing list