[HarfBuzz] I wonder why glyph 'uni0647' is not substituted with the one at 0xFEE9('uni06BE.fina') in Tahoma font

Graham Douglas graham.douglas at readytext.co.uk
Wed Sep 18 01:14:21 PDT 2013


On 17/09/2013 10:42, Su Scott wrote:
> I tested /harfbuzz.ng by a sample /string: "????????"
> string = L"\u0647\u0645\u0647\u0654\u0647\u0645\u0647\u0654";
>
> a sample pic by MS Word and an output file both in the attachment...
>
> I wonder why glyph 'uni0647' is not substituted with the one at
> 0xFEE9('uni06BE.fina') in Tahoma font
>
> ................................................................................................................
>
>
>     /one mapping record of shaping table in harfbuzz.ng :/
>     /{0xFEEB, 0xFEEC, 0xFEEA, 0xFEE9}, /* U+0647 ARABIC LETTER HEH *//
>
>     /in GSUB Table :/
>     /<Substitution in="uni0647" out="uni06BE.fina"/> /
>
> ................................................................................................................
>
> Many Thanks if any clues to fix it.
>
> Scott
>
>
>
>
> _______________________________________________
> HarfBuzz mailing list
> HarfBuzz at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/harfbuzz

Hello Scott

Using my personal build of HarfBuzz [HB_VERSION_STRING "0.9.16"]

--- built as a .lib with Visual Studio 2008
[I have not compiled it with ICU support]

--- running under Windows 7 Ultimate 64-bit 
--- tahoma.ttf version 3.011 (as reported by FontLab Studio)

I ran your sample string through HarfBuzz and saw  the following list of
glyphs
returned by Harfbuzz  with names as reported using FreeType's
FT_Get_Glyph_Name(...) function

uni0654
uni0647.fina
uni0645.medi
uni06BE.fina
uni0654
uni06BE.fina
uni0645.medi
uni06BE

Just an observation that the glyph uni0654 is classified as a mark but
it has (in the above version of Tahoma) a non-zero width of 512 em-units
--- not zero, like most Arabic mark glyphs.

Best
Graham

NB: Just for completeness, I'm using/testing HarfBuzz with Lua as an
add-in for LuaTeX.







-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/harfbuzz/attachments/20130918/2f6d80b1/attachment.html>


More information about the HarfBuzz mailing list