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

Linux - JetBrains Rider - Only "MonoLisa Bold" is shown in the monospaced font list #42

Closed
bebraw opened this issue Oct 26, 2020 · 25 comments
Assignees

Comments

@bebraw
Copy link
Contributor

bebraw commented Oct 26, 2020

See gif below:

monolisa

The correct behavior would be to show "MonoLisa Regular" and possible other options as well in addition to "MonoLisa Bold".

@MarcusSterz
Copy link

@mekkablue Can you have a look?

@mekkablue
Copy link

Which OS?

@bebraw
Copy link
Contributor Author

bebraw commented Nov 4, 2020

@mekkablue It looks like some Windows or Linux but I'll ask the reporter to know for sure. I wonder if the issue is specific to this specific IDE. Could it be that some metadata is off or can the issue be on their side?

@lzybkr
Copy link

lzybkr commented Nov 4, 2020

This is Windows 10. I wouldn't rule out anything, but I reported the issue here first because one of the styles is handled correctly.

@bebraw
Copy link
Contributor Author

bebraw commented Dec 3, 2020

Based on a user, this occurs in PhpStorm as well on Windows.

@TiiFuchs
Copy link

TiiFuchs commented Dec 3, 2020

Based on a user, this occurs in PhpStorm as well on Windows.

That user be me, so if there are any further questions. I'm happy if I can assist in some way. :)

@bebraw
Copy link
Contributor Author

bebraw commented Dec 3, 2020

@TiiFuchs Note that workaround shown in the gif - you can select MonoLisa if you uncheck the "show monospaced fonts". Somehow it seems to get categorized wrongly.

@TiiFuchs
Copy link

TiiFuchs commented Dec 3, 2020

@bebraw Good to know. That worked. Thanks for the workaround! :)

@MarcusSterz
Copy link

@mekkablue Any idea what could be the problem?

@mekkablue
Copy link

I could not replicate the menu issue exactly like in the screenshots. But something similar: It displayed te regular MonoLisa and the Bold Italic in the menu

Will try again with 1.60X and introduce PANOSE settings, perhaps the app scans for those.

@bebraw
Copy link
Contributor Author

bebraw commented Jan 21, 2021

@mekkablue I tested the fixed version with PANOSE settings under Windows 10. It seems adding that metadata doesn't fix the issue.

I found out that you can see the faulty name even in Windows 10 itself if you navigate to C:\Windows\Fonts. It shows the font family name as MonoLisa Bold there and I believe it's possible JetBrains editors pick up the name from the system level so the issue may not be restricted to that specific editor.

I'm not sure if it's related but MonoLisa Bold is the first font on the list of files when they are sorted alphabetically. Is it possible Windows is picking up the name from there somehow?

@bebraw
Copy link
Contributor Author

bebraw commented Jan 22, 2021

@mekkablue To provide more info, I tested using the ttf format (copied over to the Fonts directory) with the Plus package.

Likely the main thing would be to get the issue reproduce for you under Windows 10. As mentioned above, you should be able to see the wrong name in Windows itself.

@bebraw
Copy link
Contributor Author

bebraw commented Jan 22, 2021

@mekkablue I have more info. I found this service: https://fontdrop.info/ . Check out the output for MonoLisa Black:

Screen Shot 2021-01-22 at 15 39 55

Here's Fira Code for comparison (otf, though):

Screen Shot 2021-01-22 at 15 41 14

If I'm interpreting correctly, the fontFamily field is set wrongly for MonoLisa under ttf. It should be simply MonoLisa instead of MonoLisa Black. I imagine that's what Windows is using for grouping the fonts. Could that be it?

@mekkablue
Copy link

No. You compared a RIBBI font with a non-RIBBI font. What you suggest only applies to a RIBBI font.

@bebraw
Copy link
Contributor Author

bebraw commented Jan 22, 2021

Ok, regardless it's maybe worth checking the font metadata.

I guess ideally you would have Windows 10 available somehow. Even a virtual machine is enough for testing this and you won't need even JetBrains to see the behavior as it's visible in Windows itself.

@mekkablue
Copy link

mekkablue commented Feb 3, 2021

The RIBBI style linking was wrong for Bold Italic and Black Italic 1.602. Not sure how long it has been wrong now, but it would explain the anomalies with the Bold and Bold Italic styles. Fixed in the source files in my most recent commit.

@bebraw
Copy link
Contributor Author

bebraw commented Feb 3, 2021

@mekkablue Cool to hear you found a fix. 👍

@bebraw bebraw closed this as completed Feb 18, 2021
@ninthspace
Copy link

I still have this issue with 1.603 and PhpStorm. Below screenshot illustrates that assigning anything Bold makes the corresponding text appear as Bold Italic. I'm also trying to diagnose with JetBrains' assistance. https://youtrack.jetbrains.com/issue/IDEA-262765

Screenshot from 2021-03-09 09-33-21

My OS is Zorin 15.3.

@bebraw bebraw reopened this Mar 9, 2021
@bebraw bebraw changed the title JetBrains Rider - Only "MonoLisa Bold" is shown in the monospaced font list Linux - JetBrains Rider - Only "MonoLisa Bold" is shown in the monospaced font list Apr 8, 2021
@nashpatty
Copy link

Also having a similar issue in PHPStorm 2021.1.2. But in my case, MonoLisa isn't showing up in the fonts list at all.
Works great in VSCode and windows terminal etc.

@dinhquochan
Copy link

@nashpatty what's your OS? In below screenshot, in Manjaro with PhpStorm 2021.1.2, It's showing properly. Let's try download newest version, remove/uninstall old fonts and re-install.

image

@nashpatty
Copy link

nashpatty commented May 18, 2021

@dinhquochan

I'm on windows. I installed the OTF version before. I uninstalled and reinstalled TTF, and it works now.
Is there a discrepancy for windows/OTF? It was working in everything but PhpStorm.

@dinhquochan
Copy link

@nashpatty @bebraw Just Install OTF version on JetBrains Raider (Windows 10), Do both restart editor and os, but doesn't see MonoLisa on fonts panel. But I remove OTF version and install TTF version, It's worked!

image

@dinhquochan
Copy link

Just update the issue, I install latest version (1.801), Windows Jetbrain Rider still ugly.

image

Below, Jetbrains Mono:

image

@dinhquochan
Copy link

I think it is a Windows issue, Windows programs prefer TTF over OTF. Especially the Java ones. It's a weird issue on HiDPI 🤦‍♂️
Below, just remove OTF version and install TFF version.

image

Ref tonsky/FiraCode#693.

@bebraw
Copy link
Contributor Author

bebraw commented Sep 20, 2021

Let's close as a solution was found. To solve, please use TTF on Windows.

@bebraw bebraw closed this as completed Sep 20, 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

8 participants