Nimbus Sans Condensed being selected over Nimbus Sans

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> > How do I specify this in .fonts.conf. <prefer> only sems to work with
> > font familes, not styles.
>
> You could add a specific style name to the pattern, but you'd have to be
> very careful as it will compare the whole string.  Look over the match/edit
> rules in the fontconfig user documentation (linked from the
> http://fontconfig.org page)

So I tried this:

<match target="pattern">
                <test qual="any" name="style" compare="not_eq">
                        <string>Regular</string>
                </test>
                <edit name="style" mode="assign_replace">
                        <string>Regular</string>
                </edit>
</match>

Just hoping to always get Regular, as a start. How can I debug that this is 
doing anything? Running fc-cache will parse the file (and complain when I do 
something wrong.) But the KDE look is still condensed.

Thanks,

Frank



[Index of Archives]     [Fedora Fonts]     [Fedora Users]     [Fedora Cloud]     [Kernel]     [Fedora Packaging]     [Fedora Desktop]     [PAM]     [Gimp Graphics Editor]     [Yosemite News]

  Powered by Linux