GPC  v1.0.0-2516
Gorman Print Control
IJS::RecFont Struct Reference

Font record is a total of 288 (0x120) bytes. More...

Collaboration diagram for IJS::RecFont:

Public Attributes

uint8_t unknown1 [23]
 some type of header, similar to RecGroup to 2 bytes shorter More...
 
char short_filename [14]
 0x00 - 0x0d More...
 
char long_filename [64]
 0x0e - 0x4d More...
 
uint8_t unknown [188]
 0x4e - 0x109 More...
 

Detailed Description

Font record is a total of 288 (0x120) bytes.

Note
For 2-byte and 4-byte values, remember to convert endianness, as the IJS files seem to be big-endian. See ByteOrder::swap().

It starts with a 23-byte header, similar to but 2 bytes shorter than a RecGroup:

0x00: 00 00 01 21 05 00 00 00 0e 00 00 02 0a 00 00 00
0x10: 84 00 00 00 33 02 00

Then the actual font file information, which is an additional 266 bytes in length:

0x0000: 46 6f 6e 74 5f 31 2e 66 6e 74 00 00 00 00 54 69 |Font_1.fnt....Ti|
0x0010: 6d 65 73 20 4e 65 77 20 52 6f 6d 61 6e 5f 31 30 |mes New Roman_10|
0x0020: 5f 57 52 31 30 30 5f 54 42 53 30 42 00 00 00 00 |_WR100_TBS0B....|
0x0030: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
0x0040: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
0x0050: 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 |................|
0x0060: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
0x0070: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
0x0080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
0x0090: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
0x00A0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
0x00B0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
0x00C0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
0x00D0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
0x00E0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
0x00F0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
0x0100: 00 00 00 00 00 00 01 01 00 07 |.......... |

Member Data Documentation

◆ unknown1

uint8_t IJS::RecFont::unknown1[23]

some type of header, similar to RecGroup to 2 bytes shorter

◆ short_filename

char IJS::RecFont::short_filename[14]

0x00 - 0x0d

Referenced by IJS::load().

◆ long_filename

char IJS::RecFont::long_filename[64]

0x0e - 0x4d

Referenced by IJS::load().

◆ unknown

uint8_t IJS::RecFont::unknown[188]

0x4e - 0x109