[File] .psf fonts' glyph size reported wrong way around

Jan Engelhardt jengelh at inai.de
Fri Nov 18 16:34:11 UTC 2022


Greetings.

Using file-5.43 on Linux, I observe that the dimensions for .psf files is
reported the wrong way around to what we are used to with .png/.jpg/etc.

Observed:

$ file tn.ppm 
tn.ppm: Netpbm image data, size = 1920 x 1080, rawbits, pixmap
$ file tn2.png
tn2.png: PNG image data, 1920 x 1080, 8-bit/color RGB, non-interlaced
$ file /usr/share/kbd/consolefonts/ter-v32n.psfu
/usr/share/kbd/consolefonts/ter-v32n.psfu: Linux/i386 PC Screen Font v2
data, 512 characters, Unicode directory, 32x16

Expected to see:
/usr/share/kbd/consolefonts/ter-v32n.psfu: Linux/i386 PC Screen Font v2
data, 512 characters, Unicode directory, 16x32


More information about the File mailing list