-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Fonts downloaded via Google Fonts are not identical to Google's source font repo #8457
Comments
As promised, I created a corresponding issue report on the source repo as well: google/material-design-icons#1830 Hopefully this will help determine why the files are different, and if the files distributed by one of the repos need to be changed. |
Hi @Gitoffthelawn, I've downloaded the exemplar case you mentioned above, The fonts match in version and file size, and after being compared with our tools, no difference was reported. |
@vv-monsalve Hi Viviana! Thanks for making the effort to compare the files. It's surprising that your results differ from mine. I will investigate further and report back. I'm quite busy, but I'll get this done as soon as possible. One thing I did note is that the two font files you downloaded do appear to be non-identical. One is 356840 bytes and the other is 356884 bytes. The different isn't as large as I detected, but still indicates the files are not identical. Is one simply padded with nulls at the end, or are their actual differences? Can you run a hex comparison on them, please? Kindly note that version numbers embedded within font files, although they can be useful, are often misleading as they don't indicate data corruption or changes made without the version number being bumped. |
It is certainly possible or even likely that the version being served to websites has had additional post-processing after being posted. That 44-byte difference is small, but apparently real. Just last week I was crazy enough to try to diff two versions of TTX dumps of the current (Material Symbols) icon fonts, and, well, it became apparent that I need a better diff tool to do it—will be trying tkdiff. |
Describe the bug
Google Fonts does not offer the same files as the source repo for the Material Design Icons. I'll report the issue there as well, but given that Google Fonts is differing from the source, it may be very well be a mistake on Google Fonts, and not the other Google repo (so please, don't insta-close this issue report without first determining and communicating where the issue lies).
To Reproduce
STR:
MaterialIcons-Regular.ttf
).MaterialIcons-Regular.ttf
than distributed via the source repo).Expected behavior
Fonts distributed via Google Fonts website to match source files.
The text was updated successfully, but these errors were encountered: