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

why my linux machine doesn't recognize this font as monospace font? #1123

Closed
AtifChy opened this issue Sep 10, 2020 · 5 comments
Closed

why my linux machine doesn't recognize this font as monospace font? #1123

AtifChy opened this issue Sep 10, 2020 · 5 comments
Milestone

Comments

@AtifChy
Copy link

AtifChy commented Sep 10, 2020

No description provided.

@tonsky
Copy link
Owner

tonsky commented Sep 10, 2020

Fira Code is double-width right now. If you are willing to wait until v6, it should be strict monospace and might improve your situation

@alexeyten
Copy link

alexeyten commented Sep 10, 2020

You could try to fix this in fontsconfig

Put this to ~/.fonts.conf or ~/.config/fontconfig/conf.d/fira-code.conf

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
    <match target="scan">
        <test name="family" compare="eq">
            <string>Fira Code</string>
        </test>
        <edit name="spacing" mode="assign_replace">
            <const>mono</const>
        </edit>
    </match>
</fontconfig>

@tonsky
Copy link
Owner

tonsky commented Oct 8, 2020

@AtifChy can you please check that this build works for you?

Fira_Code_v6.zip

@tonsky tonsky added this to the 6 milestone Oct 8, 2020
@AtifChy
Copy link
Author

AtifChy commented Oct 16, 2020

@tonsky my linux machine is showing it as both normal font and monospace font.

@tonsky
Copy link
Owner

tonsky commented Oct 16, 2020

Awesome, thanks!

@tonsky tonsky closed this as completed Nov 29, 2021
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