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

How to generate subsets like fontsource ? #861

Closed
scillidan opened this issue Oct 3, 2023 · 2 comments
Closed

How to generate subsets like fontsource ? #861

scillidan opened this issue Oct 3, 2023 · 2 comments
Labels
needs triage Issues and pull requests that need triage attention

Comments

@scillidan
Copy link

scillidan commented Oct 3, 2023

Hi, guys~ I liked fontsource and I want to upload some good CJK fonts to font-files.

I read https://github.com/fontsource/font-files/blob/main/CONTRIBUTING.md and uploaded Fusion Kai fonts. But I recently found that this kind of CJK fonts are divided into many on subsets.

I referenced this tutorial to generate Latin subset. But I don't know the scope of other subsets on fontsource. And I found that there are some automatically generated subset.css files in the font folder. I know that fontsource used Google's APIs to generate numbered subsets from this issue.

So 🤔, How do you generate subsets ?

Thanks for read :)

@scillidan scillidan added the needs triage Issues and pull requests that need triage attention label Oct 3, 2023
@ayuhito
Copy link
Member

ayuhito commented Oct 3, 2023

Hi, sorry. We don't support that yet for the custom packager 😔

It does require #39 to be addressed with our own subsetter before #730 can be implemented. Please track those issues.

@ayuhito ayuhito closed this as completed Oct 3, 2023
@scillidan
Copy link
Author

OK! It also solved my problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs triage Issues and pull requests that need triage attention
Projects
None yet
Development

No branches or pull requests

2 participants