Change the standard vga font?

General FreeBASIC programming questions.
Post Reply
lassar
Posts: 306
Joined: Jan 17, 2006 1:35

Change the standard vga font?

Post by lassar »

Where is the standard vga font located in the freebasic compiler folder?

Want to change the standard 8x16 font to a custom one.
paul doe
Moderator
Posts: 1733
Joined: Jul 25, 2017 17:22
Location: Argentina

Re: Change the standard vga font?

Post by paul doe »

St_W
Posts: 1626
Joined: Feb 11, 2009 14:24
Location: Austria
Contact:

Re: Change the standard vga font?

Post by St_W »

The internal font data can be found here: https://github.com/freebasic/fbc/tree/m ... b2/gfxdata
However, I think it uses a different data structure than user-supplied fonts, so you cannot use it as-is. I'd also suggest to use the method described in the wiki entry referenced by "paul doe" for generating your custom font file.
lassar
Posts: 306
Joined: Jan 17, 2006 1:35

Re: Change the standard vga font?

Post by lassar »

Already have a custom font vga.f16

This one is almost as good as a proportional font.

My print routines to show vga fonts.

What is the format of fnt08x16.fnt ?

Is there freebasic source code available to convert vga fonts to fnt08x16.fnt?
Post Reply