Skip to content

feat: include subset to FontFaceMeta#248

Merged
danielroe merged 3 commits intounjs:mainfrom
hi-ogawa:09-26-feat_include_subset_to_fontfacemeta_
Sep 27, 2025
Merged

feat: include subset to FontFaceMeta#248
danielroe merged 3 commits intounjs:mainfrom
hi-ogawa:09-26-feat_include_subset_to_fontfacemeta_

Conversation

@hi-ogawa
Copy link
Copy Markdown
Contributor

@hi-ogawa hi-ogawa commented Sep 26, 2025

This PR exposes meta.subset for supported providers (currently google and fontsource). This is required to allow fontless to select preload fonts based on language such as latin, latin-etc, etc.

@hi-ogawa hi-ogawa marked this pull request as ready for review September 26, 2025 10:03
@hi-ogawa hi-ogawa requested a review from danielroe as a code owner September 26, 2025 10:03
@florian-lefebvre florian-lefebvre linked an issue Sep 26, 2025 that may be closed by this pull request
Copy link
Copy Markdown
Collaborator

@florian-lefebvre florian-lefebvre left a comment

Choose a reason for hiding this comment

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

I'd need this in Astro, it looks good to me

@danielroe danielroe merged commit 1d24de1 into unjs:main Sep 27, 2025
4 checks passed
@hi-ogawa hi-ogawa deleted the 09-26-feat_include_subset_to_fontfacemeta_ branch September 28, 2025 01:12
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.

Expose subset on FontFaceData

3 participants