Webfonts or Locally loaded fonts?

后端 未结 6 1615
广开言路
广开言路 2020-12-12 09:29

Ever since the troubles brought on by using Cufon I ventured away from using external font resources, but as of late, I have been looking for alternate methods of l

6条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-12 10:08

    I use the inline css method because the overhead of the extra request is more than the size increase when bease64 encoding. This is also further offset by gizip compression by the server of the css files.

    Other option is to use asynchronous loading of fonts but most often users will see the fonts popping in after load.

    Regardless of the method, you can reduce the size of the font file by only including the character sets you will use.

提交回复
热议问题