wm3 icon indicating copy to clipboard operation
wm3 copied to clipboard

Italic font seems not use italic variant font file

Open crystalfp opened this issue 5 years ago • 3 comments
trafficstars

I modified "main_font_list" to add "JetBrains Mono" font installed on my machine. This is the same font I use in Microsoft Visual Studio Code.

The problem with all fonts, not only this one, is that italic text is very rough, like when I slant the font instead of using the installed italic variant. If I zoom a lot the result is better. The same font in VS Code appears smooth as it should.

I tried to attach a screenshot of a WM text in italic, but in the resulting image is smooth.

I'm using WM 3.2.0 on Windows 10 64bits.

Thanks for looking! mario

crystalfp avatar May 23 '20 05:05 crystalfp

I tested JetBrains font and it renders fine on my end. Italic is as it should be. Also on (WM 3.2.0 on Windows 10 64bits.).

Does italic really shows as slanted regular font? Or is it using real italic variant but rendering is jagged?

i.

writemonkey avatar May 26 '20 06:05 writemonkey

Rendering is jagged. I mentioned slanted because the problem happens if you take a regular font and skew it. Also the effect is much less visible in titles (bigger font + bold). Attached a photo of the screen showing the effect (as I said, a normal screenshot smoothed the font and nothing is visible). Compare the title with the line below it. 2020-05-27 06 28 33-1 Thanks for looking! mario

crystalfp avatar May 27 '20 04:05 crystalfp

It looks like this on my comp (3840x2160 - native @ 150% scale):

wm_italic

wm_italic2

i.

writemonkey avatar May 27 '20 07:05 writemonkey