-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Conversation
Signed-off-by: Michael Telatynski <[email protected]>
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 # Conflicts: # res/themes/light/css/_fonts.pcss # yarn.lock
Signed-off-by: Michael Telatynski <[email protected]>
…to t3chguy/fix/25969
Signed-off-by: Michael Telatynski <[email protected]>
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]>
There was a problem hiding this 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). */ |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bonus!
There was a problem hiding this 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
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.