Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Font not listed as monospace by fontconfig #4

Open
bound-variable opened this issue Aug 9, 2022 · 2 comments
Open

Font not listed as monospace by fontconfig #4

bound-variable opened this issue Aug 9, 2022 · 2 comments

Comments

@bound-variable
Copy link

Querying the fontconfig library with fc-list :spacing=100 fails to display Azeret as a monospaced font.

@BIOSMonkey
Copy link

Querying the fontconfig library with fc-list :spacing=100 fails to display Azeret as a monospaced font.

Just saw the same. Monospaced flag not set, which prevents it from showing up in some apps as an available programming font.

@djpohly
Copy link

djpohly commented Jul 7, 2023

As a workaround, you can drop the following configuration into a .conf file in ~/.config/fontconfig/conf.d/ or /etc/fontconfig/conf.d/:

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
    <match target="font">
        <test name="family">
            <string>Azeret Mono</string>
        </test>
        <edit name="spacing" mode="assign">
            <const>mono</const>
        </edit>
    </match>
</fontconfig>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants