silnrsi / font-shimenkan

Fonts for the Miao script
Other
3 stars 1 forks source link

Give tones representative glyphs #28

Closed mhosken closed 5 years ago

mhosken commented 6 years ago

There is a bug in fontconfig before 2.2.39 (Feb 2018) which means that if a font contains a cmap entry to an empty glyph, that character is not considered part of the character set for that font and a different font will be used to font link in the offending character. Unfortunately, while the latest fontconfig no longer does this, the version of fontconfig in Ubuntu 18.04 is 2.2.6 which has this bug and no workaround.

On this basis, I suggest we create representative glyphs for the tone marks calling them u16F8F.visible and have those in the cmap. Then we write a conversion lookup to convert them to the existing u16F8F and carry on as before.

jvgaultney commented 5 years ago

Glyphs added to font image Now needs the conversion lookup added

mhosken commented 5 years ago

Nothing to see here :) But the cmap now has glyphs with outlines.