Fixed width font for Win/Linux/Mac
BlitzMax Forums/BlitzMax Beginners Area/Fixed width font for Win/Linux/Mac
| ||
Hello! I have a TextArea gadget in my utility. What font shall I use so that all characters have the same height and width for Windows, Linux and Mac? I have tried: Global gFont:TGuiFont = LoadGuiFont("Arial",8) SetGadgetFont view_ram_ascii_text_area,gfont But the width varies on each character. Thanks! Kind regards from, >Marco A.G.Pinto ------------------- |
| ||
there is a special command to use the system monospaced font on each machine:Local Mono:TGuiFont=LookupGuiFont(GUIFONT_MONOSPACED,12) SetGadgetFont view_ram_ascii_text_area, Mono Last edited 2012 |
| ||
Courier should be a font with a fixed width. |
| ||
Thanks |