Open m4rc1e opened 2 years ago
well, we do support multiple unicode codepoints associated with the same glyph
we just don't build a cmap13 out of it. Merely using the presence of more than one glyph.unicodes
as a marker to determine whether one wants to build cmap13 is not ideal. It feels that cmap13 use is farily specialized for last-resort kind of fonts.
How do you envision implementing this exactly?
ufo2ft
should transparently choose format 13 if that's more compact than other formats.
Just had a quick skim of the codebase and I don't think we support this.
We're releasing a family called Redacted which would really benefit from this format, https://github.com/google/fonts/pull/4004. The font in question simply redacts text by using boxes instead of letters, ▉ ▉ ▉ ▉ ▉ ▉.
https://docs.microsoft.com/en-us/typography/opentype/spec/cmap#format-13-many-to-one-range-mappings
I'll happily submit a pr for this if people think it would be a good addition.