You are not logged in.

#1 2010-05-23 18:33:33

z33m
Member
Registered: 2010-05-07
Posts: 12

Openbox Monaco font problem [SOLVED]

Im trying to setup a minimal desktop with openbox. I noticed these weird font rendering issues with Monaco font. Below font size 13, alternate font sizes are rendered in an aliased, ugly manner. The same installation has no problem rendering Monaco font when running under xfce.

screenshot0523201009554.png

I tried tweaking .fonts.conf but no luck sad

Last edited by z33m (2010-05-24 02:36:45)

Offline

#2 2010-05-24 02:35:38

z33m
Member
Registered: 2010-05-07
Posts: 12

Re: Openbox Monaco font problem [SOLVED]

Fixed it. It seems these fonts have problem with auto-hinting. So i added a test condition to switch off auto-hinting for Monaco font.
My .fonts.conf now looks like this

<?xml version="1.0" ?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>

      <match target="font">
        <edit name="antialias" mode="assign">
            <bool>true</bool>
        </edit>
      </match>

      <match target="font">
        <edit name="autohint" mode="assign">
            <bool>true</bool>
        </edit>
      </match>

      <match target="font">
        <test name="family" qual="any">
            <string>Monaco</string>
        </test>
        <edit name="hintstyle" mode="assign">
            <const>hintnone</const>
        </edit>
      </match>

</fontconfig>

Last edited by z33m (2010-05-24 02:35:58)

Offline

Board footer

Powered by FluxBB