-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Flycheck incompatible with fonts containing dashes in the fontname #6065
Comments
According to the maintainer of flycheck it is probably not an issue with flycheck itself; flycheck/flycheck#967 |
The font is probably not listed as On linux you can get the list with |
Hi, so I get this output:
some more details with fc-list -v
I don't see any names without the dash unfortunately. I tried using "dzForPowerline" but that doesn't work, spacemacs reverts to the default Monaco font. Perhaps i'll just try to rename the font. |
Ok, I don't know how to handle such cases then, sorry. |
I can confirm this issue exists also on Linux. I believe that the error is with FlyCheck though as it appears to be independent on the default font within Spacemacs. In my case, I'm trying to use
I load the font with:
I have tried escaping the In both cases, FlyCheck has the same error message. As a result, I started suspecting that FlyCheck was getting the font from somewhere else and indeed it seems to be the case. I changed my default monospace font on my system (within Gnome Tweak Tools) to Fira Code, and FlyCheck no longer has the issue, despite |
@JP-Ellis The only solution I know of is renaming the font to something that doesn't contain a hyphen. I wrote a StackExchange answer that accomplishes this using Python fonttools. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Please let us know if this issue is still valid! |
Description
Flycheck gives me an error in Spacemacs on OS X El Capitan:
After searching a bit around, the only solution I found was to rename the font on the system, or use it as the default Monospace font.
Please let me know if you need any more information or if there is any way I can help.
Reproduction guide
Observed behaviour:
Flycheck doesn't display a popup, but instead gives the error in the statusbar:
Expected behaviour:
Expected behavior woudl be to see a flycheck popup with the syntaxchecking message
System Info
Backtrace
The text was updated successfully, but these errors were encountered: