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 <[email protected]> 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 [email protected] http://lists.freedesktop.org/mailman/listinfo/harfbuzz
