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

Addition of .woff and .woff2 Font Files #49

Merged
merged 1 commit into from
Feb 6, 2025

Conversation

guillermodotn
Copy link
Contributor

In response to #2143, I have added the .woff and .woff2 versions of the existing .ttf font files to enhance web performance. The .woff2 format offers superior compression, for faster load times and reduced bandwidth usage.

CSS Fallback Structure

The CSS has been structured to prioritize modern formats while maintaining compatibility with older browsers. The @font-face declarations list the src sources in order of preference:

  • .woff2: Modern browsers supporting this format will load it due to its efficient compression.
  • .woff: Serves as a fallback for browsers that do not support .woff2.
  • .ttf: Ensures compatibility with legacy browsers lacking support for .woff and .woff2.

Font Licensing

The fonts in use are licensed under the SIL Open Font License (OFL) 1.1, which permits modification and redistribution in different formats, including .woff and .woff2. Therefore, converting the original .ttf files to these formats aligns with the license terms, ensuring no conflicts arise from this enhancement.

Copy link
Owner

@cotes2020 cotes2020 left a comment

Choose a reason for hiding this comment

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

Thank you so much! LGTM :)

@cotes2020 cotes2020 merged commit 81956c3 into cotes2020:main Feb 6, 2025
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.

2 participants