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

Handle Chrome font rendering weirdness with "pixelShift" comparison #107

Open
tybrd916 opened this issue Mar 1, 2022 · 0 comments
Open

Comments

@tybrd916
Copy link

tybrd916 commented Mar 1, 2022

Hi @mourner ,

I can only imagine what your life is like right now in the midst of invasion! This is certainly not urgent, but I just wanted to document here...

I wanted to pose a question and propose a possible solution to the issue where Chrome and other browsers are often inconsistent in their anti-aliased font rendering like below output from latest pixelmatch:
image

A human can see "New Client" is shifted a few pixels up and over between the two screenshots, and might consider it within the threshold of "close enough - PASS". Anti-aliasing parameters don't seem to get it to filter out the false positive. So I forked your repo and made this pull request: #106

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants