Fontgen is cool to change the ttf source for glyphs but, could be possible to also change the size? Not for individual glyphs but for the whole font resource.
You should be able to by changing the size in the .font file.
But not in runtime. The issue fontgen was made to correct was to avoid have hundreds of fonts due to different glyphs format and size. Fontgen allows to change the glypgs in runtime, but no the size. Or can it?
The issue fontgen was made to correct was to avoid have hundreds of fonts due to different glyphs format and size.
Yes, and this it at least a first step to solve that. And currently, you set the size in the .font file.
The main gain is that you won’t pregenerate glyphs, and you only load one .ttf at runtime.