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 <[email protected]> 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: [email protected] voice: +(92) 0321-4184324
_______________________________________________ HarfBuzz mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/harfbuzz
