-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
While a visual hash is a good idea, the underlying `tiny-skia` is meant to pixel perfectly match `Skia`. This means that our hash doesn't actually need to be visual and can be a simple checksum. The `img_hash` crate is very unmaintained, so we are forced to compile ever more so outdated dependencies. So replacing it by a simple checksum via the `seahash` crate makes a lot of sense. The `seahash` crate claims to be very fast and also claims that the hashes are suitable for checksums. So it sounds like a good crate to use for this. However this means that on platforms that don't correctly implement IEEE-754, we can't run the rendering tests anymore. However when it comes to font fallback, it does seem like there's some changes between Windows 10 and 11, so we do need to differentiate between those now.
- Loading branch information
Showing
2 changed files
with
59 additions
and
79 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters