LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 10-12-2004, 12:30 AM   #1
Mr-Imbroglio
LQ Newbie
 
Registered: Mar 2004
Distribution: slack10.1 :: kernel 2.6.10 :: nvidia6629
Posts: 23

Rep: Reputation: 15
new font problems....


alright, i've been using gnome for a while now, and with word that slack is soon gonna be dropping gnome i decided to give flux a go, i got fooling around with different themes and with transparencies and such when i realized that certain themes weren't working due to not having the fonts installed, so i grabbed the 3 artwiz-aleczapka fonts, artwiz-aleczapka-de-1.3/-en-1.3/-se1.3, upon following directions in the readme's, i unpacked all 3 fonts, and then did a "fc-cache -fv ./" in all 3 directories, after that i then added my FontPath to my xorg.conf directory, but the next step is where i'm having difficulties, i added the following to /etc/fonts/local.conf

Code:
<dir>/home/imbroglio/dwnlds/fonts/artwiz-aleczapka-en-1.3:unscaled</dir>
<dir>/home/imbroglio/dwnlds/fonts/artwiz-aleczapka-se-1.3:unscaled</dir>
<dir>/home/imbroglio/dwnlds/fonts/artwiz-aleczapka-de-1.3:unscaled</dir>
thats when i get a "Fontconfig error: "local.conf", line 2: junk after document element

so i was wondering if i did something wrong in the local.conf file, if so what do i need to add/change, any help is appreciated, thx

(*btw, the coded section is all that is contained in my local.conf file, i googled and found nothing, i'm hoping its as simple as just having to add something)
 
Old 10-12-2004, 01:22 AM   #2
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
I think you don't have to put :unscaled at the end, anyway, putting them in ~/.fonts will automatically include them since that directory is checked on fonts.conf.
 
Old 10-12-2004, 12:48 PM   #3
Mr-Imbroglio
LQ Newbie
 
Registered: Mar 2004
Distribution: slack10.1 :: kernel 2.6.10 :: nvidia6629
Posts: 23

Original Poster
Rep: Reputation: 15
okay so if i want them to be used globally, put the font directories under /root/.fonts?
 
Old 10-13-2004, 10:43 PM   #4
Mr-Imbroglio
LQ Newbie
 
Registered: Mar 2004
Distribution: slack10.1 :: kernel 2.6.10 :: nvidia6629
Posts: 23

Original Poster
Rep: Reputation: 15
bump, all i have to do is put font folders under /root/.font?
 
Old 10-13-2004, 11:38 PM   #5
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
No, if you want them globally put them in /usr/X11/lib/fonts/local
This directory isn't in xorg.conf as default so you have to add to it.
IE:
Code:
Section "Files"
        RgbPath      "/usr/X11R6/lib/X11/rgb"
        ModulePath   "/usr/X11R6/lib/modules"
        FontPath     "/usr/X11R6/lib/X11/fonts/misc/"
        FontPath     "/usr/X11R6/lib/X11/fonts/TTF/"
        FontPath     "/usr/X11R6/lib/X11/fonts/Speedo/"
        FontPath     "/usr/X11R6/lib/X11/fonts/Type1/"
        FontPath     "/usr/X11R6/lib/X11/fonts/CID/"
        FontPath     "/usr/X11R6/lib/X11/fonts/75dpi/"
        FontPath     "/usr/X11R6/lib/X11/fonts/100dpi/"
        FontPath     "/usr/X11R6/lib/X11/fonts/100dpi/"
        FontPath     "/usr/X11/lib/fonts/local"
EndSection
"/usr/X11/lib/fonts/local" is actually a symlink to "/usr/X11R6/lib/X11/fonts/local"

Oh and if you create /etc/fonts/local.conf file be sure that you put this at the beggining:
Code:
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
and this at the end:
Code:
</fontconfig>
Maybe you forgot about that and that's why it was telling you there was an error in the config file.

Last edited by gbonvehi; 10-14-2004 at 12:03 AM.
 
Old 09-25-2005, 07:16 PM   #6
pbhj
Member
 
Registered: Dec 2002
Location: UK
Distribution: Slackware 12; Ubuntu 7.10
Posts: 358

Rep: Reputation: 32
dvd::rip

The insertion of the !DOCTYPE and fontconfig tags (?xml was there already) worked for me when I had similar errors on dvdrip (Fontconfig error: "local.conf", line 5: junk after document element)

Thanks!

Last edited by pbhj; 09-25-2005 at 07:20 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
Font problems markb658 Red Hat 2 05-12-2005 02:00 PM
More font problems AndrewB Mandriva 3 03-25-2005 01:29 AM
Font pRoBLeMs :S the_sLiDe Linux - Software 6 11-30-2004 05:00 PM
Font problems... gpetzold Linux - Software 2 07-13-2003 01:56 PM
Font problems zybreak Slackware 4 02-02-2003 01:57 PM

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

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