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

[Request]Add Chinese to woff #172

Open
Gn3po4g opened this issue Mar 17, 2024 · 5 comments
Open

[Request]Add Chinese to woff #172

Gn3po4g opened this issue Mar 17, 2024 · 5 comments
Labels
feature New feature or request

Comments

@Gn3po4g
Copy link

Gn3po4g commented Mar 17, 2024

And any plans to add woff to CDN platforms like https://cdn.jsdelivr.net/npm for easy reference?

@subframe7536
Copy link
Owner

For every single style, woff format is about 9MB, woff2 format is about 6MB

I don't think it is suitable for a website to load

@Gn3po4g
Copy link
Author

Gn3po4g commented Mar 17, 2024

The only most commonly used in web pages are regular and bold, or with additional italic.

@subframe7536
Copy link
Owner

Originally, I made CN version for use in local editor or IDE. Can you describe your usage scenarios in detail?

@Gn3po4g
Copy link
Author

Gn3po4g commented Mar 17, 2024

Just use Maple in html.

  @font-face {
    font-family: "Maple Mono";
    font-weight: 400;
    font-style: normal;
    src: url("/MapleMono/MapleMono-NF-CN-Regular.woff2") format('woff2');
  }

the file is converted from ttf on my own.
And if you upload the fonts on CDN for example, we can just add one line to include font file:

<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/maple-mono/style.css" />

@subframe7536
Copy link
Owner

@subframe7536 subframe7536 added the feature New feature or request label Mar 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
Status: Done
Development

No branches or pull requests

2 participants