Find the correct package for a given font?

Solution 1:

If you have a file on your system that belongs to the package whose name you don't know, you can figure out the pkg name with:

dpkg -S <file>

Most font files are in /usr/share/fonts/.

In there, I (natty) find /usr/share/fonts/X11/100dpi and other directories.

In 100dpi I find many files, including helvR24.pcf.gz.

So I use dpkg -S on that:

$ dpkg -S /usr/share/fonts/X11/100dpi/helvR24.pcf.gz
xfonts-100dpi: /usr/share/fonts/X11/100dpi/helvR24.pcf.gz
$ 

The pkg is listed first: xfonts-100dpi

Solution 2:

Packages:

xfonts-100dpi

xfonts-75dpi

(ISO 10646-1 en ISO 8859-1 fonts in 75 and 100 dots per inch)

Directory font-adobe-75dpi holds, amongst others:

enter image description here