Hey,
At the moment I’m getting getting a scale factor and using GSFont.scaleBy_() to scale to a new UPM, but this does not make changes to font metrics in the same way that the GUI approach does. Is there a way to do this, or will i need to scale the font.ascender etc individually?
many thanks,
Rob
The metrics you refer to are stored in the masters. Have you tried GSFontMaster.scaleBy_()
?
1 Like
Of course… momentary lapse of reason. thanks!
The UI scale function scales the font and than all masters. There was a something about parameters (at least that is what a comment in that functions says 
1 Like