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

Font loaded multiple times #8006

Open
hausen1012 opened this issue May 11, 2024 · 2 comments
Open

Font loaded multiple times #8006

hausen1012 opened this issue May 11, 2024 · 2 comments

Comments

@hausen1012
Copy link

I found through the browser developer tool that the same font was loaded three times, and when I customized a larger font, the first loading was very slow.

image

image

@Mrazator
Copy link
Collaborator

Mrazator commented May 11, 2024

I found through the browser developer tool that the same font was loaded three times

We are currently working on optimising this!

when I customized a larger font, the first loading was very slow.

It seems your customisation made the font huge 61 kB -> 2.1 MB

@hausen1012
Copy link
Author

Thank you for your reply.
Yes, because I am using handwritten Chinese font, it is inevitably very large. If it can be optimized to load only once, I think this is acceptable.
Of course, if the official can provide Chinese fonts, this is the best choice! I have to use a custom font now because using the default font makes the image look very incongruous.
Thank you again

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

No branches or pull requests

2 participants