Change the standard vga font?

General FreeBASIC programming questions.
lassar
Posts: 300
Joined: Jan 17, 2006 1:35
Contact:

Change the standard vga font?

Postby lassar » Sep 28, 2018 1:14

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
Posts: 981
Joined: Jul 25, 2017 17:22
Location: Argentina

Re: Change the standard vga font?

Postby paul doe » Sep 28, 2018 3:29

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

Re: Change the standard vga font?

Postby St_W » Sep 28, 2018 10:29

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: 300
Joined: Jan 17, 2006 1:35
Contact:

Re: Change the standard vga font?

Postby lassar » Sep 28, 2018 15:54

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?

Return to “General”

Who is online

Users browsing this forum: No registered users and 2 guests