Font Rendering Follow
I know this topic has been discussed but I could not find any answer regarding how to properly display font on my screen.
When I compare the font rendering between Webstorm/Intellij'Idea and VSCode/Atom/Visual Studio the fonts look different.
In Webstorm the font rendering is not "smooth", we can see that there are "missing" pixels"
To make things clear I compared IDE font rendering with the same :
- Font Size
I tried to change the Antialiasing without any improvement in any of the available modes (currently keeping the default SubPixel).
I have compared this behaviour on Windows 10. I can compare it on Mac if necessary.
Any solution/plugin available to improve font rendering?
Please sign in to leave a comment.
What font/antialiasing settings did you try? What is your screen resolution? What IDE buuild do you work with?
Screenshots that show up the issue might be helpful
Same here, using windows 10, Fira Code font, subpixel antialiasing, somehow grayscale looks better and that should not happen. (intelliJ and Webstorm, both updated).
Same font with same configurations looks way much better on Ubuntu.
Sorry for the late reply please see all the differences in the attached screenshot.
All these differences do not apply to any other IDE I have been using. Only the Intellj'Idea family.
These differences reduce the readability of the code.
Antialiasing : As explained I tried all the options
Resolution : Tried on 4 different screens :
IDE Build : 2017.3.4
what font is being used? What do the results look like when using 'subpixel' antialiasing?
Note that this is JDK that is responsible for font rendering in WebStorm, etc.
Font is Consolas.
The screenshot has been taken with subpixel.
Even if the JDK is responsible for font rendering, could you try to ask why there is such a problem.
I can see a post (https://intellij-support.jetbrains.com/hc/en-us/community/posts/206307339-IDEA-renders-fonts-differently-than-other-applications-in-Windows) on this same forum dated from 2007 without any answer. It means that this problem has been there for at least 11 years now.
I also found this post : https://codeyarns.com/2015/10/21/how-to-fix-font-of-intellij/. But it is targeting linux but I could not find any solution for windows.
Thanks for your help.
Please see https://youtrack.jetbrains.com/issue/JRE-48#comment=27-1956116 for possible workaround.
>Even if the JDK is responsible for font rendering, could you try to ask why there is such a problem
There are plently of known issues Oracle is not eager to fix. That's why JetBrains is using its own patched JRE for running IDEs by default - this JRE is based on OpenJDK and includes many fixes related to aliasing, HIDPI support, etc.
See https://confluence.jetbrains.com/display/JRE/Fonts+Layout+Rendering for details on font rendering in OpenJDK
IntelliJ doesn't use DirectWrite to render fonts (which is used by all the other products you quote). The font rendering system used by Java (GDI) is old and very limited.
Is fixing this anywhere on the roadmap? This is a dealbreaker for using Rider on Windows.
goland 2019.1 do not fix this problem.
The products are magnificent, state of the art, but damn this java font rendering, sorry but the IDE and Code fonts are terrible compared with other editors... The products are magnificent, state of art, but damn this java font rendering....
I have 1680x1050. So any fonts in Webstorm looks terrible. Somebody find fix for it in Windows?
Try using the bundled JBR instead of Oracle java - does it make things any better?
I think its alredy use:
Runtime version: 11.0.9+11-b1145.21 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
But oracle JVM also instaled on my pc.
So "lcd.contrast.value" set to 250 in registry make fonts some better, but it still not like in vscode for example