fonttools icon indicating copy to clipboard operation
fonttools copied to clipboard

[instancer] OS/2 widthclass should be clamped if user defined axes location is larger than font's maximum value

Open qxliu76 opened this issue 3 years ago • 0 comments

Currently if a font file has a maximum wdth=150, and user wants to pin wdth at 180, fonttools sets OS/2 widthclass to 180: https://github.com/fonttools/fonttools/blob/main/Lib/fontTools/varLib/instancer/init.py#L1250

I would expect the width to be 150. Could this be fixed?

qxliu76 avatar Aug 30 '22 20:08 qxliu76