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?
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