Skip to content

Conversation

@florian-lefebvre
Copy link
Member

@florian-lefebvre florian-lefebvre commented Nov 18, 2025

Changes

  • Updates the default subsets because previous defaults were confusing to basically everyone

Testing

Should pass

Docs

@florian-lefebvre florian-lefebvre self-assigned this Nov 18, 2025
@changeset-bot
Copy link

changeset-bot bot commented Nov 18, 2025

🦋 Changeset detected

Latest commit: 321fc8d

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions github-actions bot added the pkg: astro Related to the core `astro` package (scope) label Nov 18, 2025
@florian-lefebvre florian-lefebvre marked this pull request as ready for review November 18, 2025 10:00
@codspeed-hq
Copy link

codspeed-hq bot commented Nov 18, 2025

CodSpeed Performance Report

Merging #14796 will not alter performance

Comparing feat/fonts-latin-default-subset (321fc8d) with main (8cf3f05)1

Summary

✅ 6 untouched

Footnotes

  1. No successful run was found on main (ad3265d) during the generation of this report, so 8cf3f05 was used instead as the comparison base. There might be some changes unrelated to this pull request in this report.

export const DEFAULTS: Defaults = {
weights: ['400'],
styles: ['normal', 'italic'],
subsets: ['cyrillic-ext', 'cyrillic', 'greek-ext', 'greek', 'vietnamese', 'latin-ext', 'latin'],
Copy link
Member

Choose a reason for hiding this comment

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

Oh, I’m seeing now we already didn’t include some important subsets. I think this makes sense then, as much as I dislike encoding this bias.

I’d say we should require setting subsets, but given not all providers support it, that would end up being pretty confusing I think.

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah that's the problem IMO

@florian-lefebvre florian-lefebvre merged commit c29a785 into main Nov 19, 2025
44 of 46 checks passed
@florian-lefebvre florian-lefebvre deleted the feat/fonts-latin-default-subset branch November 19, 2025 14:11
@astrobot-houston astrobot-houston mentioned this pull request Nov 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pkg: astro Related to the core `astro` package (scope)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants