[HarfBuzz] List of languages supported by harfbuzz
Behdad Esfahbod
behdad at behdad.org
Fri Jul 13 05:52:55 PDT 2012
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 <sami.khawaja at gmail.com
> <mailto:sami.khawaja at gmail.com>> 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 <behdad at behdad.org
> <mailto:behdad at behdad.org>> 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: 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
More information about the HarfBuzz
mailing list