Using the original console fonts in Konsole

In Ubuntu and many other recent distributions, bitmap fonts are disabled by default. This is to prevent the system from attempting to scale bitmap fonts which would give ugly results. Turning off bitmap fonts is done using a font rule found in a file under /etc/fonts/conf.d. An unfortunate side-effect is that the original console font that Konsole ships with are also no longer selectable. In order to use this console font anyway, many people delete the file which contains the anti-bitmap-rule. Here is a better way to do it.

Create a new file /etc/fonts/conf.d/99-konsole.conf with the following content:

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
 <dir>/usr/share/apps/konsole/fonts</dir>
 <selectfont>
  <acceptfont>
   <pattern>
    <patelt name="family" >
     <string>Console</string>
    </patelt>
   </pattern>
  </acceptfont>
 </selectfont>
</fontconfig>

 

Then execute

fc-cache -v -f

 

Now you should be able to choose the console font.