On 07/11/2012 12:10 PM, Samiullah Khawaja wrote:
> Hi,
> 
> I am trying to render Arabic text using harfbuzz. The problem is that when i
> glue the glyphs using the x_advance most of the glyphs are glued correctly.
> but in some cases there is 1 or 2 pixel distance between glyphs.
> 
> I debugged through the harfbuzz code and was able to confirm that the GPOS
> table is present in the font face. But the GPOS data doesn't seem to be
> applied to the buffer. That is why when i get glyph positions only x_advance
> values are there but the x_offset and y_offset values are always 0.
> 
> Am I missing something here? Please help.

Easiest if you post sample code and output.  I don't think anyone can help you
based on the description of the problem.

behdad

> Thanks,
> Sami
> 
> On Thu, Jul 5, 2012 at 7:43 PM, Samiullah Khawaja <[email protected]
> <mailto:[email protected]>> wrote:
> 
>     Thanks guys.
> 
>     I am trying to link ICU with harfbuzz... will update you guys with it.
> 
>     Regards,
>     Sami
> 
> 
>     On Thu, Jul 5, 2012 at 7:37 PM, Behdad Esfahbod <[email protected]
>     <mailto:[email protected]>> wrote:
> 
>         On 07/05/2012 08:51 AM, Tom Hacohen wrote:
>         > As for the unicode functions: I think they are used in harfbuzz 
> only for
>         > script detection, wide-characters and mirrored characters (probably
>         more),
> 
>         More. Fallback mark positioning, cluster formation, normalization.  If
>         you are
>         willing to give those all up, well, you may as well not use HarfBuzz
>         to begin
>         with :).   Not exactly that, but close.
> 
>         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

Reply via email to