FiraCode icon indicating copy to clipboard operation
FiraCode copied to clipboard

Height of Medium font style is more than regular font style for same size of 10

Open w0am1 opened this issue 3 years ago • 5 comments

Is this as per expected behavior or a bug?

w0am1 avatar Jul 18 '22 15:07 w0am1

Should be the same. How do you test? What’s your setup? Can you post screenshots?

tonsky avatar Jul 18 '22 16:07 tonsky

Should be the same. How do you test? What’s your setup? Can you post screenshots?

I am using notepad++ and visual studio code. Both have the issue at size 10. Attached the screenshot. fira_code_medium_10 fira_code_regular_10

w0am1 avatar Jul 19 '22 15:07 w0am1

Are you using variable font or TTF? Might be hinting

tonsky avatar Jul 19 '22 20:07 tonsky

Are you using variable font or TTF? Might be hinting

I am using TTF. So should I use variable ?

w0am1 avatar Jul 20 '22 04:07 w0am1

You could try. I’ll check again but I’m pretty sure in font files all weights share the same height and in this case Window render is acting up

tonsky avatar Jul 24 '22 13:07 tonsky