You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The checksum of the woff2 file changes every time the same font is saved.
I not sure why this is ?
At a guess I think it might be due to the way Brotli compresses to woff2, and the compression although valid is not the exactly the same each time ?
I'm converting the woff2 font into a base64 @font-face for use on the web.
If I can have the same base64 string each time, it gives a simple way to check if the document already contains this font (even if the name is different)
Many thanks for any advice.
The text was updated successfully, but these errors were encountered:
I'm using fonttools 4.29.1 with python 3.10.12.
Ubuntu 22
``
For this simple code:
The checksum of the woff2 file changes every time the same font is saved.
I not sure why this is ?
At a guess I think it might be due to the way Brotli compresses to woff2, and the compression although valid is not the exactly the same each time ?
I'm converting the woff2 font into a base64 @font-face for use on the web.
If I can have the same base64 string each time, it gives a simple way to check if the document already contains this font (even if the name is different)
Many thanks for any advice.
The text was updated successfully, but these errors were encountered: