OS/2 PM Font
From Just Solve the File Format Problem
(Difference between revisions)
(Created page with "{{FormatInfo |formattype=electronic |subcat=Fonts |extensions={{ext|fnt}}, {{ext|fmf}} }} '''OS/2 PM Font''' is an OS/2 font format. It may appear in a file by itself, or in a...") |
|||
| Line 5: | Line 5: | ||
}} | }} | ||
'''OS/2 PM Font''' is an OS/2 font format. It may appear in a file by itself, or in a (possibly compressed) resource section of an [[Linear Executable|EXE or DLL]] file. | '''OS/2 PM Font''' is an OS/2 font format. It may appear in a file by itself, or in a (possibly compressed) resource section of an [[Linear Executable|EXE or DLL]] file. | ||
| + | |||
| + | ''[TODO: What exactly are the .FMF files, which use this format, but are too small to contain a font? Maybe just font metrics?]'' | ||
== Format details == | == Format details == | ||
Latest revision as of 11:07, 26 September 2026
OS/2 PM Font is an OS/2 font format. It may appear in a file by itself, or in a (possibly compressed) resource section of an EXE or DLL file.
[TODO: What exactly are the .FMF files, which use this format, but are too small to contain a font? Maybe just font metrics?]
Contents |
[edit] Format details
A font file evidently starts with a 20-byte "FONTSIGNATURE" structure, as defined in the pmfont.h file[1] in the OS/2 Developer's Toolkit. The first field takes its value from this definition:
#define FONT_SIGNATURE 0xfffffffe /* Identity header start */
[edit] Identification
A font file apparently always starts with bytes fe ff ff ff 14 00 00 00, followed by ASCII "OS/2 FONT".