PC Screen Font
From Just Solve the File Format Problem
(Difference between revisions)
(Created page with "{{FormatInfo |formattype=electronic |subcat=Fonts |extensions={{ext|psf}} }} The '''PC Screen Font''' format is a fixed-width bitmap font format originally used on the PC unde...") |
(Added magic bytes for FormatInfo with reference as links. Updated links to https. Added discmaster.textfiles.com link for Sample files section.) |
||
(6 intermediate revisions by 4 users not shown) | |||
Line 2: | Line 2: | ||
|formattype=electronic | |formattype=electronic | ||
|subcat=Fonts | |subcat=Fonts | ||
− | |extensions={{ext|psf}} | + | |extensions={{ext|psf}}, {{ext|psfu}} |
+ | |magic=[https://github.com/file/file/blob/master/magic/Magdir/linux#L60 36 04] (version 1)<br />[https://github.com/file/file/blob/master/magic/Magdir/linux#L60 72 b5 4a 86 00 00] (version 2) | ||
+ | |released=~1989 | ||
}} | }} | ||
− | The '''PC Screen Font''' format is a fixed-width bitmap font format originally used on the PC under MS-DOS. It was subsequently adopted and extended for Linux console fonts. | + | The '''PC Screen Font''' ('''PSF''') format is a fixed-width bitmap font format originally used on the PC under MS-DOS. It was subsequently adopted and extended for Linux console fonts. |
+ | |||
+ | PSF has been extended to support [[Unicode]]. The '''.psfu''' file extension is sometimes used to indicate that the file includes Unicode mappings, though '''.psf''' files often have them as well. | ||
== Identification == | == Identification == | ||
− | Files begin with bytes | + | Files begin with bytes {{magic|0x36 0x04}} (version 1) or {{magic|0x72 0xb5 0x4a 0x86}} (version 2). The former may be a reference to [[vfont]] format, the magic number of which is 0436 when converted to octal. |
== Specifications == | == Specifications == | ||
− | * | + | * https://aeb.win.tue.nl/linux/kbd/font-formats-1.html |
== Software == | == Software == | ||
− | * [ | + | * [https://www.seasip.info/Unix/PSF/ PSF Tools] |
+ | * {{Deark}} | ||
+ | |||
+ | == Sample files == | ||
+ | * [https://packages.debian.org/stable/console-setup-linux console-setup-linux package] → console-setup-linux_*.deb → /usr/share/consolefonts/*.psf.gz | ||
+ | * {{DexvertSamples|font/pcScreenFont}} | ||
+ | * [https://discmaster.textfiles.com/search?mode=deep&extension=psf&format=pcScreenFont Search results of files with PSF extension and has format pcScreenFont - Discmaster.textfiles.com] | ||
+ | |||
+ | == Links == | ||
+ | * [[Wikipedia: PC Screen Font]] |
Latest revision as of 20:33, 24 August 2025
The PC Screen Font (PSF) format is a fixed-width bitmap font format originally used on the PC under MS-DOS. It was subsequently adopted and extended for Linux console fonts.
PSF has been extended to support Unicode. The .psfu file extension is sometimes used to indicate that the file includes Unicode mappings, though .psf files often have them as well.
Contents |
[edit] Identification
Files begin with bytes 0x36 0x04
(version 1) or 0x72 0xb5 0x4a 0x86
(version 2). The former may be a reference to vfont format, the magic number of which is 0436 when converted to octal.
[edit] Specifications
[edit] Software
[edit] Sample files
- console-setup-linux package → console-setup-linux_*.deb → /usr/share/consolefonts/*.psf.gz
- dexvert samples — font/pcScreenFont
- Search results of files with PSF extension and has format pcScreenFont - Discmaster.textfiles.com