<p>Hi Behdad,</p>
<p>Will the approach of using DFLT script work with a multi a multiscript font? I.e. if I need to support Arabic (Jawi), Western Cham and Khmer?</p>
<p>And if I need to support reordering and ligatures DFLT will be ok?</p>
<p>Are all OT features supported by DFLT or only some?</p>
<p>Andrew</p>
<div class="gmail_quote">On 10/12/2012 6:42 PM, "Behdad Esfahbod" <<a href="mailto:behdad@behdad.org">behdad@behdad.org</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 12-11-14 08:36 PM, Theppitak Karoonboonyanan wrote:<br>
> On Thu, Nov 15, 2012 at 2:53 AM, Behdad Esfahbod <<a href="mailto:behdad@behdad.org">behdad@behdad.org</a>> wrote:<br>
>> On 12-11-14 01:15 AM, Theppitak Karoonboonyanan wrote:<br>
>>> On Tue, Nov 13, 2012 at 4:45 AM, Behdad Esfahbod <<a href="mailto:behdad@behdad.org">behdad@behdad.org</a>> wrote:<br>
>>>> Ed!<br>
>>>><br>
>>>> There's no way we can fix these without a font! Just send the font first<br>
>>>> already :). Jonathan and I are having yet another HarfBuzz Hackfest week this<br>
>>>> week and like to address the remaining issues for "Tai *" scripts :).<br>
>>><br>
>>> While waiting for Ed, you may try Khottabun font for Lao/Esaan Tham script,<br>
>>> another Tai Tham variation used in Lao and northeastern Thailand:<br>
>>><br>
>>> <a href="http://linux.thai.net/~thep/esaan-scripts/fonts/Khottabun.ttf" target="_blank">http://linux.thai.net/~thep/esaan-scripts/fonts/Khottabun.ttf</a><br>
>>><br>
>>> The font, however, has provided all the reordering rules in GSUB, so that it<br>
>>> can still display on absence of rendering engine preprocessing. It may not be<br>
>>> good for your testing, but you can get some idea of the requirements from it.<br>
>><br>
>> Humm. Then it's not interesting indeed. Even worse, those rules may conflict<br>
>> with the engine processing :|.<br>
><br>
> I know. That's why I said it might not be good for your testing. Just hope to<br>
> provide some sample for comparison using another system without the<br>
> processing.<br>
<br>
Our current recommendation is that if your font does NOT rely on the engine<br>
reordering, it's best to use the DFLT script. In HarfBuzz we use that clue to<br>
decide whether to use the Indic shaper or the generic shaper. In some cases,<br>
using a font designed for the generic shaper with the Indic shaper can produce<br>
inferior results.<br>
<br>
<br>
> And I hope the sample text in the test page could still be some help.<br>
><br>
> One common case that's still missing in the test page, though, is "ᨯᩪᩕᩣ",<br>
> where MEDIAL RA has to be shifted left by two positions.<br>
> The sequence is:<br>
><br>
> U+1A2F TAI THAM LETTER DA<br>
> U+1A6A TAI THAM VOWEL SIGN UU<br>
> U+1A55 TAI THAM CONSONANT SIGN MEDIAL RA<br>
> U+1A63 TAI THAM VOWEL SIGN AA<br>
><br>
> And the rendered sequence should be:<br>
><br>
> U+1A55 TAI THAM CONSONANT SIGN MEDIAL RA<br>
> U+1A2F TAI THAM LETTER DA<br>
> U+1A6A TAI THAM VOWEL SIGN UU<br>
> U+1A63 TAI THAM VOWEL SIGN AA<br>
<br>
Right. This behavior is like the medial Ra in Myanmar, so should be fine when<br>
we implement that.<br>
<br>
<br>
> Regarding the font development, since we want to make progress on other<br>
> parts of the language support, such as input method, adding GSUB is all<br>
> we can do while the rendering engine supports are still lacking.<br>
><br>
> Once HarfBuzz supports it, I'll remove the rules and distribute two<br>
> different versions of the font, one for HarfBuzz, the other for other<br>
> engines.<br>
<br>
Or just ship one that has both a DFLT table, and a non-DFLT table.<br>
<br>
<br>
> Regards,<br>
><br>
<br>
--<br>
behdad<br>
<a href="http://behdad.org/" target="_blank">http://behdad.org/</a><br>
_______________________________________________<br>
HarfBuzz mailing list<br>
<a href="mailto:HarfBuzz@lists.freedesktop.org">HarfBuzz@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/harfbuzz" target="_blank">http://lists.freedesktop.org/mailman/listinfo/harfbuzz</a><br>
</blockquote></div>