lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Add usage of OpenType font feature to the documents (issue 328140043


From: lemzwerg
Subject: Re: Add usage of OpenType font feature to the documents (issue 328140043 by address@hidden)
Date: Tue, 01 Aug 2017 10:36:37 -0700

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/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]