PC Screen Font
From Just Solve the File Format Problem
(Difference between revisions)
(Added magic bytes for FormatInfo with reference as links. Updated links to https. Added discmaster.textfiles.com link for Sample files section.) |
|||
(3 intermediate revisions by 2 users not shown) | |||
Line 3: | Line 3: | ||
|subcat=Fonts | |subcat=Fonts | ||
|extensions={{ext|psf}}, {{ext|psfu}} | |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 | |released=~1989 | ||
}} | }} | ||
Line 13: | Line 14: | ||
== 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 == | == Sample files == | ||
* [https://packages.debian.org/stable/console-setup-linux console-setup-linux package] → console-setup-linux_*.deb → /usr/share/consolefonts/*.psf.gz | * [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 == | == Links == | ||
* [[Wikipedia: PC Screen Font]] | * [[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