SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2011-09-29 10:59:02

xeNULL
#! Pirate
From: The Internet
Registered: 2011-01-23
Posts: 811

[SOLVED!] Help installing PCF fonts

Hey guys I feel like a bit of a noob asking this lol. I usually use ttf fonts for theming etc. but I really like the artwiz fonts I have downloaded the fonts but they are in pcf format and I have never used these. Can someone give me a step by step to installing them? I know there are many guides on google but it is hard finding one that debian specific.

Last edited by xeNULL (2011-09-29 18:11:45)


AKA xii on #crunchbang #!WMFS2
dotshare | dA | 1 1 0 1 0 1 0 0 0

Offline

Be excellent to each other!

#2 2011-09-29 11:06:13

el_koraco
#!/loony/bun
From: inside Ed
Registered: 2011-07-25
Posts: 4,747

Re: [SOLVED!] Help installing PCF fonts

Move the artwiz folder to .fonts, or to /usr/share/fonts. cd to the artwiz folder, run

mkfontdir
fc-cache -fv

Add this to your /etc/X11/xorg.conf file,

Section "Files"
    FontPath    "/home/USERNAME/.fonts/artwiz-latin1 (or whatever the name is)"
EndSection

Restart X. This will get xfontsel to read the fonts, so you have the long description needed for some window managers etc.

Last edited by el_koraco (2011-09-29 11:06:26)

Offline

#3 2011-09-29 11:26:30

xeNULL
#! Pirate
From: The Internet
Registered: 2011-01-23
Posts: 811

Re: [SOLVED!] Help installing PCF fonts

It seems to have installed the fonts though it has changed my cursor lol. The fonts won't show in lxappearance for some reason.


AKA xii on #crunchbang #!WMFS2
dotshare | dA | 1 1 0 1 0 1 0 0 0

Offline

#4 2011-09-29 11:39:15

el_koraco
#!/loony/bun
From: inside Ed
Registered: 2011-07-25
Posts: 4,747

Re: [SOLVED!] Help installing PCF fonts

Where did you install them? Is fc-cache reporting caching the fonts?

Offline

#5 2011-09-29 12:35:02

xeNULL
#! Pirate
From: The Internet
Registered: 2011-01-23
Posts: 811

Re: [SOLVED!] Help installing PCF fonts

I installed them in /usr/share/fonts and when I ran fc-cache -fv the folder shows up not sure if it actually found the fonts though. I ran xfontsel also and they are showing in there fine.


AKA xii on #crunchbang #!WMFS2
dotshare | dA | 1 1 0 1 0 1 0 0 0

Offline

#6 2011-09-29 12:40:24

el_koraco
#!/loony/bun
From: inside Ed
Registered: 2011-07-25
Posts: 4,747

Re: [SOLVED!] Help installing PCF fonts

xeNULL wrote:

I installed them in /usr/share/fonts and when I ran fc-cache -fv the folder shows up not sure if it actually found the fonts though. I ran xfontsel also and they are showing in there fine.

run sudo fc-cache -fv

Offline

#7 2011-09-29 12:48:45

xeNULL
#! Pirate
From: The Internet
Registered: 2011-01-23
Posts: 811

Re: [SOLVED!] Help installing PCF fonts

just ran that they are still not showing in lxappearance. I think I should delete it all and start over lol


AKA xii on #crunchbang #!WMFS2
dotshare | dA | 1 1 0 1 0 1 0 0 0

Offline

#8 2011-09-29 12:56:56

el_koraco
#!/loony/bun
From: inside Ed
Registered: 2011-07-25
Posts: 4,747

Re: [SOLVED!] Help installing PCF fonts

xeNULL wrote:

just ran that they are still not showing in lxappearance. I think I should delete it all and start over lol

Put them in .fonts, lxappearance seems to have some trouble with adding stuff to the global font file, and xfontsel will have the one you already set up.

Btw, are you sure lxappearance is not picking them up? They're not called "artwiz-lime", but "lime", "gelly", "nu" etc...

Offline

#9 2011-09-29 15:10:33

xeNULL
#! Pirate
From: The Internet
Registered: 2011-01-23
Posts: 811

Re: [SOLVED!] Help installing PCF fonts

This is very strange they still aren't showing. This is what I have done so far.

1. I extracted them as root (gksu thunar) to /usr/share/fonts with a GUI extractor
2. I cd'd to the font directory where the artwiz PCF files are located and ran mkfontdir
3. I then ran fc-cache -fv (you corrected me to run as sudo which I then did)
4. I added those lines to xorg.conf (which I had to create) and pointed it to the artwiz font folder
5. I restarted X
6. They still didn't show up so I extracted them to my local font folder ~/.fonts
7. I repeated the above for that location and still have the fonts in my /usr/share/fonts directory

Not sure if I have done something wrong lol Its usually as simple as a drag and drop with ttf's

Last edited by xeNULL (2011-09-29 15:11:10)


AKA xii on #crunchbang #!WMFS2
dotshare | dA | 1 1 0 1 0 1 0 0 0

Offline

#10 2011-09-29 15:43:19

el_koraco
#!/loony/bun
From: inside Ed
Registered: 2011-07-25
Posts: 4,747

Re: [SOLVED!] Help installing PCF fonts

let's try this.

cd downloads 
wget http://sourceforge.net/projects/artwiz-latin1/files/artwiz-latin1/1.1/artwiz-latin1-1.1.tgz
tar -xvf artwiz.latin1-1.1.tgz
mv artwiz-latin1 ~/.fonts
cd ~/.fonts/artwiz-latin1
mkfontdir
fc-cache -fv

log out, back in. Open lxappearance, look for "lime", "gelly", "nu", "anorexia" and similar.

Offline

#11 2011-09-29 16:37:50

xeNULL
#! Pirate
From: The Internet
Registered: 2011-01-23
Posts: 811

Re: [SOLVED!] Help installing PCF fonts

Seems to be doing the same. I don't know what is wrong. It shouldn't be anything to do with the fact that I am running awesome wm.

Here is the output of the fc-cache

[17:40:02] [artwiz-latin1] ■ fc-cache -fv
/usr/share/fonts: caching, new cache contents: 0 fonts, 4 dirs
/usr/share/fonts/X11: caching, new cache contents: 0 fonts, 6 dirs
/usr/share/fonts/X11/100dpi: caching, new cache contents: 0 fonts, 0 dirs
/usr/share/fonts/X11/75dpi: caching, new cache contents: 0 fonts, 0 dirs
/usr/share/fonts/X11/Type1: caching, new cache contents: 44 fonts, 0 dirs
/usr/share/fonts/X11/encodings: caching, new cache contents: 0 fonts, 1 dirs
/usr/share/fonts/X11/encodings/large: caching, new cache contents: 0 fonts, 0 dirs
/usr/share/fonts/X11/misc: caching, new cache contents: 32 fonts, 0 dirs
/usr/share/fonts/X11/util: caching, new cache contents: 0 fonts, 0 dirs
/usr/share/fonts/artwiz-aleczapka-en-1.3: caching, new cache contents: 0 fonts, 0 dirs
/usr/share/fonts/truetype: caching, new cache contents: 0 fonts, 8 dirs
/usr/share/fonts/truetype/freefont: caching, new cache contents: 12 fonts, 0 dirs
/usr/share/fonts/truetype/msttcorefonts: caching, new cache contents: 60 fonts, 0 dirs
/usr/share/fonts/truetype/openoffice: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/truetype/ttf-dejavu: caching, new cache contents: 21 fonts, 0 dirs
/usr/share/fonts/truetype/ttf-liberation: caching, new cache contents: 12 fonts, 0 dirs
/usr/share/fonts/truetype/ttf-lyx: caching, new cache contents: 9 fonts, 0 dirs
/usr/share/fonts/truetype/ttf-sil-gentium: caching, new cache contents: 4 fonts, 0 dirs
/usr/share/fonts/truetype/ttf-sil-gentium-basic: caching, new cache contents: 8 fonts, 0 dirs
/usr/share/fonts/type1: caching, new cache contents: 0 fonts, 2 dirs
/usr/share/fonts/type1/gsfonts: caching, new cache contents: 35 fonts, 0 dirs
/usr/share/fonts/type1/mathml: caching, new cache contents: 1 fonts, 0 dirs
/usr/X11R6/lib/X11/fonts: skipping, no such directory
/usr/local/share/fonts: caching, new cache contents: 0 fonts, 0 dirs
/home/xenull/.fonts: caching, new cache contents: 10 fonts, 2 dirs
/home/xenull/.fonts/artwiz-aleczapka-en-1.3: caching, new cache contents: 0 fonts, 0 dirs
/home/xenull/.fonts/artwiz-latin1: caching, new cache contents: 0 fonts, 0 dirs
/var/cache/fontconfig: not cleaning unwritable cache directory
/home/xenull/.fontconfig: cleaning cache directory
fc-cache: succeeded

Last edited by xeNULL (2011-09-29 16:41:38)


AKA xii on #crunchbang #!WMFS2
dotshare | dA | 1 1 0 1 0 1 0 0 0

Offline

#12 2011-09-29 17:07:01

el_koraco
#!/loony/bun
From: inside Ed
Registered: 2011-07-25
Posts: 4,747

Re: [SOLVED!] Help installing PCF fonts

/home/xenull/.fonts/artwiz-latin1: caching, new cache contents: 0 fonts, 0 dirs

It's not caching this one. Poke around the folder, see if anything is wrong.

Offline

#13 2011-09-29 17:25:52

xeNULL
#! Pirate
From: The Internet
Registered: 2011-01-23
Posts: 811

Re: [SOLVED!] Help installing PCF fonts

I am having a look in there now is it ok to delete this /home/xenull/.fonts/artwiz-aleczapka-en-1.3 ? as I used mkfontdir on it and I am now using the above font pack.


AKA xii on #crunchbang #!WMFS2
dotshare | dA | 1 1 0 1 0 1 0 0 0

Offline

#14 2011-09-29 17:36:57

el_koraco
#!/loony/bun
From: inside Ed
Registered: 2011-07-25
Posts: 4,747

Re: [SOLVED!] Help installing PCF fonts

xeNULL wrote:

I am having a look in there now is it ok to delete this /home/xenull/.fonts/artwiz-aleczapka-en-1.3 ? as I used mkfontdir on it and I am now using the above font pack.

Yes. But the aleczapka fontset should be showing in lxappearance, it weird. Maybe delete them both, and then try anew. Maybe you don't even need to run mkfontdir for these fonts, though I've never seen that to hurt anybody. Can you find them in Firefox? Go to Preferences, Content, Fonts and Colors, Advanced and look for lime, gelly, smoothansi, nu.

Offline

#15 2011-09-29 17:37:28

xeNULL
#! Pirate
From: The Internet
Registered: 2011-01-23
Posts: 811

Re: [SOLVED!] Help installing PCF fonts

They are not in firefox either.

I just read the README (which I should have originally done lol) and it says to remove a file in /etc/fonts/conf.d/ called 30-debconf-no-bitmaps.conf that file isn't there but this is 70-no-bitmaps.conf and it contains

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<!-- Reject bitmap fonts -->
 <selectfont>
  <rejectfont>
   <pattern>
     <patelt name="scalable"><bool>false</bool></patelt>
   </pattern>
  </rejectfont>
 </selectfont>
</fontconfig>

I wonder whether this is what is stopping me from using those fonts as they are bitmap

Last edited by xeNULL (2011-09-29 17:43:00)


AKA xii on #crunchbang #!WMFS2
dotshare | dA | 1 1 0 1 0 1 0 0 0

Offline

#16 2011-09-29 17:49:30

el_koraco
#!/loony/bun
From: inside Ed
Registered: 2011-07-25
Posts: 4,747

Re: [SOLVED!] Help installing PCF fonts

argh, I forgot.

sudo dpkg-reconfigure fontconfig-config

Answer "Yes" to the third question and restart X.

Offline

#17 2011-09-29 18:11:19

xeNULL
#! Pirate
From: The Internet
Registered: 2011-01-23
Posts: 811

Re: [SOLVED!] Help installing PCF fonts

I am glad to say IT WORKED!! I now have sexy bitmap fonts lol thank you very much el_koroco you have made me and my screenshots very happy lol


AKA xii on #crunchbang #!WMFS2
dotshare | dA | 1 1 0 1 0 1 0 0 0

Offline

#18 2011-09-29 18:11:54

el_koraco
#!/loony/bun
From: inside Ed
Registered: 2011-07-25
Posts: 4,747

Re: [SOLVED!] Help installing PCF fonts

sweet

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo