Qbasicnews.com

Full Version: Font attributes
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Is there any way to change font attributes in Freebasic?
Not for the built-in fonts.
You could create an external font file (*.fnt) which is 0's and 1's, and create a sub/func that reads the letter, then finds the appropriate group of 1/0 to PSET onto the screen. You can do it with different colors, too!

But if you want to use a True-Type font (*.ttf) then forgetaboutit. Maybe later...
In FreeBASIC? Well, maybe not with GFXlib, but I DrawTextEx certainly works in windows Smile