Format of font zip files - converting to an MO "font file"

LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT Series

Moderators: Henry, Mods

Post Reply
whookey
LCD!
Posts: 15
Joined: Fri Feb 15, 2002 4:00 pm
Location: hull, quebec
Contact:

Post by whookey »

I'd like to use the fonts available on the downloads page, and can't use mogd.exe again. I'm hoping to get the format of the data in these zips so I can convert them to files in the format described in the manual.

The zips each contain a file FONT.mgf, and a directory containing files of the form NNN.bmp. I thought each BMP was letter for the ASCII digit NNN, but each file is quite big, 90 bytes for Small Filled for instance. That's too much for a 6x7 font, so I must be wrong. Any help?

Thanks.

(I've got my linux/perl png to MO bmp converter and uploader working, yay!).

Henry
OMNIPRESENT
OMNIPRESENT
Posts: 3014
Joined: Tue Aug 14, 2001 6:00 pm
Contact:

Post by Henry »

Byte 0 = number of characters in the font name
bytes = Font name - Max 20 Characters

byte 21 = Height
byte 22 = Width
byte 23 = Start Character
byte 24 = End Character
Henry J.
President
Matrix Orbital

RayAbram
LCD?
Posts: 1
Joined: Thu May 12, 2005 9:24 pm
Location: new zealand
Contact:

download page

Post by RayAbram »

what is the link to this download page ???

i am looking for the .MGF files in particular... where to download them from ???

Tom
Matrix Orbital
Matrix Orbital
Posts: 1030
Joined: Mon Jul 19, 2004 4:43 pm
Location: Calgary
Contact:

Post by Tom »

Hi Ray,

Thank you for posting.

I got your email, and I have sent you a file full of fonts. All the fonts will have a .mgf file associated with them.

You can also make your own fonts for downloading with mogd.exe . To get mogd.exe to recognize the font, you must use a hex editor, and create the .mgf file. Each character represented is a .bmp created by an appropriate utility (Microsoft Paint...etc). The information required in the .mgf file that needs to be included with the main font file, is as follows:

Byte 0 = number of characters in the font name
bytes = Font name - Max 20 Characters

byte 21 = Height
byte 22 = Width
byte 23 = Start Character
byte 24 = End Character
_________________

Best Regards,

Post Reply