D
D
Dunno20182018-11-18 23:03:29
Fonts
Dunno2018, 2018-11-18 23:03:29

How to reduce font weight?

Hello!
The site uses 3 font styles Microsoft YaHei UI. The total size of the font files is 105 MB.
I tried to compress using fontsquirrel , but the font is blacklisted by this service.
What can you advise?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Rustam Bainazarov, 2018-11-19
@Dunno2018

1. The FontForge program, for example.
https://fontforge.github.io/en-US
With its help, you will need to remove unnecessary glyphs, export the resulting font to OTF.
2. Then run the resulting file through, for example, this:
https://transfonter.org
WOFF is universally suitable for the web, but it is better to mark TTF, WOFF and WOFF2 (the one needed and determined by the browser will still be loaded). Download the resulting archive (fonts + CSS) and connect them to the project.
PS You can additionally compress fonts by manually editing glyphs if they contain a lot of artifacts, extra anchor points, etc. As a rule, there are no such fonts, unless they are self-made, of course.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question