How to Install bdf2psf in Ubuntu 18.04



Install bdf2psf by entering the following commands in the terminal:

sudo apt update
sudo apt install bdf2psf

Description:

font converter to generate console fonts from BDF source fonts

This package provides a command-line converter that can be used in scripts to build console fonts from BDF sources automatically. The converter comes with a collection of font encodings that cover many of the world's languages. The output font can use a different character encoding from the input. When the source font does not define a glyph for a particular symbol in the encoding table, that glyph position in the console font is not wasted but used for another symbol. . When deciding about the position in the font for a particular glyph, the converter takes into account that in text video modes the video adapter copies the eighth column of the glyph matrix of symbols positioned in the pseudographic area to the ninth column. In order to create fonts for text video modes, the width of the glyph matrix of the source BDF font should be seven, eight, or nine pixels; otherwise the converter creates fonts suitable for framebuffer only.

Version: 1.178ubuntu2

Section: utils