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

Replace TTF files with WOFF2 #160

Merged
merged 1 commit into from
Oct 22, 2023
Merged

Replace TTF files with WOFF2 #160

merged 1 commit into from
Oct 22, 2023

Conversation

boogah
Copy link
Contributor

@boogah boogah commented Oct 20, 2023

Fixes #95

Reduces the file size of the web fonts being used by Postmarks installs by swapping TTF for WOFF2.

$ woff2_compress PublicSans-Italic-VariableFont_wght.ttf
Processing PublicSans-Italic-VariableFont_wght.ttf => PublicSans-Italic-VariableFont_wght.woff2
Compressed 99991 to 44431.

$ woff2_compress PublicSans-VariableFont_wght.ttf
Processing PublicSans-VariableFont_wght.ttf => PublicSans-VariableFont_wght.woff2
Compressed 95795 to 41419.

✅ This PR complies with the Open Font License used by Public Sans.

Copy link
Owner

@ckolderup ckolderup left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

great, thank you!

@ckolderup ckolderup merged commit 8a162e8 into ckolderup:main Oct 22, 2023
1 check passed
@boogah boogah deleted the woff-it branch October 23, 2023 23:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Swap TTF fonts for WOFF2 compressed versions
2 participants