Font Jetbrains Mono, 13 (Font height for SO: Windows)
On Windows, the JetbrainsMono font height 13 is greater than on Ubuntu.
The font in windows with size 13 actually appears to be 14. Size 12 is too small. It's as if there was an intermediate size missing between size 12 and 13.
I thought it was due to the difference in rendering on each OS.
However, I tested the old JetbrainsMono Font that are at https://github.com/JetBrains/JetBrainsMono/releases
I tested JetBrainsMono Font (v1.0.6)
https://github.com/JetBrains/JetBrainsMono/releases/tag/v1.0.6
This old v1.0.6 font on Windows has the same height as the v2.304 font (latest release) on Ubuntu.
Then I noticed that there was a change in the height of the JetBrainsMono font for Windows OS starting from version v2.000 which is the version following v1.0.6.
So, there was a change in font height for Windows throughout the releases; That's right?
As I said above: Size 13 is too big, and 12 is too small(Windows). An intermediate size is missing between the two, and this can be seen in the old releases.
IntelliJ IDEA 2023.2.2 (Community Edition)
Build #IC-232.9921.47, built on September 12, 2023
Runtime version: 17.0.8+7-b1000.22 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Windows 10.0
GC: G1 Young Generation, G1 Old Generation
Memory: 2048M
Cores: 12
Registry:
ide.experimental.ui=true
Kotlin: 232-1.9.0-IJ9921.47
Please sign in to leave a comment.
goliv sorry for the delay in response. Indeed we changed font hinting, that is, how the rasterizer interprets the font and this might depend on the OS and display resolution / scaling, as well as on IDE zoom.
Could you please clarify how exactly you compare different font versions on Windows? Do you view it right in the IDE or use some other software for that?
What is your display resolution and scaling and have you applied IDE zoom? You can check this in IDE
Settings | Appearance & Behavior | Appearance
.What is your Ubuntu exact version? Is it running Wayland or x11 session (see the output of
echo $XDG_SESSION_TYPE
command in the OS terminal)?Thank you for your feedback, more information below.
I compare different fonts using the IDE.
Screen: 1920x1080
Linux:
I use the default IDE settings
Ubuntu 22.04.3 LTS
Wayland
Windows 10:
I use the default IDE settings
goliv sorry, no luck to reproduce the issue. I tried replacing the default JB mono font in IDEA Ultimate 2023.2.2 with the 1.0.6 version and I don't see any difference in 12/13 font sizes between different versions on a display with 1920 x 1080 (125% and 150% scaling).
Could you please specify what scaling is set for your display?
Would it be possible for you to share screenshots with the size difference visible on Windows for JB Mono 12 and 13 between v2.304 and v1.0.6? It would be great if you make screenshots of IDE `Settings | Editor | Font` where both font preview and it settings can be seen. Thank you for your time and collaboration.
Thank you for your attention:
Below are some pictures
Note that font 12 does not differ in size for versions 1.0.6 and 2.304.
Font 13 has its size changed between versions 1.0.6 and 2.304
- Monitor with 100% scale
Windows - JetbrainsMono Font 13 (v1.0.6 and v2.304)
Windows - JetbrainsMono Font 12 (v1.0.6 and v2.304)
For all:
goliv thank you, reproduced. I filed a ticket to our tracker IDEA-333626 and currently wait the font designer to reply. I'll let you know as soon as I have any updates.
goliv I'm sorry for not getting back to you that long.
Here's the response from the font designer: