Default Font
BlitzMax Forums/BlitzMax Beginners Area/Default Font| 
 | ||
| What is the name of the default font used with DrawText? I'm loading new fonts but I kind of like the default font and want to use it too. | 
| 
 | ||
| Could you not simply do:- SetImageFont someFont DrawText "Blah",0,0 SetImageFont Null DrawText "De blah",0,20 ? Dabz Last edited 2010 | 
| 
 | ||
| I could if I knew I could do that! | 
| 
 | ||
| or GetImageFont() it helps to glance over the max2d command set. | 
| 
 | ||
| I can't use that to change its size though. | 
| 
 | ||
| right because they are loaded as images. the default font can only be used as the original size. of course, unless you scale them. Last edited 2010 | 
| 
 | ||
| I have found it anyway: BlitzMax\mod\brl.mod\max2d.mod\blitz.fon | 
| 
 | ||
| good luck with it. LOL I hope you know it's not a real font and is not loaded as such. | 
| 
 | ||
| actually I think that the default font is loaded as raw bites and converted into  pixmaps I think the file is "font.bin" it's called blitzfont.bin Last edited 2010 |