Topic : TOS - The Operating System Author : Version : tos.hyp (December 19, 2008) Subject : Programmieren/Atari Nodes : 3010 Index Size : 93790 HCP-Version : 5 Compiled on : Atari @charset : atarist @lang : @default : Title @help : @options : +g -i -s +x +zz -t4 @width : 70 View Ref-File7.6.92 Make-up of the font-header TOS The font header returned by vqt_fontheader is built up as follows: FH_FMVER 0 /* U "D4.0" CR LF NULL NULL 8 bytes */ FH_FNTSZ 8 /* U Font size (bytes) 4 bytes */ FH_FBFSZ 12 /* U Min. font buffer size (bytes) 4 bytes */ FH_CBFSZ 16 /* U Min. char. buffer size (bytes) 2 bytes */ FH_HEDSZ 18 /* U Header size (bytes) 2 bytes */ FH_FNTID 20 /* U Source font ID 2 bytes */ FH_SFVNR 22 /* U Source font version number 2 bytes */ FH_FNTNM 24 /* U Source font full name 70 bytes */ FH_MDATE 94 /* U Manufacturing date 10 bytes */ FH_LAYNM 104 /* U Layout (character set) name 70 bytes */ FH_CPYRT 174 /* U Copyright notice 78 bytes */ FH_NCHRL 252 /* U No. of char. indices in layout 2 bytes */ FH_NCHRF 254 /* U Total character indices in font 2 bytes */ FH_FCHRF 256 /* U Index of first char. in font 2 bytes */ FH_NKTKS 258 /* U Number of kerning tracks in font 2 bytes */ FH_NKPRS 260 /* U Number of kerning pairs in font 2 bytes */ FH_FLAGS 262 /* U Font flags 1 byte: */ /* Bit 0: Extended mode if set, */ Compact mode (default) if clear */ /* Bit 1: Not used */ /* Bit 2: Not used */ /* Bit 3: Not used */ /* Bit 4: Not used */ /* Bit 5: Not used */ /* Bit 6: Not used */ /* Bit 7: Not used */ FH_CLFGS 263 /* U Classification flags 1 byte: */ /* Bit 0: Italic */ /* Bit 1: Monospace */ /* Bit 2: Serif */ /* Bit 3: Display */ /* Bit 4: Reserved */ /* Bit 5: Reserved */ /* Bit 6: Reserved */ /* Bit 7: Reserved */ FH_FAMCL 264 /* U Family classification 1 byte: */ /* 0: Don't care */ /* 1: Serif */ /* 2: Sans serif */ /* 3: Monospace */ /* 4: Script or calligraphic */ /* 5: Decorative */ /* 6-255: Not used */ FH_FRMCL 265 /* U Font form classification 1 byte: */ /* Bits 0-3 (Width type): */ /* 0-3: Reserved */ /* 4: Condensed */ /* 5: Reserved for 3/4 condensed */ /* 6: Semi-condensed */ /* 7: Reserved for 1/4 condensed */ /* 8: Normal */ /* 9: Reserved for 3/4 expanded */ /* 10: Semi-expanded */ /* 11: Reserved for 1/4 expanded */ /* 12: Expanded */ /* 13-15: Reserved */ /* Bits 4-7 (Weight): */ /* 0: Reserved */ /* 1: Thin */ /* 2: Ultralight */ /* 3: Extralight */ /* 4: Light */ /* 5: Book */ /* 6: Normal */ /* 7: Medium */ /* 8: Semibold */ /* 9: Demibold */ /* 10: Bold */ /* 11: Extrabold */ /* 12: Ultrabold */ /* 13: Heavy */ /* 14: Black */ /* 15-16: Reserved */ FH_SFNTN 266 /* U Short font name 32 bytes */ FH_SFACN 298 /* U Short face (family) name 16 bytes */ FH_FNTFM 314 /* U Font form (as above) 14 bytes */ FH_ITANG 328 /* U Italic angle (1/256 deg clockw) 2 bytes */ FH_ORUPM 330 /* U Number of ORUs per em 2 bytes */ FH_WDWTH 332 /* U Width of word-space (ASCII 32) 2 bytes */ FH_EMWTH 334 /* U Width of em-space 2 bytes */ FH_ENWTH 336 /* U Width of en-space 2 bytes */ FH_TNWTH 338 /* U Width of thin-space 2 bytes */ FH_FGWTH 340 /* U Width of figure-space 2 bytes */ FH_FXMIN 342 /* U Font-wide min. X coord. 2 bytes */ FH_FYMIN 344 /* U Font-wide min. Y coord. 2 bytes */ FH_FXMAX 346 /* U Font-wide max. X coord. 2 bytes */ FH_FYMAX 348 /* U Font-wide max. Y coord. 2 bytes */ FH_ULPOS 350 /* U Underline position 2 bytes */ FH_ULTHK 352 /* U Underline thickness 2 bytes */ FH_SMCTR 354 /* U Small capitals transformation 6 bytes */ FH_DPSTR 360 /* U Display superiors transformation 6 bytes */ FH_FNSTR 366 /* U Footnote superiors transformation 6 bytes */ FH_ALSTR 372 /* U Alpha superiors transformation 6 bytes */ FH_CMITR 378 /* U Chemical inferiors transformation 6 bytes */ FH_SNMTR 384 /* U Small numerators transformation 6 bytes */ FH_SDNTR 390 /* U Small denominators transformation 6 bytes */ FH_MNMTR 396 /* U Medium numerators transformation 6 bytes */ FH_MDNTR 402 /* U Medium denominators transformation 6 bytes */ FH_LNMTR 408 /* U Large numerators transformation 6 bytes */ FH_LDNTR 414 /* U Large denominators transformation 6 bytes */ /* Transformation data format: */ /* Y position 2 bytes */ /* X scale (1/4096ths) 2 bytes */ /* Y scale (1/4096ths) 2 bytes */ SIZE_FW FH_LDNTR + 6 /* Size of nominal font header */ EXP_FH_METRES SIZE_FW /* Offset to expansion field metric resolution (optional) */ See Also: vqt_fontheader Header for bitmap GDOS fonts Vector fonts