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

Switch to using @fontsource for Inter & Inconsolata #28540

Merged
merged 20 commits into from
Dec 4, 2024
Merged

Conversation

t3chguy
Copy link
Member

@t3chguy t3chguy commented Nov 25, 2024

Fixes #25969

Updates from Inter 3.18 to Inter 4.1 so has some visual changes

Switches Playwright screenshot tests to new headless mode to make the font rendering match reality, also upgrades to Noble to ensure screenshots match between CI & Docker dev.

No point splitting up the PR as the headless mode/noble PR would have to update all the screenshots, as would this fontsource PR, so we'd have to update it twice.

@t3chguy t3chguy added the T-Task Tasks for the team like planning label Nov 25, 2024
@t3chguy t3chguy self-assigned this Nov 25, 2024
Signed-off-by: Michael Telatynski <[email protected]>
Signed-off-by: Michael Telatynski <[email protected]>
Signed-off-by: Michael Telatynski <[email protected]>
…to t3chguy/fix/25969

Signed-off-by: Michael Telatynski <[email protected]>
Copy link
Member

@dbkr dbkr left a comment

Choose a reason for hiding this comment

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

otherwise looks good, I'm assuming all the screenshots are reasonable - that's a lot of 'Load Diff' links to click.

when variation-16 is applied to request the emoji variant. From eyeballing
the emoji picker, these are: 20e3, 23cf, 24c2, 25a0-25c1, 2665, 2764, 2b06, 2b1c.
Therefore we define a unicode-range to load which excludes the glyphs
(to avoid having to maintain a fork of Inter). */
Copy link
Member

Choose a reason for hiding this comment

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

Is this not necessary anymore?

Copy link
Member Author

Choose a reason for hiding this comment

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

Indeed, not possible but also not necessary. fontsource adds the correct unicode ranges for each font-face definition

Copy link
Member

Choose a reason for hiding this comment

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

Bonus!

Copy link

@gaelledel gaelledel left a comment

Choose a reason for hiding this comment

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

Looks good - Not noticing anything problematic

@t3chguy t3chguy added this pull request to the merge queue Dec 4, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Dec 4, 2024
@t3chguy t3chguy added this pull request to the merge queue Dec 4, 2024
Merged via the queue into develop with commit db5b335 Dec 4, 2024
41 checks passed
@t3chguy t3chguy deleted the t3chguy/fix/25969 branch December 4, 2024 12:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-Task Tasks for the team like planning
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Missing @fontsource/inter@^5 peer dependency
3 participants