You are not logged in.
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.
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
Your rule might need "fixed" instead of, or as well as, "monospace".
Offline