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
BackstopJS font rendering consistency #258
Comments
To investigate: any chance CSS |
see this: |
I didn't have any luck setting the webfont smoothing in an TODO: check if the same is true for the default value of We don’t want this to be part of the css output of course, so maybe add this one-liner to We should also check on branch (before merging to master) that it works as expected between macs, and ideally between platforms — as mentioned in that other thread, font-rendering on e.g. linux is very different, ideally this project is as cross-platform as possible. |
if minimizing repo size is a concern, let's run pngcrush or something similar over the reference file. |
I meant more the fact that git stores the entire history of a file — changing large files often is expensive (also means crushing the reference images now will make the repo larger!). |
-webkit-font-smoothing is set to none for all BackstopJS tests Error threshold has been increased to 0.15 from 0.1 to account for minor differences among OS
fixed by #256 |
The font rendering seems to be highly dependent on the user's personal settings - see the difference in font rendering with LCD smoothing (left) and without:
Changing the settings on my computer resolved the problem for the most part, but there are still minor differences:
Darren and I made sure to use both the same versions of all dependencies, as well as the same font files (Helvetica).
The text was updated successfully, but these errors were encountered: