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 08-30-2014, 03:01 AM   #1
Gregg Bell
Senior Member
 
Registered: Mar 2014
Location: Illinois
Distribution: Xubuntu
Posts: 2,034

Rep: Reputation: 176Reputation: 176
can't install new font in GIMP


I'm nearly brain dead trying to figure this out and I'm angry (not like terribly or anything) because I put a font in there before and I can see it looking at me! Anyway, the folder that has the fonts is:

/usr/share/fonts/truetype

But when I copy my new font it won't let me paste it into the folder. I tried from the terminal too. No luck.

How do I do it? Thanks.
 
Old 08-30-2014, 07:22 AM   #2
goumba
Senior Member
 
Registered: Dec 2009
Location: New Jersey, USA
Distribution: Fedora, OpenSUSE, FreeBSD, OpenBSD, macOS (hack). Past: Debian, Arch, RedHat (pre-RHEL).
Posts: 1,335
Blog Entries: 7

Rep: Reputation: 402Reputation: 402Reputation: 402Reputation: 402Reputation: 402
Can you be more specific about what you mean by you can't "paste it into the folder"? Any error messages, either in the GUI or terminal?

My first instinct, if you're trying to put it in /usr/share/fonts/truetype, is that you're not doing it with root access. Open a terminal, and as you're on Ubuntu, I think you should have sudo installed by default:

Code:
sudo cp <file> /usr/share/fonts/truetype
sudo fc-cache -f
You can install a font without root access, but it will only be available to the user you do it for.

- Create a folder in your home directory, called ".fonts"
- Copy the font file to this new folder
- Run fc-cache -f as the regular user.
 
1 members found this post helpful.
Old 08-30-2014, 01:00 PM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,623

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
what version of gimp?
there was a bug in 2.8.12
install the current 2.8.14
 
1 members found this post helpful.
Old 08-30-2014, 11:21 PM   #4
Gregg Bell
Senior Member
 
Registered: Mar 2014
Location: Illinois
Distribution: Xubuntu
Posts: 2,034

Original Poster
Rep: Reputation: 176Reputation: 176
Quote:
Originally Posted by goumba View Post
Can you be more specific about what you mean by you can't "paste it into the folder"? Any error messages, either in the GUI or terminal?

My first instinct, if you're trying to put it in /usr/share/fonts/truetype, is that you're not doing it with root access. Open a terminal, and as you're on Ubuntu, I think you should have sudo installed by default:

Code:
sudo cp <file> /usr/share/fonts/truetype
sudo fc-cache -f
You can install a font without root access, but it will only be available to the user you do it for.

- Create a folder in your home directory, called ".fonts"
- Copy the font file to this new folder
- Run fc-cache -f as the regular user.
Thanks goumba. I had to monkey with it a bit but I got it. I first put in just the file name and when I hit enter it said 'file not found.' So I did the locate feature and it showed the entire path and when I put the entire path in it worked. Then the

sudo fc-cache -f

command was left over and I realized that that was actually the second command (right?) and so I ran that and it looks like all is well. (There's a screenshot of the terminal.)

Yeah, just for absolute clarity: that was two commands, right? #1) Copy the file #2) the sudo fc-cache -f command.

And what did the sudo fc-cache -f command do?

Thanks very much for the help with this. I'm planning on adding a lot of fonts and this method you've given me is going to be VERY helpful. (I checked GIMP and the new font is there.)
Attached Thumbnails
Click image for larger version

Name:	Selection_028.png
Views:	43
Size:	35.8 KB
ID:	16273  
 
Old 08-30-2014, 11:29 PM   #5
Gregg Bell
Senior Member
 
Registered: Mar 2014
Location: Illinois
Distribution: Xubuntu
Posts: 2,034

Original Poster
Rep: Reputation: 176Reputation: 176
Quote:
Originally Posted by John VV View Post
what version of gimp?
there was a bug in 2.8.12
install the current 2.8.14
Thanks John. I have 2.8.10. I was going to download the 2.8.14 but I got a little psyched out because I read the GIMP version that comes with the distro has all the dependencies and stuff. (I have 14.04 Xubuntu.) And I really wasn't sure about how to get the new version. I found this:

http://download.gimp.org/pub/gimp/v2.8/

But even that was a little intimidating.(The different files of 2.8.14 and how to install them, or one of them.)

Is there anything great about 2.8.14 that I should go through the rigamarole (I have 2.8.10 on two computers and I'm just starting to get familiar with it.) of installing it? (The only thing I don't like about 2.8.10 is using the text tool is still a little dicey. Did 2.8.14 improve the text tool?)

Thanks.
 
Old 08-31-2014, 05:53 AM   #6
goumba
Senior Member
 
Registered: Dec 2009
Location: New Jersey, USA
Distribution: Fedora, OpenSUSE, FreeBSD, OpenBSD, macOS (hack). Past: Debian, Arch, RedHat (pre-RHEL).
Posts: 1,335
Blog Entries: 7

Rep: Reputation: 402Reputation: 402Reputation: 402Reputation: 402Reputation: 402
Quote:
Originally Posted by Gregg Bell View Post
Yeah, just for absolute clarity: that was two commands, right? #1) Copy the file #2) the sudo fc-cache -f command.

And what did the sudo fc-cache -f command do?
Yes, two commands.

fc-cache updates fontconfig's cache.

Code:
       fc-cache scans the font directories  on  the  system  and  builds  font
       information  cache  files  for  applications using fontconfig for their
       font handling.
 
1 members found this post helpful.
Old 09-01-2014, 02:21 PM   #7
Gregg Bell
Senior Member
 
Registered: Mar 2014
Location: Illinois
Distribution: Xubuntu
Posts: 2,034

Original Poster
Rep: Reputation: 176Reputation: 176
Quote:
Originally Posted by goumba View Post
Yes, two commands.

fc-cache updates fontconfig's cache.

Code:
       fc-cache scans the font directories  on  the  system  and  builds  font
       information  cache  files  for  applications using fontconfig for their
       font handling.
Thanks goumba. I really appreciate it.
 
Old 09-03-2014, 02:29 AM   #8
goumba
Senior Member
 
Registered: Dec 2009
Location: New Jersey, USA
Distribution: Fedora, OpenSUSE, FreeBSD, OpenBSD, macOS (hack). Past: Debian, Arch, RedHat (pre-RHEL).
Posts: 1,335
Blog Entries: 7

Rep: Reputation: 402Reputation: 402Reputation: 402Reputation: 402Reputation: 402
You're welcome. To help, that's what we're here for.
 
1 members found this post helpful.
  


Reply

Tags
fontproblems, gimp



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
Install Gimp 2.6 instead of gimp 2.8 in sid mediolanum Debian 17 08-18-2013 01:47 PM
LXer: How To Create Amazing Text and Font Effects in Gimp 2.6 LXer Syndicated Linux News 0 04-11-2011 06:10 AM
Font doesn't work in The GIMP objorkum Linux - Software 1 11-03-2004 10:46 AM
GIMP stops the X font server LavaDevil94 Linux - Software 2 08-28-2004 11:04 AM
Font too small in gimp menus? xanas3712 Linux - Newbie 21 07-08-2004 03:52 AM

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

All times are GMT -5. The time now is 09:49 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
Open Source Consulting | Domain Registration