Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows rendering (ttf 1.400) #24

Closed
eldair opened this issue May 12, 2020 · 12 comments
Closed

Windows rendering (ttf 1.400) #24

eldair opened this issue May 12, 2020 · 12 comments
Assignees
Labels
bug Something isn't working windows

Comments

@eldair
Copy link

eldair commented May 12, 2020

After testing the latest ttf version on windows, this is still the same

14px (!= is the only issue unless it should be small like this):
image
13px:
image
12px:
image
15px:
image

@okonet
Copy link

okonet commented Jul 21, 2020

Is this still an issue? I see your comment in #19 and not sure now if we should be investigating it still.

@eldair
Copy link
Author

eldair commented Jul 21, 2020

Hi, yeah, it is still the same, on version 1.5

@bebraw
Copy link
Contributor

bebraw commented Jul 21, 2020

@eldair Which resolution are you using on your display? That's a good extra piece of information to have.

@eldair
Copy link
Author

eldair commented Jul 21, 2020

Same thing on both 1920x1080 (24") and 2560x1440 (27")

@bebraw
Copy link
Contributor

bebraw commented Jul 21, 2020

Ok, thanks!

Is it the same regardless of the editor (VS Code and others)?

@eldair
Copy link
Author

eldair commented Jul 21, 2020

Sublime is the same but for different font size (their 10 is the same as vscode 14)

image
image
image
image

These screenshots are from the larger display (1440p)
If you need more font sizes let me know

@bebraw
Copy link
Contributor

bebraw commented Nov 27, 2020

Can you check with 1.6 as there were ttf rendering improvements there? You can use the original download link.

@eldair
Copy link
Author

eldair commented Nov 27, 2020

Hello,

13px and 14px are perfect on both 1440p (27") and 1080p (23")

12px
image
11px and below have an issue with .= only
image
15px
image
16px and above is same as 11 and below .=
image

@bebraw
Copy link
Contributor

bebraw commented Nov 27, 2020

@MarcusSterz Can you comment when you have time? TTF looks better now and I guess the question is, can the rest be improved?

I know there are inherent limitations in font rendering so the problem often is that you cannot make each size perfect especially on lower resolutions. Based on that it's possible we won't be able to make it perfect on each but let's see what Marcus has to say.

@MarcusSterz
Copy link

I will pass the torch to @mekkablue – Is there a final answer to this?

@mekkablue
Copy link

Will employ ‘natural’ rather than ‘quantized’ gridfitting, which will deliver a smoother scaling across sizes at the cost of a bit more antialiasing (i.e., a bit more fuzziness). This should be a slight improvement.

However it is not mathematically possible to always gridfit three equally distant stems at equal pixel distances in all pixel sizes, and line them up with the rest of the font at the same time. There will have to be some compromise in some pixel sizes.

@bebraw
Copy link
Contributor

bebraw commented Apr 16, 2021

The fix has been included to the newly published 1.700.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working windows
Projects
None yet
Development

No branches or pull requests

5 participants