You are not logged in.

#1 2011-09-28 05:38:43

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,059

prevent usage of "Clean" font [SOLVED]

I tried using the solution from this thread:

https://bbs.archlinux.org/viewtopic.php?pid=532370

<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
<selectfont>
  <rejectfont>
    <pattern>
      <patelt name="family">
        <string>Clean</string>
      </patelt>
    </pattern>
  </rejectfont>
</selectfont>
</fontconfig>

And I also tried using the replace font example from this wiki page:

<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
<match target="pattern" name="family" >
    <test name="family" qual="any" >
        <string>Clean</string>
    </test>
    <edit name="family" mode="assign">
        <string>DejaVu Sans</string>
    </edit>
</match>
</fontconfig>

But neither works. Permissions seems fine on the file. Does the file need proper indention? Or maybe the syntax is off?

BTW I do not want to install ttf-ms-fonts nor do I want to change Firefox's font settings. And I don't want to disable bitmap fonts either since I use Terminus.

Edit: I found my problem:

https://bbs.archlinux.org/viewtopic.php?id=134847

Last edited by anonymous_user (2012-02-21 03:00:30)

Offline

Board footer

Powered by FluxBB