<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 17/09/2013 10:42, Su Scott wrote:<br>
</div>
<blockquote cite="mid:BLU173-W41316F2ECAB08D69B2A58FBF270@phx.gbl"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:新細明體
}
--></style>
<div dir="ltr"><font style="" face="Verdana"><font style=""
face="Verdana">I tested </font></font><font style=""
face="Verdana"><font style="" face="Verdana"><i><font style=""
face="Verdana">harfbuzz.ng by a sample </font></i>string:
"همهٔهمهٔ"</font><font style="" face="Verdana"> <br>
</font><font style="" face="Verdana">string =
L"\u0647\u0645\u0647\u0654\u0647\u0645\u0647\u0654"; </font><font
style="" face="Verdana"><br>
</font><font style="" face="Verdana"><br>
</font><font style="" face="Verdana">a sample pic by MS Word
and an output file both in the attachment...</font><font
style="" face="Verdana"><br>
<br>
</font>I wonder why glyph 'uni0647' is not substituted with
the one at 0xFEE9('uni06BE.fina') in Tahoma font</font><font
style="" face="Verdana"><br>
</font><br>
<font style="" face="Verdana">........................................................</font><font
style="" face="Verdana">........................................................</font>
<blockquote><i><font style="" face="Verdana">one mapping record
of shaping table in harfbuzz.ng :</font></i><br>
<i><font style="" face="Verdana">{0xFEEB, 0xFEEC, 0xFEEA,
0xFEE9}, /* U+0647 ARABIC LETTER HEH */</font></i><br>
<br>
<i><font style="" face="Verdana">in GSUB Table :</font></i><br>
<i><font style="" face="Verdana"><Substitution in="uni0647"
out="uni06BE.fina"/> </font></i><br>
</blockquote>
<font style="" face="Verdana">........................................................</font><font
style="" face="Verdana">........................................................</font><br>
<br>
<font style="" face="Verdana">Many Thanks if any clues to fix
it.</font><font style="" face="Verdana"><br>
<br>
</font><font style="" face="Verdana">Scott</font><font style=""
face="Verdana"><br>
</font><font style="" face="Verdana"><br>
</font><font style="" face="Verdana"><br>
</font> </div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
HarfBuzz mailing list
<a class="moz-txt-link-abbreviated" href="mailto:HarfBuzz@lists.freedesktop.org">HarfBuzz@lists.freedesktop.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freedesktop.org/mailman/listinfo/harfbuzz">http://lists.freedesktop.org/mailman/listinfo/harfbuzz</a>
</pre>
</blockquote>
<br>
Hello Scott<br>
<br>
Using my personal build of HarfBuzz [HB_VERSION_STRING "0.9.16"]<br>
<br>
--- built as a .lib with Visual Studio 2008<br>
[I have not compiled it with ICU support] <br>
<br>
--- running under Windows 7 Ultimate 64-bit <br>
--- tahoma.ttf version 3.011 (as reported by FontLab Studio) <br>
<br>
I ran your sample string through HarfBuzz and saw the following
list of glyphs <br>
returned by Harfbuzz with names as reported using FreeType's
FT_Get_Glyph_Name(...) function<br>
<br>
uni0654<br>
uni0647.fina<br>
uni0645.medi<br>
uni06BE.fina<br>
uni0654<br>
uni06BE.fina<br>
uni0645.medi<br>
uni06BE<br>
<br>
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. <br>
<br>
Best<br>
Graham<br>
<br>
NB: Just for completeness, I'm using/testing HarfBuzz with Lua as an
add-in for LuaTeX.<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
</body>
</html>