LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-13-2004, 02:47 PM   #1
melquiades
Member
 
Registered: Jul 2003
Location: Northern Scotland
Distribution: Slackware 9.1
Posts: 48

Rep: Reputation: 15
Problems installing bitmap (Artwiz) fonts in 9.1 for use with Fluxbox


Hi all,
I've been trying out fluxbox recently (the bloat of KDE & Gnome was starting to wear me away) - anyway one of the many recommended things you can do is to install a set of bitmap (.pcf) fonts (the 'artwiz' pack) I've spent ages trying to get these installed, following how-to after how-to from all across the web and just can't seem to get anywhere.

Things that I've done so far that don't seem to have done much

extracted the fonts (14 .pcf files) to /home/crx/.fonts/
added above directory to XF86Config
added
Code:
Load "bitmap"
< to XF86Config load section
run
Code:
mkfontdir ~/.fonts
run
Code:
fc-cache -fv ./
which outputs:-
Code:
root@aleph:/home/crx# fc-cache -fv
fc-cache: "/usr/share/fonts": caching, 57 fonts, 0 dirs
fc-cache: "/usr/X11R6/lib/X11/fonts/TTF": caching, 57 fonts, 0 dirs
fc-cache: "/usr/X11R6/lib/X11/fonts/Type1": caching, 29 fonts, 0 dirs
fc-cache: "/root/.fonts": caching, 5 fonts, 0 dirs
fc-cache: "/home/crx/.fonts/": caching, 5 fonts, 0 dirs
fc-cache: succeeded
and restarted X

can't access the fonts still - so 2 main questions:-
1) why is it only saying 5 fonts in the output from fc-cache when there should be 14?
2) why is it not working?

secondary questions (if anybody happens to know)
3) what the hell does fc-cache do anyway?
4) whay don't the 5 that where apparently found by fc-cache not show up in any 'font-choosing' window
&
5) can I have a beer now?

Any thoughts, help etc greatly appreciated on this one, it's really driving me up the wall, I'm not sure how much I really want the fonts but it's become somewhat of a crusade now!

Thanks on and all,
Mlqds

PS - Relevant links that might be of interest:-
www.fluxmod.dk
www.fluxbox.org
feenix.burgiss.net/ldp/fdu/index.html
jmccoy.sdf-us.org/slackware9/config/fonts/fonts.php
 
Old 03-13-2004, 07:03 PM   #2
Kovacs
Member
 
Registered: Jul 2003
Distribution: FreeBSD 8.2 RELEASE
Posts: 607

Rep: Reputation: 32
This is how I install artwiz fonts:

Make a dir /usr/X11R6/lib/fonts/artwiz and copy all the pcf files there.
chmod 644 * (or 444 *, they just all have to be world readable).

fc-cache -fv . to build the fonts.* files for that dir

Add this to your XF86config in the appropriate place:
FontPath "/usr/X11R6/lib/X11/fonts/artwiz"

Add this to /etc/fonts/local.conf (very important):
<dir>/usr/X11R6/lib/fonts/artwiz</dir>

From what I understand, getting the fonts to show up for different apps is a question of making the different apps and toolkits aware of those fonts, which is basically what you're doing here.

Last edited by Kovacs; 03-13-2004 at 07:05 PM.
 
Old 03-14-2004, 08:45 AM   #3
melquiades
Member
 
Registered: Jul 2003
Location: Northern Scotland
Distribution: Slackware 9.1
Posts: 48

Original Poster
Rep: Reputation: 15
Hi Kovacs,
haha, yours is the cool fluxbox screenshot that got me interested in it in the first place! cheers mate! Right, back to the fonts, I tried what you wrote, and again it ended up with
Code:
fc-cache: "/usr/X11R6/lib/fonts/artwiz/": caching, 5 fonts, 0 dirs
and still I can't seem to access them - could you let me know of a program and/or dialog screen that you normally can see them in the font list? As you said I think it depends on which system/binding the app was programmed in, for example, I would imagine they should show up in the GKrellm font selector if they're available - at the minute I just keep trying all the font dialogs from loads of apps to see if I can see them but still no avail. Where can you see them on yours?
Amongst my google searching I came across a guy with a similar problem, he found that he couldn't access fixed-width fonts afetr compiling gnome 2.2.1, apparantly he says that the 'fontconfig' boys may have dropped support for fixed-width fonts? Is this right (surely not!) and could it be a factor in my troubles. FYI I am running a default (full) 9.1 installation with dropline gnome installed on top. Fluxbox is 0.9.8 - other than very little changes 'coz it's all afresh install from just a few days ago

He managed to get them working 'coz his were GZip'd so in extracted them then they worked. Well mine aint GZip'd so no luck there!

Any further ideas? This is truly wierd!

thanks, Mlqds
 
Old 03-14-2004, 09:25 AM   #4
melquiades
Member
 
Registered: Jul 2003
Location: Northern Scotland
Distribution: Slackware 9.1
Posts: 48

Original Poster
Rep: Reputation: 15
HAHA! Solved it! Using the 'probably-shouldn't-work-but-hell-I'll-give-it-a-try-anyway' technique I put GZip'd versions of the fonts into the directory and now everything is great! can access the fonts just like any others, free to use 'em anywhere! Yipee! On with the Fluxbox customisation weekend!
Thanks very much for your help Kovacs, it's very much appreciated - and thanks also for the inspiring screenshot!
Cheers!
 
  


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
Fluxbox and Artwiz fonts. crud Slackware 25 09-30-2005 05:19 PM
Problems installing artwiz fonts corbis_demon Fedora 2 10-07-2004 03:33 AM
Using Artwiz Aleczapka fonts in Fluxbox theme losmescaleros Linux - General 3 08-30-2004 07:59 PM
installing artwiz fonts macewan LinuxQuestions.org Member Success Stories 6 02-07-2004 09:15 AM
Artwiz fonts for fluxbox jISV Linux - General 0 04-14-2002 01:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:02 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