Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
something wrong with ~/.fonts.conf
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
dswissmiss
Guru
Guru


Joined: 23 May 2004
Posts: 498
Location: New York

PostPosted: Wed Jun 29, 2005 12:15 am    Post subject: something wrong with ~/.fonts.conf Reply with quote

Hi,

I followed this guide to set up my fonts, but now when I type fc-cache into the console I get this error:
Code:
 fc-cache
Fontconfig error: "~/.fonts.conf", line 24: not well-formed (invalid token)


Here's my ~/.fonts.conf
Code:

<?xml version="1.0"?>
 <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
 <!-- /etc/fonts.conf file to configure system font access -->

 <!-- Autohint fonts
         <match target="font">
                 <edit name="autohint" mode="assign"><bool>true</bool> </edit>
         </match>
 -->

<!-- Antialias -->

 <match target="font">
         <test qual="any" name="size" compare="more">
                 <double>8</double>
         </test>
         <test qual="any" name="size" compare="less">
                 <double>15</double>
         </test>
         <edit name="antialias" mode="assign">
                 <bool>true</bool>
         </edit>
 </match>
 
</fontconfig>


line 24 is the last one btw, and I can't see anything wrong with it...any ideas? It causes bad slowdowns when I try to su.

Thank you
Dswissmiss
_________________
screenshots
Back to top
View user's profile Send private message
fctk
Veteran
Veteran


Joined: 28 Jan 2004
Posts: 1424
Location: Milan, Italy, EU

PostPosted: Wed Jun 29, 2005 7:41 am    Post subject: Reply with quote

you miss a:
Code:
<fontconfig>

tag at the beginning of the file.
i suggest you to put that line after:
Code:
<!-- /etc/fonts.conf file to configure system font access -->
Back to top
View user's profile Send private message
dswissmiss
Guru
Guru


Joined: 23 May 2004
Posts: 498
Location: New York

PostPosted: Wed Jun 29, 2005 10:04 pm    Post subject: Reply with quote

Cool, thanx a lot!
fc-cache works without errors now, but when I try to su it still takes about 15 seconds.
_________________
screenshots
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum