Bug#284972: Bug #284972 - xfree86-common: FAQ should describe how to find out which package owns a font file
This can be done like this:
$ find /usr/lib/X11/fonts/ -name "fonts.dir" -exec grep -i -e \
'-Misc-Fixed-Medium-R-Normal--13-120-75-75-C-70-ISO10646-1' {} \;
This take care of capital (fonts.dir have no capitals
characters). An improved version could manage "*" or merged
parameters like '-misc-fixed---iso8859-' if a script is of any
interest. The above should be enough for a faq entry.
I don't know if there is a native way to find out this for
fontconfig managed fonts. Maybe a similar script would be of use
too.
Ciao
Alban
Reply to: