Thank you so much for the detail testing. It proves my result is wrong. Hope I dig the reason out soon.
^ ^ Scott Date: Wed, 18 Sep 2013 09:14:21 +0100 From: [email protected] To: [email protected] CC: [email protected] Subject: Re: [HarfBuzz] I wonder why glyph 'uni0647' is not substituted with the one at 0xFEE9('uni06BE.fina') in Tahoma font 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 [email protected] 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.
_______________________________________________ HarfBuzz mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/harfbuzz
