I almost did that in my fork yeah but we have some folks who vendor or devendor (whichever one means “don’t use our deps and hope it works anyway and send us support tickets when it doesn’t”) juce so I wrote the Perl script
One note. Glyph get width returns a float so the appropriate replacement for get string width is the glyph static plus a cast to int. Especially important if you use auto or use it to create rectangles
I think the answer is: font get width for some fonts and some strings gives a wrong answer and to retain compatability with old code that wrong answer should be retained. That was the argument presented for the font no arg deprecation here Font(FontOptions) constructor gives bigger fonts - #10 by baconpaul which has other chats about that choice
