View previous topic :: View next topic |
Author |
Message |
dswissmiss Guru
Joined: 23 May 2004 Posts: 498 Location: New York
|
Posted: Wed Jun 29, 2005 12:15 am Post subject: something wrong with ~/.fonts.conf |
|
|
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 |
|
|
fctk Veteran
Joined: 28 Jan 2004 Posts: 1424 Location: Milan, Italy, EU
|
Posted: Wed Jun 29, 2005 7:41 am Post subject: |
|
|
you miss a:
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 |
|
|
dswissmiss Guru
Joined: 23 May 2004 Posts: 498 Location: New York
|
Posted: Wed Jun 29, 2005 10:04 pm Post subject: |
|
|
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 |
|
|
|