If I'm not mistaken, you don't need to specify the script/language. That's part of the OpenType feature itself. In other words, if the feature is requested for a glyph outside the scripts/languages that the feature was specified for, the feature is not applied. Is that correct, Werner?
No, it's not. As an example, consider the `small caps' feature. If you have a word like `kodalli' and you select, say, `English', you get `KODALLI' in small caps. However, if you select `Turkish', you get `KODALLİ' (in small caps, of course) – provided the font in question has support for Turkish. Similarly, there are many, many CJK glyphs that have the same code points but different glyph representation forms depending on the selected language (or sometimes depending even on the selected region, cf. Taiwan vs. Mainland China). Another example is the behaviour of punctuation; Unicode has separate blocks for them not assigned to a specific script. Depending on the script, different glyph shapes might be used – as a fictional example, a full stop in Devanagari might not be positioned on the baseline but in the middle of the line. In other words, it is sometimes very important to be able to select script and language. https://codereview.appspot.com/328140043/ _______________________________________________ lilypond-devel mailing list lilypond-devel@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-devel