Closed sandikata closed 1 year ago
The font size is measured in points not pixels. Using points allows the text size to remain consistent when wezterm windows are shown on monitors with different pixel densities.
The pixel size is computed using the dpi of your display:
$$ pixelheight = {fontsize * dpi \over 72} $$
Note that if you are using a bitmap font, then wezterm will use the closest available pixel strike to the computed pixel height, because bitmap fonts are not scalable.
See also:
well, i am using Noto Fonts.
So,
fontsize=12 * dpi=96 (default)
But it doesn't seems to match it.
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
What Operating System(s) are you seeing this problem on?
Linux X11
Which Wayland compositor or X11 Window manager(s) are you using?
Mutter
WezTerm version
wezterm 20221115-153845-35fd69b0
Did you try the latest nightly build to see if the issue is better (or worse!) than your current version?
Yes, and I updated the version box above to show the version of the nightly that I tried
Describe the bug
Font rendering is somehow wrong in order to height.
Font size 12px looks like 8-10px Compared to terminals like alacritty or gnome-terminal with 12px i have to raise font size up to 15 - 16px to match 12px on alacritty or gnome-terminal or whatever terminal
To Reproduce
Set any font to 12 and compare with another terminal with 12px font size
Configuration
Expected Behavior
fonts to be properly rendered
Logs
No response
Anything else?
No response