kohler / lcdf-typetools

Utilities for manipulating OpenType, PostScript Type 1, and Multiple Master fonts.
GNU General Public License v2.0
143 stars 17 forks source link

Glyph not dumped if mapping is duplicate #6

Closed gilbahat closed 9 years ago

gilbahat commented 9 years ago

Hi,

I have a font which has a single glyph mapped into more than one code point (attaching screenshot from fontbook). when dumping the glyphs from the font via otfinfo -u , the second mapping does not appear. as the font is commercial, I unfortunately cannot provide the sample. see screenshot.

Gils-MacBook-Pro:OpenType gilbahat$ otfinfo -u Whitney-Medium-ProGkCy.otf | grep 162 uni0162 424 Tcommaaccent uni0423 162 uni0423 Gils-MacBook-Pro:OpenType gilbahat$ otfinfo -u Whitney-Medium-ProGkCy.otf | grep 21A Gils-MacBook-Pro:OpenType gilbahat$

the expected behaviour is to see uni021A 424 Tcommaaccent as well in the output.

Gil

screen shot 2015-04-15 at 9 30 53 pm

kohler commented 9 years ago

Hi, it's impossible for me to solve this problem without the font. You may send it to me at ekohler@gmail.com, I will use it only for debugging purposes.

kohler commented 9 years ago

I think this is fixed. Thanks for reporting it!