Ubuntu Server, set terminal font to a custom ttf font?

I would like to change the system (console) font of my ubuntu server to a custom (downloaded) font. Is this possible?

I’ve tried to use:

dpkg-reconfigure console-setup

but the only allows me to choose from the default system fonts.

Answers:

Thank you for visiting the Q&A section on Magenaut. Please note that all the answers may not help you solve the issue immediately. So please treat them as advisements. If you found the post helpful (or not), leave a comment & I’ll get back to you as soon as possible.

Method 1

TTF/OTF/Type1 fonts are vector fonts which describe how to draw characters using mathematics that draw bézier curves. This allows the same description of a character to scale up or down nicely. BDF/PCF/PSF fonts are bitmap fonts meaning they describe a character as pixels in a grid. These tend to look ugly and blocky when scaled up, but are perfect for a text terminal which represent every character in a uniform size and space. The Linux console uses PSF fonts. BDF/PCF fonts allow characters to have variable spacing whereas PSF assumes that all characters take an identical amount of screen real estate such as 8×8, 8×14, or, most often, 8×16 pixels. Because of this, converting a PCF font to PSF can yield an ugly rendition unless there is some manual intervention. Converting a vector font is even more difficult because it must be rasterized into the small space of 8×16 pixels or less. One tool that might help with this task is FontForge.


All methods was sourced from stackoverflow.com or stackexchange.com, is licensed under cc by-sa 2.5, cc by-sa 3.0 and cc by-sa 4.0

0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x