[HarfBuzz] x_offset and y_offset

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


Ok I will try it.

And any comments about the non-zero advance for Non spacing markers with
the Traditional Arabic Font that comes with Windows? I think I also noticed
the same behavior in nafees nastaleeq font developed at CRULP for URDU.

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

> On 12-10-25 03:36 PM, Samiullah Khawaja wrote:
> > 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.
>
> Then I need to see the font and text to be of any help.  Do try with 0.9.5
> that I released a few days ago if you can.
>
> behdad
>
>
> > On Fri, Oct 26, 2012 at 2:57 AM, Behdad Esfahbod <behdad at behdad.org
> > <mailto: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>
> >     > <mailto: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>
> >     <mailto:sami.khawaja at gmail.com <mailto:sami.khawaja at gmail.com>>
> >     > voice: +(92) 0321-4184324 <tel:%2B%2892%29%200321-4184324>
> >
> >
> >
> >
> > --
> > 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/5534c20d/attachment.html>


More information about the HarfBuzz mailing list