Closed dwarring closed 7 years ago
Some sort of adaptive solution maybe? I've already started adding support for Mac encoding etc. 7363379. There are 32+ unused bytes that could be adaptively remapped.
Bigger issue is we need to support unicode fonts.
The plan is to encode core fonts using single byte encodings. To this end, Font::AFM calculates string-widths for a 0..255 (latin1) subset only.
The core fonts use an ExtendedRoman character set, which goes well past this. Consider:
That's an extra 115 glyphs that fall outside of the latin-1 subset.
Will need a solution in the long term. I'm not sure if there's a nicer solution than moving to Identity-H.