Freescale eGUI Fonts
Pixel Font Maker for eGUI is a font converter tool, which helps you conveniently convert any fonts installed in your Windows OS into an eGUI bitmap font, which can be easily integrated into your eGUI based project.
Pixel Font Maker for eGUI can make all the 2 kinds of fonts to be used in eGUI:
- C file (*.c)
- Binary file (*.d4l)
Download the sample fonts
The sample fonts are created with: Font name: Arial, Font style: Regular, Font size: 10 pt.
It includes Standard type fonts: ( rendered as Monochrome 1-bpp)
- Arial16h.c and Arial16h.h
- Arial16h.d4l
Please click the below button to download the sample fonts: sample_fonts_egui.zip
Sample C file
/********************************************************************* * This file is created by Pixel Font Maker for eGUI v2.0 * * PixFonter Technology. * * http://www.pixfonter.net/ * * support@pixfonter.net * * * * File name: Arial16h.c * * Font name: Arial * * Font width: 0 (proportional font) * * Font height: 16 * * * * Create time: 03:18 01-21-2015 * *********************************************************************/ #include "d4d.h" #include "Arial16h.h" const Byte d4dfnt_Arial16h_data_table[] = { /* character 0x0020 (' '): (width = 4, offset = 0x0000(0)) */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* character 0x0021 ('!'): (width = 3, offset = 0x0010(16)) */ 0x00, 0x00, 0x00, 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, 0x00, 0x40, 0x00, 0x00, 0x00, /* character 0x0022 ('"'): (width = 5, offset = 0x0020(32)) */ 0x00, 0x00, 0x00, 0x50, 0x50, 0x50, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* character 0x0023 ('#'): (width = 7, offset = 0x0030(48)) */ 0x00, 0x00, 0x00, 0x12, 0x12, 0x22, 0xFE, 0x24, 0x24, 0xFE, 0x48, 0x48, 0x48, 0x00, 0x00, 0x00, /* character 0x0024 ('$'): (width = 7, offset = 0x0040(64)) */ 0x00, 0x00, 0x00, 0x38, 0x54, 0x50, 0x50, 0x70, 0x1C, 0x14, 0x54, 0x54, 0x38, 0x10, 0x00, 0x00, /* character 0x0025 ('%'): (width = 12, offset = 0x0050(80)) */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0x80, 0x49, 0x00, 0x49, 0x00, 0x4A, 0x00, 0x32, 0x00, 0x04, 0xC0, 0x05, 0x20, 0x09, 0x20, 0x09, 0x20, 0x10, 0xC0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* character 0x0026 ('&'): (width = 9, offset = 0x0070(112)) */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x18, 0x00, 0x24, 0x00, 0x24, 0x00, 0x24, 0x00, 0x18, 0x00, 0x30, 0x00, 0x49, 0x00, 0x45, 0x00, 0x46, 0x00, 0x39, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* character 0x0027 ('''): (width = 2, offset = 0x0090(144)) */ 0x00, 0x00, 0x00, 0x40, 0x40, 0x40, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* character 0x0028 ('('): (width = 4, offset = 0x00A0(160)) */ 0x00, 0x00, 0x00, 0x10, 0x20, 0x20, 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, 0x20, 0x20, 0x10, /* character 0x0029 (')'): (width = 4, offset = 0x00B0(176)) */ 0x00, 0x00, 0x00, 0x80, 0x40, 0x40, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x40, 0x40, 0x80, /* character 0x002A ('*'): (width = 5, offset = 0x00C0(192)) */ 0x00, 0x00, 0x00, 0x20, 0xF8, 0x20, 0x50, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* character 0x002B ('+'): (width = 8, offset = 0x00D0(208)) */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x08, 0x08, 0x7F, 0x08, 0x08, 0x08, 0x00, 0x00, 0x00, 0x00, /* character 0x002C (','): (width = 4, offset = 0x00E0(224)) */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0x20, 0x20, 0x00, /* character 0x002D ('-'): (width = 4, offset = 0x00F0(240)) */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* character 0x002E ('.'): (width = 4, offset = 0x0100(256)) */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0x00, 0x00, 0x00, /* character 0x002F ('/'): (width = 4, offset = 0x0110(272)) */ 0x00, 0x00, 0x00, 0x10, 0x10, 0x20, 0x20, 0x20, 0x40, 0x40, 0x40, 0x80, 0x80, 0x00, 0x00, 0x00, /* character 0x0030 ('0'): (width = 7, offset = 0x0120(288)) */ 0x00, 0x00, 0x00, 0x78, 0x84, 0x84, 0x84, 0x84, 0x84, 0x84, 0x84, 0x84, 0x78, 0x00, 0x00, 0x00, /* character 0x0031 ('1'): (width = 7, offset = 0x0130(304)) */ 0x00, 0x00, 0x00, 0x10, 0x30, 0x50, 0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 0x00, 0x00, 0x00, /* character 0x0032 ('2'): (width = 7, offset = 0x0140(320)) */ 0x00, 0x00, 0x00, 0x78, 0x84, 0x04, 0x04, 0x04, 0x08, 0x10, 0x20, 0x40, 0xFC, 0x00, 0x00, 0x00, /* character 0x0033 ('3'): (width = 7, offset = 0x0150(336)) */ 0x00, 0x00, 0x00, 0x78, 0x84, 0x04, 0x04, 0x38, 0x04, 0x04, 0x04, 0x84, 0x78, 0x00, 0x00, 0x00, /* character 0x0034 ('4'): (width = 7, offset = 0x0160(352)) */ 0x00, 0x00, 0x00, 0x08, 0x18, 0x18, 0x28, 0x28, 0x48, 0x48, 0xFC, 0x08, 0x08, 0x00, 0x00, 0x00, /* character 0x0035 ('5'): (width = 7, offset = 0x0170(368)) */ 0x00, 0x00, 0x00, 0x7C, 0x40, 0x40, 0x80, 0xF8, 0x84, 0x04, 0x04, 0x84, 0x78, 0x00, 0x00, 0x00, /* character 0x0036 ('6'): (width = 7, offset = 0x0180(384)) */ 0x00, 0x00, 0x00, 0x78, 0x84, 0x80, 0x80, 0xB8, 0xC4, 0x84, 0x84, 0x84, 0x78, 0x00, 0x00, 0x00, /* character 0x0037 ('7'): (width = 7, offset = 0x0190(400)) */ 0x00, 0x00, 0x00, 0xFC, 0x08, 0x08, 0x10, 0x10, 0x20, 0x20, 0x40, 0x40, 0x40, 0x00, 0x00, 0x00, /* character 0x0038 ('8'): (width = 7, offset = 0x01A0(416)) */ 0x00, 0x00, 0x00, 0x78, 0x84, 0x84, 0x84, 0x78, 0x84, 0x84, 0x84, 0x84, 0x78, 0x00, 0x00, 0x00, /* character 0x0039 ('9'): (width = 7, offset = 0x01B0(432)) */ 0x00, 0x00, 0x00, 0x78, 0x84, 0x84, 0x84, 0x8C, 0x74, 0x04, 0x04, 0x88, 0x70, 0x00, 0x00, 0x00, /* character 0x003A (':'): (width = 4, offset = 0x01C0(448)) */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0x00, 0x00, 0x00, /* character 0x003B (';'): (width = 4, offset = 0x01D0(464)) */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0x40, 0x40, 0x00, /* character 0x003C ('<'): (width = 8, offset = 0x01E0(480)) */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x0C, 0x30, 0x40, 0x30, 0x0C, 0x02, 0x00, 0x00, 0x00, 0x00, /* character 0x003D ('='): (width = 8, offset = 0x01F0(496)) */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFE, 0x00, 0x00, 0xFE, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* character 0x003E ('>'): (width = 8, offset = 0x0200(512)) */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0x30, 0x0C, 0x02, 0x0C, 0x30, 0x40, 0x00, 0x00, 0x00, 0x00, /* character 0x003F ('?'): (width = 7, offset = 0x0210(528)) */ 0x00, 0x00, 0x00, 0x38, 0x44, 0x44, 0x04, 0x08, 0x10, 0x20, 0x20, 0x00, 0x20, 0x00, 0x00, 0x00, /* character 0x0040 ('@'): (width = 13, offset = 0x0220(544)) */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0F, 0x80, 0x30, 0x40, 0x40, 0x20, 0x4E, 0x90, 0x91, 0x90, 0xA0, 0x90, 0xA1, 0x10, 0xA1, 0x20, 0xA3, 0x20, 0x9D, 0xC0, 0x40, 0x10, 0x20, 0x60, 0x1F, 0x80, /* character 0x0041 ('A'): (width = 12, offset = 0x0240(576)) */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x04, 0x00, 0x0A, 0x00, 0x0A, 0x00, 0x0A, 0x00, 0x11, 0x00, 0x11, 0x00, 0x3F, 0x80, 0x20, 0x80, 0x40, 0x40, 0x40, 0x40, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* character 0x0042 ('B'): (width = 9, offset = 0x0260(608)) */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x7E, 0x00, 0x41, 0x00, 0x41, 0x00, 0x41, 0x00, 0x7E, 0x00, 0x41, 0x00, 0x41, 0x00, 0x41, 0x00, 0x41, 0x00, 0x7E, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* character 0x0043 ('C'): (width = 9, offset = 0x0280(640)) */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x1C, 0x00, 0x22, 0x00, 0x41, 0x00, 0x40, 0x00, 0x40, 0x00, 0x40, 0x00, 0x40, 0x00, 0x41, 0x00, 0x22, 0x00, 0x1C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* character 0x0044 ('D'): (width = 9, offset = 0x02A0(672)) */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x7C, 0x00, 0x42, 0x00, 0x41, 0x00, 0x41, 0x00, 0x41, 0x00, 0x41, 0x00, 0x41, 0x00, 0x41, 0x00, 0x42, 0x00, 0x7C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* character 0x0045 ('E'): (width = 9, offset = 0x02C0(704)) */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x7F, 0x00, 0x40, 0x00, 0x40, 0x00, 0x40, 0x00, 0x7F, 0x00, 0x40, 0x00, 0x40, 0x00, 0x40, 0x00, 0x40, 0x00, 0x7F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* character 0x0046 ('F'): (width = 8, offset = 0x02E0(736)) */ 0x00, 0x00, 0x00, 0x7E, 0x40, 0x40, 0x40, 0x7C, 0x40, 0x40, 0x40, 0x40, 0x40, 0x00, 0x00, 0x00, /* character 0x0047 ('G'): (width = 10, offset = 0x02F0(752)) */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x1E, 0x00, 0x21, 0x00, 0x40, 0x80, 0x40, 0x00, 0x40, 0x00, 0x47, 0x80, 0x40, 0x80, 0x40, 0x80, 0x21, 0x00, 0x1E, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* character 0x0048 ('H'): (width = 9, offset = 0x0310(784)) */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x41, 0x00, 0x41, 0x00, 0x41, 0x00, 0x41, 0x00, 0x7F, 0x00, 0x41, 0x00, 0x41, 0x00, 0x41, 0x00, 0x41, 0x00, 0x41, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* character 0x0049 ('I'): (width = 3, offset = 0x0330(816)) */ 0x00, 0x00, 0x00, 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, 0x00, 0x00, 0x00, /* character 0x004A ('J'): (width = 7, offset = 0x0340(832)) */ 0x00, 0x00, 0x00, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x44, 0x44, 0x38, 0x00, 0x00, 0x00, /* character 0x004B ('K'): (width = 9, offset = 0x0350(848)) */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0x80, 0x41, 0x00, 0x42, 0x00, 0x44, 0x00, 0x48, 0x00, 0x58, 0x00, 0x64, 0x00, 0x42, 0x00, 0x41, 0x00, 0x40, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* character 0x004C ('L'): (width = 7, offset = 0x0370(880)) */ 0x00, 0x00, 0x00, 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, 0x7E, 0x00, 0x00, 0x00, /* character 0x004D ('M'): (width = 11, offset = 0x0380(896)) */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0x40, 0x60, 0xC0, 0x60, 0xC0, 0x51, 0x40, 0x51, 0x40, 0x4A, 0x40, 0x4A, 0x40, 0x4A, 0x40, 0x44, 0x40, 0x44, 0x40, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* character 0x004E ('N'): (width = 9, offset = 0x03A0(928)) */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x41, 0x00, 0x61, 0x00, 0x51, 0x00, 0x51, 0x00, 0x49, 0x00, 0x49, 0x00, 0x45, 0x00, 0x45, 0x00, 0x43, 0x00, 0x41, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* character 0x004F ('O'): (width = 10, offset = 0x03C0(960)) */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x1E, 0x00, 0x21, 0x00, 0x40, 0x80, 0x40, 0x80, 0x40, 0x80, 0x40, 0x80, 0x40, 0x80, 0x40, 0x80, 0x21, 0x00, 0x1E, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* character 0x0050 ('P'): (width = 9, offset = 0x03E0(992)) */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x7E, 0x00, 0x41, 0x00, 0x41, 0x00, 0x41, 0x00, 0x41, 0x00, 0x7E, 0x00, 0x40, 0x00, 0x40, 0x00, 0x40, 0x00, 0x40, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* character 0x0051 ('Q'): (width = 10, offset = 0x0400(1024)) */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x1E, 0x00, 0x21, 0x00, 0x40, 0x80, 0x40, 0x80, 0x40, 0x80, 0x40, 0x80, 0x40, 0x80, 0x46, 0x80, 0x21, 0x00, 0x1E, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* character 0x0052 ('R'): (width = 9, offset = 0x0420(1056)) */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x7E, 0x00, 0x41, 0x00, 0x41, 0x00, 0x41, 0x00, 0x41, 0x00, 0x7E, 0x00, 0x44, 0x00, 0x42, 0x00, 0x42, 0x00, 0x41, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* character 0x0053 ('S'): (width = 9, offset = 0x0440(1088)) */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x3E, 0x00, 0x41, 0x00, 0x41, 0x00, 0x40, 0x00, 0x38, 0x00, 0x06, 0x00, 0x01, 0x00, 0x41, 0x00, 0x41, 0x00, 0x3E, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* character 0x0054 ('T'): (width = 10, offset = 0x0460(1120)) */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x7F, 0x00, 0x08, 0x00, 0x08, 0x00, 0x08, 0x00, 0x08, 0x00, 0x08, 0x00, 0x08, 0x00, 0x08, 0x00, 0x08, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* character 0x0055 ('U'): (width = 9, offset = 0x0480(1152)) */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x41, 0x00, 0x41, 0x00, 0x41, 0x00, 0x41, 0x00, 0x41, 0x00, 0x41, 0x00, 0x41, 0x00, 0x41, 0x00, 0x22, 0x00, 0x1C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* character 0x0056 ('V'): (width = 9, offset = 0x04A0(1184)) */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x80, 0x80, 0x80, 0x41, 0x00, 0x41, 0x00, 0x22, 0x00, 0x22, 0x00, 0x14, 0x00, 0x14, 0x00, 0x08, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* character 0x0057 ('W'): (width = 13, offset = 0x04C0(1216)) */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x82, 0x08, 0x85, 0x08, 0x45, 0x10, 0x45, 0x10, 0x45, 0x10, 0x28, 0xA0, 0x28, 0xA0, 0x28, 0xA0, 0x10, 0x40, 0x10, 0x40, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* character 0x0058 ('X'): (width = 7, offset = 0x04E0(1248)) */ 0x00, 0x00, 0x00, 0x82, 0x44, 0x44, 0x28, 0x10, 0x10, 0x28, 0x44, 0x44, 0x82, 0x00, 0x00, 0x00, /* character 0x0059 ('Y'): (width = 9, offset = 0x04F0(1264)) */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x41, 0x00, 0x22, 0x00, 0x22, 0x00, 0x14, 0x00, 0x14, 0x00, 0x08, 0x00, 0x08, 0x00, 0x08, 0x00, 0x08, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* character 0x005A ('Z'): (width = 7, offset = 0x0510(1296)) */ 0x00, 0x00, 0x00, 0x7E, 0x04, 0x08, 0x08, 0x10, 0x10, 0x20, 0x20, 0x40, 0xFE, 0x00, 0x00, 0x00, /* character 0x005B ('['): (width = 4, offset = 0x0520(1312)) */ 0x00, 0x00, 0x00, 0x60, 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, 0x60, /* character 0x005C ('\'): (width = 5, offset = 0x0530(1328)) */ 0x00, 0x00, 0x00, 0x80, 0x80, 0x40, 0x40, 0x40, 0x20, 0x20, 0x20, 0x10, 0x10, 0x00, 0x00, 0x00, /* character 0x005D (']'): (width = 4, offset = 0x0540(1344)) */ 0x00, 0x00, 0x00, 0x60, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x60, /* character 0x005E ('^'): (width = 5, offset = 0x0550(1360)) */ 0x00, 0x00, 0x00, 0x00, 0x20, 0x50, 0x50, 0x50, 0x88, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* character 0x005F ('_'): (width = 10, offset = 0x0560(1376)) */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x7F, 0x00, /* character 0x0060 ('`'): (width = 4, offset = 0x0580(1408)) */ 0x00, 0x00, 0x00, 0x40, 0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* character 0x0061 ('a'): (width = 7, offset = 0x0590(1424)) */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x44, 0x04, 0x3C, 0x44, 0x4C, 0x34, 0x00, 0x00, 0x00, /* character 0x0062 ('b'): (width = 7, offset = 0x05A0(1440)) */ 0x00, 0x00, 0x00, 0x40, 0x40, 0x40, 0x58, 0x64, 0x44, 0x44, 0x44, 0x44, 0x78, 0x00, 0x00, 0x00, /* character 0x0063 ('c'): (width = 7, offset = 0x05B0(1456)) */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x44, 0x40, 0x40, 0x40, 0x44, 0x38, 0x00, 0x00, 0x00, /* character 0x0064 ('d'): (width = 7, offset = 0x05C0(1472)) */ 0x00, 0x00, 0x00, 0x04, 0x04, 0x04, 0x34, 0x4C, 0x44, 0x44, 0x44, 0x44, 0x3C, 0x00, 0x00, 0x00, /* character 0x0065 ('e'): (width = 7, offset = 0x05D0(1488)) */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x44, 0x44, 0x7C, 0x40, 0x44, 0x38, 0x00, 0x00, 0x00, /* character 0x0066 ('f'): (width = 6, offset = 0x05E0(1504)) */ 0x00, 0x00, 0x00, 0x18, 0x20, 0x20, 0x70, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x00, 0x00, 0x00, /* character 0x0067 ('g'): (width = 7, offset = 0x05F0(1520)) */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x34, 0x4C, 0x44, 0x44, 0x44, 0x4C, 0x34, 0x04, 0x44, 0x38, /* character 0x0068 ('h'): (width = 7, offset = 0x0600(1536)) */ 0x00, 0x00, 0x00, 0x40, 0x40, 0x40, 0x58, 0x64, 0x44, 0x44, 0x44, 0x44, 0x44, 0x00, 0x00, 0x00, /* character 0x0069 ('i'): (width = 3, offset = 0x0610(1552)) */ 0x00, 0x00, 0x00, 0x40, 0x00, 0x00, 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, 0x00, 0x00, 0x00, /* character 0x006A ('j'): (width = 5, offset = 0x0620(1568)) */ 0x00, 0x00, 0x00, 0x20, 0x00, 0x00, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0xC0, /* character 0x006B ('k'): (width = 7, offset = 0x0630(1584)) */ 0x00, 0x00, 0x00, 0x40, 0x40, 0x40, 0x44, 0x48, 0x50, 0x70, 0x48, 0x48, 0x44, 0x00, 0x00, 0x00, /* character 0x006C ('l'): (width = 3, offset = 0x0640(1600)) */ 0x00, 0x00, 0x00, 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, 0x00, 0x00, 0x00, /* character 0x006D ('m'): (width = 11, offset = 0x0650(1616)) */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x59, 0x80, 0x66, 0x40, 0x44, 0x40, 0x44, 0x40, 0x44, 0x40, 0x44, 0x40, 0x44, 0x40, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* character 0x006E ('n'): (width = 7, offset = 0x0670(1648)) */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x58, 0x64, 0x44, 0x44, 0x44, 0x44, 0x44, 0x00, 0x00, 0x00, /* character 0x006F ('o'): (width = 7, offset = 0x0680(1664)) */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x44, 0x44, 0x44, 0x44, 0x44, 0x38, 0x00, 0x00, 0x00, /* character 0x0070 ('p'): (width = 7, offset = 0x0690(1680)) */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x58, 0x64, 0x44, 0x44, 0x44, 0x64, 0x58, 0x40, 0x40, 0x40, /* character 0x0071 ('q'): (width = 7, offset = 0x06A0(1696)) */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x34, 0x4C, 0x44, 0x44, 0x44, 0x4C, 0x34, 0x04, 0x04, 0x04, /* character 0x0072 ('r'): (width = 5, offset = 0x06B0(1712)) */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x50, 0x60, 0x40, 0x40, 0x40, 0x40, 0x40, 0x00, 0x00, 0x00, /* character 0x0073 ('s'): (width = 7, offset = 0x06C0(1728)) */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x44, 0x40, 0x38, 0x04, 0x44, 0x38, 0x00, 0x00, 0x00, /* character 0x0074 ('t'): (width = 4, offset = 0x06D0(1744)) */ 0x00, 0x00, 0x00, 0x00, 0x40, 0x40, 0xE0, 0x40, 0x40, 0x40, 0x40, 0x40, 0x60, 0x00, 0x00, 0x00, /* character 0x0075 ('u'): (width = 7, offset = 0x06E0(1760)) */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x44, 0x44, 0x44, 0x44, 0x44, 0x44, 0x3C, 0x00, 0x00, 0x00, /* character 0x0076 ('v'): (width = 8, offset = 0x06F0(1776)) */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x44, 0x44, 0x28, 0x28, 0x28, 0x10, 0x10, 0x00, 0x00, 0x00, /* character 0x0077 ('w'): (width = 9, offset = 0x0700(1792)) */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x88, 0x80, 0x88, 0x80, 0x55, 0x00, 0x55, 0x00, 0x55, 0x00, 0x22, 0x00, 0x22, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* character 0x0078 ('x'): (width = 7, offset = 0x0720(1824)) */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x44, 0x28, 0x28, 0x10, 0x28, 0x28, 0x44, 0x00, 0x00, 0x00, /* character 0x0079 ('y'): (width = 7, offset = 0x0730(1840)) */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x44, 0x44, 0x28, 0x28, 0x28, 0x10, 0x10, 0x10, 0x10, 0x60, /* character 0x007A ('z'): (width = 7, offset = 0x0740(1856)) */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x7C, 0x08, 0x08, 0x10, 0x20, 0x20, 0x7C, 0x00, 0x00, 0x00, /* character 0x007B ('{'): (width = 4, offset = 0x0750(1872)) */ 0x00, 0x00, 0x00, 0x20, 0x40, 0x40, 0x40, 0x40, 0x40, 0x80, 0x40, 0x40, 0x40, 0x40, 0x40, 0x20, /* character 0x007C ('|'): (width = 3, offset = 0x0760(1888)) */ 0x00, 0x00, 0x00, 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, 0x00, /* character 0x007D ('}'): (width = 4, offset = 0x0770(1904)) */ 0x00, 0x00, 0x00, 0x40, 0x20, 0x20, 0x20, 0x20, 0x20, 0x10, 0x20, 0x20, 0x20, 0x20, 0x20, 0x40, /* character 0x007E ('~'): (width = 8, offset = 0x0780(1920)) */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x72, 0x9E, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; const D4D_FONT_OFFSET d4dfnt_Arial16h_offset_table[] = { /* offset char hexcode */ /* ====== ==== ======= */ 0x0000, /* ' ' 0020 */ 0x0010, /* '!' 0021 */ 0x0020, /* '"' 0022 */ 0x0030, /* '#' 0023 */ 0x0040, /* '$' 0024 */ 0x0050, /* '%' 0025 */ 0x0070, /* '&' 0026 */ 0x0090, /* ''' 0027 */ 0x00A0, /* '(' 0028 */ 0x00B0, /* ')' 0029 */ 0x00C0, /* '*' 002A */ 0x00D0, /* '+' 002B */ 0x00E0, /* ',' 002C */ 0x00F0, /* '-' 002D */ 0x0100, /* '.' 002E */ 0x0110, /* '/' 002F */ 0x0120, /* '0' 0030 */ 0x0130, /* '1' 0031 */ 0x0140, /* '2' 0032 */ 0x0150, /* '3' 0033 */ 0x0160, /* '4' 0034 */ 0x0170, /* '5' 0035 */ 0x0180, /* '6' 0036 */ 0x0190, /* '7' 0037 */ 0x01A0, /* '8' 0038 */ 0x01B0, /* '9' 0039 */ 0x01C0, /* ':' 003A */ 0x01D0, /* ';' 003B */ 0x01E0, /* '<' 003C */ 0x01F0, /* '=' 003D */ 0x0200, /* '>' 003E */ 0x0210, /* '?' 003F */ 0x0220, /* '@' 0040 */ 0x0240, /* 'A' 0041 */ 0x0260, /* 'B' 0042 */ 0x0280, /* 'C' 0043 */ 0x02A0, /* 'D' 0044 */ 0x02C0, /* 'E' 0045 */ 0x02E0, /* 'F' 0046 */ 0x02F0, /* 'G' 0047 */ 0x0310, /* 'H' 0048 */ 0x0330, /* 'I' 0049 */ 0x0340, /* 'J' 004A */ 0x0350, /* 'K' 004B */ 0x0370, /* 'L' 004C */ 0x0380, /* 'M' 004D */ 0x03A0, /* 'N' 004E */ 0x03C0, /* 'O' 004F */ 0x03E0, /* 'P' 0050 */ 0x0400, /* 'Q' 0051 */ 0x0420, /* 'R' 0052 */ 0x0440, /* 'S' 0053 */ 0x0460, /* 'T' 0054 */ 0x0480, /* 'U' 0055 */ 0x04A0, /* 'V' 0056 */ 0x04C0, /* 'W' 0057 */ 0x04E0, /* 'X' 0058 */ 0x04F0, /* 'Y' 0059 */ 0x0510, /* 'Z' 005A */ 0x0520, /* '[' 005B */ 0x0530, /* '\' 005C */ 0x0540, /* ']' 005D */ 0x0550, /* '^' 005E */ 0x0560, /* '_' 005F */ 0x0580, /* '`' 0060 */ 0x0590, /* 'a' 0061 */ 0x05A0, /* 'b' 0062 */ 0x05B0, /* 'c' 0063 */ 0x05C0, /* 'd' 0064 */ 0x05D0, /* 'e' 0065 */ 0x05E0, /* 'f' 0066 */ 0x05F0, /* 'g' 0067 */ 0x0600, /* 'h' 0068 */ 0x0610, /* 'i' 0069 */ 0x0620, /* 'j' 006A */ 0x0630, /* 'k' 006B */ 0x0640, /* 'l' 006C */ 0x0650, /* 'm' 006D */ 0x0670, /* 'n' 006E */ 0x0680, /* 'o' 006F */ 0x0690, /* 'p' 0070 */ 0x06A0, /* 'q' 0071 */ 0x06B0, /* 'r' 0072 */ 0x06C0, /* 's' 0073 */ 0x06D0, /* 't' 0074 */ 0x06E0, /* 'u' 0075 */ 0x06F0, /* 'v' 0076 */ 0x0700, /* 'w' 0077 */ 0x0720, /* 'x' 0078 */ 0x0730, /* 'y' 0079 */ 0x0740, /* 'z' 007A */ 0x0750, /* '{' 007B */ 0x0760, /* '|' 007C */ 0x0770, /* '}' 007D */ 0x0780 /* '~' 007E */ }; const D4D_FONT_IX d4dfnt_Arial16h_index_table[] = { /* hexcode char decimal index */ /* ======= ==== ======= ======= */ 0x0020, /* ' ' 32 0 */ 0x0021, /* '!' 33 1 */ 0x0022, /* '"' 34 2 */ 0x0023, /* '#' 35 3 */ 0x0024, /* '$' 36 4 */ 0x0025, /* '%' 37 5 */ 0x0026, /* '&' 38 6 */ 0x0027, /* ''' 39 7 */ 0x0028, /* '(' 40 8 */ 0x0029, /* ')' 41 9 */ 0x002A, /* '*' 42 10 */ 0x002B, /* '+' 43 11 */ 0x002C, /* ',' 44 12 */ 0x002D, /* '-' 45 13 */ 0x002E, /* '.' 46 14 */ 0x002F, /* '/' 47 15 */ 0x0030, /* '0' 48 16 */ 0x0031, /* '1' 49 17 */ 0x0032, /* '2' 50 18 */ 0x0033, /* '3' 51 19 */ 0x0034, /* '4' 52 20 */ 0x0035, /* '5' 53 21 */ 0x0036, /* '6' 54 22 */ 0x0037, /* '7' 55 23 */ 0x0038, /* '8' 56 24 */ 0x0039, /* '9' 57 25 */ 0x003A, /* ':' 58 26 */ 0x003B, /* ';' 59 27 */ 0x003C, /* '<' 60 28 */ 0x003D, /* '=' 61 29 */ 0x003E, /* '>' 62 30 */ 0x003F, /* '?' 63 31 */ 0x0040, /* '@' 64 32 */ 0x0041, /* 'A' 65 33 */ 0x0042, /* 'B' 66 34 */ 0x0043, /* 'C' 67 35 */ 0x0044, /* 'D' 68 36 */ 0x0045, /* 'E' 69 37 */ 0x0046, /* 'F' 70 38 */ 0x0047, /* 'G' 71 39 */ 0x0048, /* 'H' 72 40 */ 0x0049, /* 'I' 73 41 */ 0x004A, /* 'J' 74 42 */ 0x004B, /* 'K' 75 43 */ 0x004C, /* 'L' 76 44 */ 0x004D, /* 'M' 77 45 */ 0x004E, /* 'N' 78 46 */ 0x004F, /* 'O' 79 47 */ 0x0050, /* 'P' 80 48 */ 0x0051, /* 'Q' 81 49 */ 0x0052, /* 'R' 82 50 */ 0x0053, /* 'S' 83 51 */ 0x0054, /* 'T' 84 52 */ 0x0055, /* 'U' 85 53 */ 0x0056, /* 'V' 86 54 */ 0x0057, /* 'W' 87 55 */ 0x0058, /* 'X' 88 56 */ 0x0059, /* 'Y' 89 57 */ 0x005A, /* 'Z' 90 58 */ 0x005B, /* '[' 91 59 */ 0x005C, /* '\' 92 60 */ 0x005D, /* ']' 93 61 */ 0x005E, /* '^' 94 62 */ 0x005F, /* '_' 95 63 */ 0x0060, /* '`' 96 64 */ 0x0061, /* 'a' 97 65 */ 0x0062, /* 'b' 98 66 */ 0x0063, /* 'c' 99 67 */ 0x0064, /* 'd' 100 68 */ 0x0065, /* 'e' 101 69 */ 0x0066, /* 'f' 102 70 */ 0x0067, /* 'g' 103 71 */ 0x0068, /* 'h' 104 72 */ 0x0069, /* 'i' 105 73 */ 0x006A, /* 'j' 106 74 */ 0x006B, /* 'k' 107 75 */ 0x006C, /* 'l' 108 76 */ 0x006D, /* 'm' 109 77 */ 0x006E, /* 'n' 110 78 */ 0x006F, /* 'o' 111 79 */ 0x0070, /* 'p' 112 80 */ 0x0071, /* 'q' 113 81 */ 0x0072, /* 'r' 114 82 */ 0x0073, /* 's' 115 83 */ 0x0074, /* 't' 116 84 */ 0x0075, /* 'u' 117 85 */ 0x0076, /* 'v' 118 86 */ 0x0077, /* 'w' 119 87 */ 0x0078, /* 'x' 120 88 */ 0x0079, /* 'y' 121 89 */ 0x007A, /* 'z' 122 90 */ 0x007B, /* '{' 123 91 */ 0x007C, /* '|' 124 92 */ 0x007D, /* '}' 125 93 */ 0x007E /* '~' 126 94 */ }; const D4D_FONT_SIZE d4dfnt_Arial16h_width_table[] = { /* width char hexcode */ /* ===== ==== ======= */ 4, /* ' ' 0020 */ 3, /* '!' 0021 */ 5, /* '"' 0022 */ 7, /* '#' 0023 */ 7, /* '$' 0024 */ 12, /* '%' 0025 */ 9, /* '&' 0026 */ 2, /* ''' 0027 */ 4, /* '(' 0028 */ 4, /* ')' 0029 */ 5, /* '*' 002A */ 8, /* '+' 002B */ 4, /* ',' 002C */ 4, /* '-' 002D */ 4, /* '.' 002E */ 4, /* '/' 002F */ 7, /* '0' 0030 */ 7, /* '1' 0031 */ 7, /* '2' 0032 */ 7, /* '3' 0033 */ 7, /* '4' 0034 */ 7, /* '5' 0035 */ 7, /* '6' 0036 */ 7, /* '7' 0037 */ 7, /* '8' 0038 */ 7, /* '9' 0039 */ 4, /* ':' 003A */ 4, /* ';' 003B */ 8, /* '<' 003C */ 8, /* '=' 003D */ 8, /* '>' 003E */ 7, /* '?' 003F */ 13, /* '@' 0040 */ 12, /* 'A' 0041 */ 9, /* 'B' 0042 */ 9, /* 'C' 0043 */ 9, /* 'D' 0044 */ 9, /* 'E' 0045 */ 8, /* 'F' 0046 */ 10, /* 'G' 0047 */ 9, /* 'H' 0048 */ 3, /* 'I' 0049 */ 7, /* 'J' 004A */ 9, /* 'K' 004B */ 7, /* 'L' 004C */ 11, /* 'M' 004D */ 9, /* 'N' 004E */ 10, /* 'O' 004F */ 9, /* 'P' 0050 */ 10, /* 'Q' 0051 */ 9, /* 'R' 0052 */ 9, /* 'S' 0053 */ 10, /* 'T' 0054 */ 9, /* 'U' 0055 */ 9, /* 'V' 0056 */ 13, /* 'W' 0057 */ 7, /* 'X' 0058 */ 9, /* 'Y' 0059 */ 7, /* 'Z' 005A */ 4, /* '[' 005B */ 5, /* '\' 005C */ 4, /* ']' 005D */ 5, /* '^' 005E */ 10, /* '_' 005F */ 4, /* '`' 0060 */ 7, /* 'a' 0061 */ 7, /* 'b' 0062 */ 7, /* 'c' 0063 */ 7, /* 'd' 0064 */ 7, /* 'e' 0065 */ 6, /* 'f' 0066 */ 7, /* 'g' 0067 */ 7, /* 'h' 0068 */ 3, /* 'i' 0069 */ 5, /* 'j' 006A */ 7, /* 'k' 006B */ 3, /* 'l' 006C */ 11, /* 'm' 006D */ 7, /* 'n' 006E */ 7, /* 'o' 006F */ 7, /* 'p' 0070 */ 7, /* 'q' 0071 */ 5, /* 'r' 0072 */ 7, /* 's' 0073 */ 4, /* 't' 0074 */ 7, /* 'u' 0075 */ 8, /* 'v' 0076 */ 9, /* 'w' 0077 */ 7, /* 'x' 0078 */ 7, /* 'y' 0079 */ 7, /* 'z' 007A */ 4, /* '{' 007B */ 3, /* '|' 007C */ 4, /* '}' 007D */ 8 /* '~' 007E */ }; const D4D_FONT_DESCRIPTOR d4dfnt_Arial16h_desc = { 0, // Font descriptor version number D4D_FONT_FLAGS_IX_STYLE_NONLINEAR | D4D_FONT_FLAGS_IX_TYPE_MAP | D4D_FONT_FLAGS_FNT_WIDTH_PROPORTIONAL, // linear or nonlinear, proportional or not 0x0020, // start char of used table 95, // count of all chars of used table 0x0020, // index of char that will be printed instead of 10, // font size (size of font loaded in PC) 0, // size of font bitmap for non proportional fonts 13, // offset from Y0 coordination to baseline {13, 16}, // size of biggest char in x/y in this page D4D_FONT_PACK_BITORDER_BIGEND | D4D_FONT_PACK_SCANBASED_ROW | D4D_FONT_PACK_SCANPREFERRED_ROW | D4D_FONT_PACK_COMPRESSED_OFF, // packing condition of individual bitmaps d4dfnt_Arial16h_index_table, // Index table - is used when nonlinearIX is set in flags, flags also determine the type of IxTable d4dfnt_Arial16h_offset_table, // Offset table - used when proportional font is set in flags d4dfnt_Arial16h_width_table, // Size table - used when proportional font is set in flags d4dfnt_Arial16h_data_table, // bitmap/font data array NULL // pointer for next UNICODE page };