[HarfBuzz] Questions regarding hb_language_t

Roozbeh Pournader roozbeh at google.com
Sun Dec 15 15:33:06 PST 2013


Re your Arabic example, try Arabic vs Urdu.


On Sun, Dec 15, 2013 at 3:21 PM, Ariel Malka <ariel at chronotext.org> wrote:

> Thank you Khaled and Behdad, the examples are demonstrating the point
> clearly.
>
> I created a new mini-project for testing "language-specific features":
> http://goo.gl/oI2j5X
>
> As you can see in the screenshot, success is only partial:
>
> 1. Russian vs Serbian: only the first letter is different
> Text: бгдпт
> Script: HB_SCRIPT_CYRILLIC
> Left lang: ru; Right lang: sr
>
> 2. English vs Romanian: works as intended
> Text: şţ
> Script: HB_SCRIPT_LATIN
> Left lang: en; Right lang: ro
>
> 3. Arabic vs Sindhi: no differences
> Text: ههه ۴۵۶۷
> Script: HB_SCRIPT_ARABIC
> Left lang: ar; Right lang: sd (also tried "snd")
>
> Should I activate some "special features" beyond hb_script_t and
> hb_language_t?
>
> Thanks,
> Ariel
>
>
>
> On Sun, Dec 15, 2013 at 8:39 PM, Behdad Esfahbod <behdad at behdad.org>wrote:
>
>> On 13-12-15 10:02 AM, Khaled Hosny wrote:
>> >> The first question I'm asking is therefore: what is the purpose
>> >> > of hb_buffer_set_language()?
>> >> > Or in other words: is there a combination which require both the
>> language
>> >> > and script values to be defined?
>> > Many fonts have language-specific features, for example:
>> > https://bugs.webkit.org/show_bug.cgi?id=37984
>>
>> See for example:
>>
>>   http://en.wikipedia.org/wiki/Pango
>>
>>   http://scripts.sil.org/cms/scripts/page.php?item_id=Scheherazade
>>
>> --
>> behdad
>> http://behdad.org/
>>
>
>
> _______________________________________________
> HarfBuzz mailing list
> HarfBuzz at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/harfbuzz
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/harfbuzz/attachments/20131215/97f8cf99/attachment.html>


More information about the HarfBuzz mailing list