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

Adds a modified version of the variable font for RedHat.com #39

Merged
merged 7 commits into from Apr 29, 2021

Conversation

zhawkins
Copy link
Contributor

RedHat.com uses a range (but not all) of the font weights available.

Font weight Used by RedHat.com
RedHatDisplay-Black
RedHatDisplay-Bold
RedHatDisplay-Medium
RedHatDisplay-Regular
RedHatDisplay-Light 🚫
RedHatText-Bold 🚫
RedHatText-Medium
RedHatText-Regular
RedHatText-Light 🚫

To support variable fonts, which do not let us map a weight to a specific font, we need to modify the variable font files.

These modified files are located at ./source/Proportional/VF.

  • Modified-RedHatDisplayItalicVF.designspace
  • Modified-RedHatDisplayVF.designspace
  • Modified-RedHatTextItalicVF.designspace
  • Modified-RedHatTextVF.designspace

This allows us to compile modified versions of RedHatDisplay and RedHatText.

Original fonts are available via ./font.css

Modified fonts are available via ./red-hat-font.css

webfonts/README.md Outdated Show resolved Hide resolved
webfonts/README.md Outdated Show resolved Hide resolved
@zhawkins zhawkins merged commit 2f89d03 into master Apr 29, 2021
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.

None yet

2 participants