Behdad, 

Can you confirm my understanding is that in HB:

1. For the script tags, one must use the ISO-style ("high level") script tags 
to get script-specific shaping. You once told me the trick that using OT-style 
("low-level") script tags would disable the script-specific shaper but still 
execute the OT features blindly. 

2. For the language tags, one should use high-level ISO-style language tags, 
while the low-level OT languagesystem tags "might" work, but it's not 
recommended to use them. 

So overall, one should use the ISO-style codes. 

A.

Sent from my mobile phone.

> On 06.05.2015, at 22:40, Behdad Esfahbod <[email protected]> wrote:
> 
>> On 15-05-06 08:08 AM, Richard Wordingham wrote:
>> It should just be hb_buffer_set_language(buffer,
>>                                         hb_tag_from_string(LANG));
>> 
>> where lang is one of the following four-character strings:
>> 
>> "JAN " for Japanese
>> "KOR " for Korean
>> "ZHH " for Hong Kong
>> "ZHS " for Simplified Chinese
>> "ZHT " for Traditional Chinese
> 
> This might work, but preferred way is:
> 
> "ja" for Japanese
> "ko" for Korean
> "zh-hk" for Hong Kong
> "zh-hans" or "zh-cn" for Simplified Chinese
> "zh-hant" or "zh-tw" for Traditional Chinese
> 
> b
> _______________________________________________
> HarfBuzz mailing list
> [email protected]
> http://lists.freedesktop.org/mailman/listinfo/harfbuzz
_______________________________________________
HarfBuzz mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/harfbuzz

Reply via email to