-
Notifications
You must be signed in to change notification settings - Fork 257
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
These fonts are unusable in modern IDEs and editors. #111
Comments
This seems to be a platform-specific issue, because macOS recognizes the fonts as fixed width, and they can be used in Xcode and other developer tools. |
They can be used with Xcode, but as mentioned in issue #23 most of the fancy font features don't work. |
@jbehrens94 have you dug around the typography settings? I found them helpful in Monterey, where they even showed the texture healing as an option by name. Ventura, less so, but I'll post some screen shots so people know where to look after they open the Fonts dialog: These work in Terminal.app. I have not checked them in XCode.app. |
@garthk They don't work in Xcode. You can open and change typography settings but @jbehrens94 is correct, they have no effect. |
I have to agree - these fonts, as-is, are nearly useless on Windows. Only those very few applications that have a convenient configuration file AND are willing to use variable-pitch fonts (iow: VS Code and very little else) can use Monaspace; everything else doesn't recognize it as a valid monospace font. The PANOSE "Proportion" field in all the fonts is currently unset (or set to "Any", same net effect) whereas it needs to be set to "Monospace" to be visible in most editors/terminal emulators. I'm unsure how to change this in the Monaspace build, but in FontForge at least, the setting can be found at Element->Font Info->OS/2->Panose->Proportion. I'm just not willing to manually edit 100+ files... |
Ah, someone beat me to it, on #17. |
Nerd Font automatically fixes the Panose flags on patching. The patched font seems to be working on Windows, at least it shows. Resources: The results on Windows are kind of mixed. While it shows in bold (i.e. Maybe you can try things out and report. Screenshots: P.S.: The archive is |
Hi @Finii The patched font is visible in windows terminal. In IntelliJ ligatures are missing, and it is only visible if it is installed for all users (required admin rights). I think this is because it is OTF type. The other font wights are missing (Extra Light, Light, Semi Light, Medium, Semi Bold...). Also, other flavors are missing (Argon, Xenon, Radon, Krypton). This is only Neon. |
Well, for Nerd Fonts you just need to add So usually you need to stay in the realm that the original font manufacturer choose, because the look will be different (in small details). As font designer I also would not want to support both, because usually the look will be different. Some weights I did not include [1] in the Nerd Font set, because I deemed them 'not useful' for terminal use. But Medium is there: If you think other weights are useful, let me know. I just want to limit the number of sub-fonts in Nerd Fonts.
Correct. I just put one style here, as that should be sufficient to check if this threads problem (not usable in IDEs) would be fixed with the Nerd Fonts versions, because then we specifically know what needs to change in the original (this repo's) font to make them work. The Nerd Fonts patcher tells users what quirks it fixes in to-be-patched fonts to make them usable ;-) For example, as mentioned already in a lot places, Panose: $ fontforge font-patcher --debug 2 --dry src/unpatched-fonts/Monaspace/Krypton/MonaspaceKrypton-MediumItalic.otf --makegroups 4
Nerd Fonts Patcher v3.0.2-167 (4.7.1) (ff 20230101)
DEBUG: Naming mode 4
DEBUG: Monospace check: Panose is invalid ([0, 0, 0, 0, 0, 0, 0, 0, 0, 0]); glyph-width-mono True
INFO: Setting Panose 'Family Kind' to 'Latin Text and Display' (was 'Any')
INFO: Setting Panose 'Proportion' to 'Monospaced' (was 'Any')
INFO: Redistributing line gap of 400 (200 top and 200 bottom)
DEBUG: Extended glyphs wider bounding box than basic glyphs
DEBUG: Font has negative right side bearing in extended glyphs
DEBUG: Final font cell dimensions 1240 w x 2400 h
... So the aim here was not to provide people with a Nerd Fonts version but to help Githubnext fix bugs. Addendum: You note this: These ligatures (I guess you expected them there) are not active by default but are extended typographic features [2], like stylistic set (SS), that you need to activate in your IDE (I have no clue about IntelliJ). [1] ryanoasis/nerd-fonts@05c7514 Edit: Add missing word 'Panose' :-D |
Hi @Finii thanks for the response. For me the normal/400 weight is too thick for my taste, it will be nice that patched fonts keep all weights from original font. But this is only my opinion. Nevertheless, nerd font patcher is available to everyone, so anyone can build their own version. |
That means SemiLight combined with SemiBold? Or SemiLight combined with Medium? |
@Finii And only to mention, Cascadia font is installed for current user only and it is accessible from all below apps. |
If you self patch I can show you how you create a RIBBI font group of whatever weights you want. |
@Finii , I am using docker nerd font patcher image to quickly patch all fonts in the folder: docker run --rm -v /path/to/fonts:/in:Z -v /path/for/output:/out:Z nerdfonts/patcher [OPTIONS] Maybe, I can use It will be nice if you can share some easy way for this. Some applications, especially on windows, does not understand these in the middle font weights. |
There is a new feature in
[1] https://github.com/ryanoasis/nerd-fonts/wiki/ScriptOptions |
Installed the TTF flavors from release version 1.000 in Windows 11, and there are a number of immediate issues trying to use them with Terminal:
Seems like Windows support just didn't get much attention, which is ironic. |
I guess this is #117. Maybe try the static versions. |
Seems like that would sacrifice a lot of the novelty of these fonts though. |
@HunterZ That Monaspace is a variable font is the novelty for you? 🤔 I thought VF is the new normal 😬 |
Whoops, GH auto closed this when I merged #125 We'll produce a new build soon and check that this (and related issues) are solved. |
Apparently the font still has this issue, it doesnt really work with gnome terminal (not detected) or any jetbrains ide (no ligatures or texture healing), when will a build be made with that fixed? |
Hi, there is only two issues here for me:
All other features like ligatures, texture healing, variable width... are specific open type font standard features, which are relatively new, are only supported with small number of editors and terminals (I think under windows those features are fully supported in vscode and wizterm, but need to be explicitly enabled, e.g. for vscode In general, those open type standard features only work for web-based rendering engines, native apps still do not support them (maybe because need to be implemented on OS level). And by me, this is disappointing because this gives advantage to electron-like instead of native applications. |
While "texture healing" is a novel concept it uses the very old contextual alternatives I believe we have found out why the font is not detected by Maybe you can try Why JetBrains does not show the "texture healing" is beyond me. This is technically no "advanced" feature like ligatures or variable fonts. With this electron versus 'native', I have no clue, I work only in terminals with real native (i.e. textmode) applications :-D |
If you like a stylistic set (for example SS02: Special rendering of <= and >=) and your IDE does not support stylistic sets, I believe you can just "turn it on as default" in the font file with for example https://github.com/MuTsunTsai/fontfreeze. |
What's the status on the font being recognized as monospaced? Right now, I can't use this font with the Kitty terminal because it is an absolute requirement that the font be recognizable as monospaced. |
Wait a minute, that's what #125 is about! 🤦 |
Waiting for the new release! |
3 months later, and this project is looking kind of abandoned. Oh well :( |
It's still not fixed and it's really sad, I would've hoped that GitHub would be more professional and responsible than this. |
Has this really been abandoned? 😕 I mean, the radio silence is not exactly reassuring but I'm still hoping that they are just fixing all of the issues reported. Can @idan or somebody else from the GH team shed some light on this? |
There have been no updates to any registered branches in five months. This thing is toast |
However, I installed the 42 individual fonts for the two faces that I liked in particular, and that almost worked out? There is some odd behavior with the semi-wide fonts showing up as a separate face: But... not as odd as some of my code in Eclipse... And in these comments, the numbers were somehow displaced to the beginning? And that blue blurb at the bottom is supposed to be @test: |
Not toast! Work is happening, just not in the public eye. Stay tuned, I know it's frustrating! |
Thanks for the reassurance. I look forward to whatever you have cooking. |
I am really happy to see I was wrong. Huge thanks to all at Github and Lettermatic for the update. It's awesome to see that this typeface is still being worked on and improved. |
Yup, these are from Eclipse 2024-03 on Windows 11 Home version 10.0.22631. |
OK. Thanks. |
Panose flags were fixed in version 1.1, which will resolve a lot of the issues in this thread regarding programs not recognizing the fonts. The 1.2 update will also include static fonts with all ligatures enabled by default, which will make the fonts compatible with programs that do not support enabling stylistic sets, like IntelliJ IDEA. |
Because `isFixedPitch` is not set, the record in the POST Table `isFixedPitch` has zero value. Please refer to these: - https://learn.microsoft.com/en-us/typography/opentype/spec/post#header - https://googlefonts.github.io/gf-guide/requirements.html#monospace-fonts
Not sure how much this is related, but I didn't mange to make it work on PHP Storm. Tried installing both OTF and TTF versions. IDE just wouldn't pick up the fonts. While searching, I found multiple posts saying, that for IntelliJ to pick up fonts, they need to have at least 4 versions:
I noticed, Normal is not in the package, but Regular is. Could this be the reason? Or is it still something that was discussed here? I tried latest v1.101 Edit: Ah.. Installed for all users and fonts appeared. Still no ligatures, but that's another issue |
Maybe #111 (comment) helps? |
I'm on IntelliJ and ligatures are enabled. Unless I'm missing something more. |
Hello, I'm using Jetbrains IDE (PHPStorm) and can't see ANY of the LOTs of Monaspace fonts I installed. They aren't listed at ALL in the IDE. Neither monospace nor proportional. No monaspace font is listed in my IDE. ANy news on this? Any new release with this fix is planned or anything? Thanks in advance. |
Until githubnext/monaspace#111 is fixed/its PRs are merged.
Closing this as a dupe of #20 |
Hi,
Thanks for this grate work, but this is not usable at all.
The text was updated successfully, but these errors were encountered: