You are not logged in.

#1 2008-09-15 16:17:57

KSiimson
Member
Registered: 2007-06-16
Posts: 37

Assistance with font configuration /etc/fonts/local.conf

Hello,

I would like to replace all non-monospace fonts with Semplice Regular, size 6px, and all Monospace fonts with Profont, size 8.

After messing around with the configuration for two days, I have come to a sad realization that I have no clue. hmm

In particular, these lines of code amaze me the most:

<match target="pattern" name="family">
        <test name="family" qual="any" compare="not_eq" >
          <string>monospace</string>
    </test>
        <edit mode="assign" name="family" >
          <string>Semplice Regular</string>
        </edit>
</match>

I would expect that it would replace all-monospace with Semplice Regular, leaving the size unmodified for now as I was trying to get at least something working. However, what it does, is that it makes me unable to use almost all fonts and replaces those with a generic one.

Could someone enlighten me on the matter? Thank you!

fc-list

...
Semplice Regular:style=Regular
...

Last edited by KSiimson (2008-09-15 16:19:28)

Offline

#2 2008-09-29 21:55:00

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: Assistance with font configuration /etc/fonts/local.conf

Your rule might need "fixed" instead of, or as well as, "monospace".

Offline

Board footer

Powered by FluxBB