On 07/13/2012 06:45 AM, Samiullah Khawaja wrote: > Hi, > > Any help in this regard?
No. You can try to reproduce it using the hb-view tool and the same font. If that works, then the bug is in your code. If the bug exists with hb-view too, it's either a font bug, or an hb-ft glue-layer hinting / rounding issue. behdad > Thanks, > Sami > > On Fri, Jul 13, 2012 at 1:00 AM, Samiullah Khawaja <[email protected] > <mailto:[email protected]>> wrote: > > Hi, > > glyphPos[count].x_offset and y_offset is always 0 in my case for all > glyphs, I debugged through the harfbuzz code found that the GPOS is not > getting applied on the positions in any glyph. > > Regards, > Sami > > > On Fri, Jul 13, 2012 at 12:17 AM, Behdad Esfahbod <[email protected] > <mailto:[email protected]>> wrote: > > On 07/12/2012 05:06 AM, Samiullah Khawaja wrote: > > > > // render glyph at dst_x + glyph_bitmap->left > > renderGlyph(ft_glyph, dst_x + glyph_bitmap->left); > > You should also add glyphPos[count].x_offset here. > And you seem to totally ignore vertical positioning. > > behdad > > > > > -- > Samiullah Khawaja > Software Engineer > email: [email protected] <mailto:[email protected]> > voice: +(92) 0321-4184324 <tel:%2B%2892%29%200321-4184324> > > > > > -- > Samiullah Khawaja > Software Engineer > email: [email protected] <mailto:[email protected]> > voice: +(92) 0321-4184324 _______________________________________________ HarfBuzz mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/harfbuzz
