<br><br><div class="gmail_quote">2011/7/21 Bernard Massot <span dir="ltr"><<a href="mailto:bmassot@free.fr">bmassot@free.fr</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On Sat, Jul 16, 2011 at 08:37:01PM +0200, Bernard Massot wrote:<br>
> And in the metrics window I can obtain the substitution of u093F with<br>
> glyph206 by enabling a feature whose name is... empty!<br>
</div>I think I understood that one. In the .sfd file, lookup "Single<br>
Substitution in Devanagari lookup 80" is associated with script/language<br>
couples but these couples don't come with a feature.<br>
In TrueType format you can't associate a script/language couple directly<br>
with a lookup. You have to associate it with features. So what FF does<br>
to build a legal .ttf file with this awkward lookup definition is<br>
creating a feature with an empty name (actually name is "    " - 4<br>
spaces - since TT feature names have to be exactly 4 characters long).<br>
I'm not sure whether this behavior should be considered a bug or a<br>
feature.<br>
<br>
I believe this lookup should be rebuilt without any associated<br>
script/language couple in the .sfd file, just as other Lohit Devanagari<br>
Single Substitution lookups.<br></blockquote><div><br>Few Single Substitution lookups get processed only when certain conditions satisfied in associated tagged Contextual chaining substitution lookup, that why it does not required any tag, script, thing in it else it will directly get triggered by Rendering engine.<br>
<br>Can you provide patch for particular point you are mentioning? will be easier to identify.<br><br>Thanks,<br>Pravin S<br><br></div></div>