Various .ttf, .fon, and .pcf font files in ~/.fonts not being recognized by fc-cache
I have created a ~/.fonts directory to store my user fonts in, and installation is apparently copying over font files into it and reloading with 'fc-cache -fv'. For testing that the font is really installed, I run 'fc-list | grep [whatever the font name is]'
However, this has only worked for my two Terminus fonts (TerminusBold.ttf, Terminus.ttf) and all 7 of the ProFont pcf files.
My other fonts that are not being recognized are GohuFont, MonteCarlo, Tamsyn, and ProggySquare.
Why would fc-cache not recognize these fonts when I do an 'fc-cache -fv' ? Some are .pcf files, some are .ttf, and Proggy is .fon. I would at least expect the first two filetypes to be recognized, but only Terminus and ProFont are?
First you need to stop paying attention to extensions, they mean nothing in Linux OS world(unless you write a command or program that specifically looks for them) as the Linux OS reads file type info based upon metadata and the contents of the file.
See the "file" command man page for some more info on this.
In regards to fc-cache, I am not sure. I never played around with any outside fonts as I usually work on runlevel 3 with no graphical interface. However, the html reference page at /usr/share/doc/fontconfig/fontconfig-user.html should be of some good use.
|All times are GMT -5. The time now is 05:30 PM.|