* Fix broken serif shapes in Italic Cyrillic Small I (#717).

* Make variant selectors for `m` and `u` have more effect on Cyrillic letters.
This commit is contained in:
be5invis 2020-11-08 09:17:09 -08:00
parent 8a1ded959a
commit 4998206c50
8 changed files with 126 additions and 62 deletions

View file

@ -34,6 +34,11 @@ class GlyphStore {
if (!g) throw new Error(`Glyph ${name} doesn't exist.`);
return g;
}
ensureExists(name) {
const g = this.nameForward.get(name);
if (!g) throw new Error(`Glyph ${name} doesn't exist.`);
return name;
}
queryNameOf(g) {
return this.nameBackward.get(g);
}