LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-03-2012, 11:17 AM   #1
TomKo
LQ Newbie
 
Registered: Jun 2011
Posts: 17

Rep: Reputation: Disabled
Unhappy Various .ttf, .fon, and .pcf font files in ~/.fonts not being recognized by fc-cache


Hello

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?
 
Old 07-03-2012, 12:01 PM   #2
Kustom42
Senior Member
 
Registered: Mar 2012
Distribution: Red Hat
Posts: 1,604

Rep: Reputation: 415Reputation: 415Reputation: 415Reputation: 415Reputation: 415
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.
 
  


Reply

Tags
fonts



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
.pcf font rendering in GTK2 mkoco Slackware 3 02-26-2010 09:49 AM
Installing a .pcf font for use in Konsole srunni Linux - Software 0 06-25-2008 02:00 PM
Help installing a .pcf font (FC5) phytoman Linux - Software 3 01-19-2007 10:38 AM
How can I installed TTF (True Type Font) fonts in fedora core 5 ? furqan Linux - Software 2 07-21-2006 09:45 AM
MS bitmapped .fon fonts not being rendered Epyon Linux - General 0 02-16-2004 10:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:56 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration