Changing default font

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

Changing default font

Postby Milivoj » Oct 15, 2008 11:49

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: 3081
Joined: Jun 16, 2005 9:45
Location: Eindhoven, NL
Contact:

Re: Changing default font

Postby marcov » Oct 15, 2008 11:50

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:

Postby DrV » Oct 15, 2008 20:35

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.

Return to “Beginners”

Who is online

Users browsing this forum: No registered users and 4 guests