If your page does not use much text, you may consider giving it a try: http://font-spider.org font-face has basically no problem with compatibility on mobile devices, so you can use it with confidence: http://caniuse.com/#search=fo... If there are a lot of fonts in the content and the typed font package is still very large, it is recommended that the designer change it, otherwise it will deceive users.
5M The font size is really too big, and the mobile version is really annoying. Not only does it load slowly, but it also consumes a lot of traffic. I’d like to ask if your design can be compressed. Generally, keep it below 1M
For the mobile version, there is really no need to quote such a large font. Generally, Arial, Microsoft Yahei will suffice. In the past, the designer also made a very large font file for me to quote. I used it once and then stopped using it. One font was larger than my entire file, so the gain outweighed the loss.
1. If it is not used in many places, use pictures instead 2. If it is used in many places, it is recommended to use online font websites, such as font libraries
If your page does not use much text, you may consider giving it a try: http://font-spider.org
font-face
has basically no problem with compatibility on mobile devices, so you can use it with confidence: http://caniuse.com/#search=fo...If there are a lot of fonts in the content and the typed font package is still very large, it is recommended that the designer change it, otherwise it will deceive users.
If there are only a few characters, you can use some tools to extract these characters individually and make a font.
There are no compatibility issues with the mobile version, see the picture below
How to use CSS3 custom fonts
5M
The font size is really too big, and the mobile version is really annoying. Not only does it load slowly, but it also consumes a lot of traffic.I’d like to ask if your design can be compressed. Generally, keep it below
1M
For the mobile version, there is really no need to quote such a large font. Generally, Arial, Microsoft Yahei will suffice. In the past, the designer also made a very large font file for me to quote. I used it once and then stopped using it. One font was larger than my entire file, so the gain outweighed the loss.
1. If it is not used in many places, use pictures instead
2. If it is used in many places, it is recommended to use online font websites, such as font libraries
You can use Baidu’s fontmin tool
If you use gulp, you can click this https://www.npmjs.com/package... to write a task
For example
If frequent changes are not required, there is also a visualization tool http://fontmin.forsigner.com/
Compatibility issues caniuse screenshots upstairs