fonttools
fonttools copied to clipboard
[instancer] OS/2 widthclass should be clamped if user defined axes location is larger than font's maximum value
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?