LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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, 01: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, 02:22 AM   #2
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 51
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, 01: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, 11: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-14-2004, 12:38 AM   #5
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 51
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 01:03 AM.
 
Old 09-25-2005, 08:16 PM   #6
pbhj
Member
 
Registered: Dec 2002
Location: UK
Distribution: Slackware 12; Ubuntu 7.10
Posts: 358

Rep: Reputation: 31
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 08: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 03:00 PM
More font problems AndrewB Mandriva 3 03-25-2005 02:29 AM
Font pRoBLeMs :S the_sLiDe Linux - Software 6 11-30-2004 06:00 PM
Font problems... gpetzold Linux - Software 2 07-13-2003 02:56 PM
Font problems zybreak Slackware 4 02-02-2003 02:57 PM


All times are GMT -5. The time now is 12:36 AM.

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