psfgettable
Extract font properties from a psf font
SYNOPSIS
psfgettable fontfile [tablename]
PARAMETERS
fontfile
The path to the PSF font file to be analyzed.
tablename
An optional parameter to specify a specific table to extract. If omitted, all tables will be displayed. Possible values are:
charheight, charwidth, charsize, mode, flags, version.
DESCRIPTION
The `psfgettable` command is a utility used to extract specific table information from PC Screen Font (PSF) files. These files are commonly used to store fonts for the Linux console. `psfgettable` allows you to access and examine the font metadata stored within the PSF file, such as the character height and width, number of glyphs, and various flags indicating properties of the font. This can be useful for developers working with console fonts or for analyzing and understanding the structure of PSF files. The information is extracted in a human-readable format, allowing for easier analysis of the font's properties without relying on hex editors or more complex tools. `psfgettable` works by interpreting the structure and data within a PSF file based on the PSF specification.
EXAMPLES
psfgettable myfont.psf
Displays all table information from the 'myfont.psf' file.
psfgettable myfont.psf charheight
Displays the character height from the 'myfont.psf' file.
SEE ALSO
psfaddtable(1), psfgetfont(1)