1

In ~/.config/fontconfig/fonts.conf there is a rule excluding fonts from loading with firefox but given .fonts folder is blacklisted not only for firefox but for all others applications. Is there a way to blacklist some fonts only for specified application eg. firefox ?

<match>
    <test name="prgname">
        <string>firefox</string>
    </test>
        <selectfont>
            <rejectfont>
                <glob>/home/someuser/.fonts/*</glob>
            </rejectfont>
        </selectfont>
</match>

Seems like prgname is ignored. The same happened when rejecting specified font <string> instead of <glob>. Why is that ?


fontconfig: 2.13.1-4.4
fontconfig-config: 2.13.1-4.4
DE: Gnome 42

3

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.