Changing default font

New to FreeBASIC? Post your questions here.
Post Reply
Milivoj
Posts: 16
Joined: Dec 14, 2006 11:39

Changing default font

Post by Milivoj »

Has anyone ever tried to change the default font which fbc compiler uses with SCREEN and SCREENRES commands? I don't mean seting your own font to be used with DRAW STRING, but rather the one with PRINT, INPUT etc.

Best regards, Milivoj
marcov
Posts: 3455
Joined: Jun 16, 2005 9:45
Location: Netherlands
Contact:

Re: Changing default font

Post by marcov »

Milivoj wrote:Has anyone ever tried to change the default font which fbc compiler uses with SCREEN and SCREENRES commands? I don't mean seting your own font to be used with DRAW STRING, but rather the one with PRINT, INPUT etc.
I assume it simply copies the VGA font?
DrV
Site Admin
Posts: 2116
Joined: May 27, 2005 18:39
Location: Midwestern USA
Contact:

Post by DrV »

The default fonts used by the graphics library are the standard VGA fonts indeed; they are stored in src/gfxlib2/data/*.fnt and compressed and included in the gfxlib when it is compiled.
Post Reply