LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 10-21-2013, 11:55 PM   #1
waddles
Member
 
Registered: Sep 2012
Posts: 372

Rep: Reputation: 1
Installing my own new font


I have the following instructions to instal a font in Slackware (v. 13.37). But in reading the man page for "fc-cache" it said that it used "fontconfig". When I checked I found no man page for fontconfig
but that is a directory. Are these instructions for installing a font viable if not what are they or where can I find them:
1) Move your fonts (*.ttf) to "/usr/share/fonts/TTF"
[Does this apply to any font and where should mine go"]
2) Run these commands in order in "/usr/share/fonts"
# mkfontscale
# mkfontdir
# fc-cache -f -v

Thanks 4 UR time and assistance.
 
Old 10-22-2013, 12:24 AM   #2
shivaa
Senior Member
 
Registered: Jul 2012
Location: Grenoble, Fr.
Distribution: Sun Solaris, RHEL, Ubuntu, Debian 6.0
Posts: 1,800
Blog Entries: 4

Rep: Reputation: 286Reputation: 286Reputation: 286
If you just want to install custom fonts, then simply copy those fonts in system's font directory. I am not sure about dir. location in slackware, but possibly you can find the directory under location:
Code:
/usr/share/fonts
OR
/usr/share/fonts/truetype/freefonts
 
1 members found this post helpful.
Old 10-22-2013, 03:39 AM   #3
dansimon
Member
 
Registered: Jun 2013
Location: Norway
Distribution: Slackware
Posts: 54

Rep: Reputation: Disabled
You can also do this graphicly through the KDE systemsettings app (Font Management -> Add). KDE comes with Slackware if you have installed all the packages on the DVD.
 
Old 10-22-2013, 05:45 AM   #4
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 7,453
Blog Entries: 55

Rep: Reputation: Disabled
There's a lot of useful information about fonts, including adding new ones, on this page:

http://duganchen.ca/writings/slackware/fonts/
 
1 members found this post helpful.
Old 10-23-2013, 12:40 PM   #5
DavidMcCann
Senior Member
 
Registered: Jul 2006
Location: London
Distribution: CentOS, Salix
Posts: 4,162

Rep: Reputation: 1223Reputation: 1223Reputation: 1223Reputation: 1223Reputation: 1223Reputation: 1223Reputation: 1223Reputation: 1223Reputation: 1223
You can put your font in $HOME/.fonts and it will be available immediately — well, I don't know if that's the case in Slackware! On my system, mkfontscale and mkfontdir don't seem necessary any more and fc-cache is run at boot-up, but the same caveat applies.
 
1 members found this post helpful.
Old 10-23-2013, 04:02 PM   #6
waddles
Member
 
Registered: Sep 2012
Posts: 372

Original Poster
Rep: Reputation: 1
Thanks to all.!!
@brianL: I got as far as adding more fonts and quit when I found those instructions for Slack 13.37 were incorrect. I am always a bit too wary tho.
@DavidMcCann: good info will look into it further.

Last edited by waddles; 10-23-2013 at 04:04 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Help installing a .pcf font (FC5) phytoman Linux - Software 3 01-19-2007 11:38 AM
Help Installing Polish font PhantmShado Debian 3 02-20-2006 02:47 PM
installing a font in system ty263 Red Hat 1 09-03-2004 05:10 PM
Installing Tahoma Font? sikandar Linux - Software 7 10-05-2003 07:14 AM
installing font in mplayer shanenin Linux - Software 3 09-26-2003 04:43 PM


All times are GMT -5. The time now is 04:22 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration