Sascha Brawer eac7ef89c0 [feaLib] Make nameid parsing more robust
We now correctly handle nameid statements with surrogate pairs and
old-style macOS-encoded names (provided that fonttools supports the
specified encoding).

Resolves https://github.com/fonttools/fonttools/issues/842.
2017-02-14 14:28:10 +01:00

13 lines
627 B
Plaintext

feature size {
parameters 10.0 3 80 139;
# 10.0 - design size, 3 - subfamily identifier, 80 - range start (exclusive, decipoints)
# 139 - range end (inclusive, decipoints)
sizemenuname "Win MinionPro Size Name";
sizemenuname 1 "Mac MinionPro Size Name";
# The specification says: sizemenuname 1 21 0 "Mac MinionPro Size Name";
# which means Macintosh platform, MacOS Thai encoding, English language.
# Since fonttools currently does not support the MacOS Thai encoding,
# we use instead MacOS Roman encoding (0), Swedish language (5) for our test.
sizemenuname 1 0 5 "Mac MinionPro Size Name";
} size;