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

Update Alfa Slab One to the current version #1940

Merged
merged 1 commit into from
Mar 27, 2024

Conversation

LawnGnome
Copy link
Contributor

This gets us multiple things that are fixed in the current version:

  1. Fixes the s (which is very prominent on the front page) to include serifs and better visually match the other glyphs.
  2. Improves the inter-letter spacing.
  3. Fixes Fix Alfa Sans One #858 by including the ğ glyph used in Turkish, for example on https://www.rust-lang.org/tr/learn

I'm aware of #867, but I think this improves the status quo without blocking any longer term typography work.

The new files are bigger because the newer version of Alfa Slab One includes more glyphs. I would think this is still worthwhile.

I have no idea if there's anything required for cache busting here, but it looks like the default cache control header only has a TTL of one hour, so it's probably fine to do nothing. 🤷

Before and after examples:

English "Rust" on the home page:

english

Turkish "Learn Rust" heading:

turkish

This gets us multiple things that are fixed in the current version:

1. Fixes the `s` (which is very prominent on the front page) to include
   serifs and better visually match the other glyphs.
2. Improves the inter-letter spacing.
3. Fixes rust-lang#858 by including the `ğ` glyph used in Turkish, for example on
   https://www.rust-lang.org/tr/learn
@LawnGnome LawnGnome requested a review from a team as a code owner March 27, 2024 15:27
@Manishearth Manishearth merged commit 06e7839 into rust-lang:master Mar 27, 2024
1 check passed
LawnGnome added a commit to LawnGnome/blog.rust-lang.org that referenced this pull request Oct 25, 2024
This should have been done at the same time as
rust-lang/www.rust-lang.org#1940, but I forgot
that the blog had its own copy of the font files. The same reasoning
that applied in that PR applies here: this significantly improves the
lower case `s` glyph, and generally makes the font more readable.
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.

Fix Alfa Sans One
2 participants