[HarfBuzz] List of languages supported by harfbuzz
Samiullah Khawaja
sami.khawaja at gmail.com
Fri Jul 13 09:14:58 PDT 2012
Ok I will try the hb-view tool.
I also tried the following example suggested by you in a different thread,
but it gives the same results. There are no x_offset and y_offset values in
positions. This example has a font lateef.ttf.
https://github.com/anoek/ex-sdl-cairo-freetype-harfbuzz
Regards,
Sami
On Fri, Jul 13, 2012 at 5:52 PM, Behdad Esfahbod <behdad at behdad.org> wrote:
> 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
>
--
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/20120713/9ab3b820/attachment.html>
More information about the HarfBuzz
mailing list