Posted: 31 Jul 2017, 01:27
I would like 2 things related to fonts in the SDK:
1. Font metrics. This is routines that, for a given font, will tell you the display size (height and width) in pixels of single characters or a character string. So you can work out how long a character string will be, and size a box so the string just fits inside.
2. The ability to change the font. I realise Usine has a default font, but it would at least be useful to have available a monospace font (like courier new), which can be useful for displaying certain types of text.
Thanks,
Simon.
1. Font metrics. This is routines that, for a given font, will tell you the display size (height and width) in pixels of single characters or a character string. So you can work out how long a character string will be, and size a box so the string just fits inside.
2. The ability to change the font. I realise Usine has a default font, but it would at least be useful to have available a monospace font (like courier new), which can be useful for displaying certain types of text.
Thanks,
Simon.