xmlf
V2EX  ›  问与答

现在愉快的使用 google font 的正确方式是什么?

  •  
  •   xmlf · Oct 22, 2018 · 4305 views
    This topic created in 2763 days ago, the information mentioned may be changed or developed.
    在 v 站发现大家讨论使用 Google font 中文字体话题比较少。
    由于中文字体文件都比较大。
    请教各位大佬,现在正确愉快地使用 google font 的步骤是什么?
    请各位大佬多分享分享经验!
    13 replies    2018-10-25 15:05:17 +08:00
    shintendo
        1
    shintendo  
       Oct 22, 2018
    别问,问就是微软雅黑
    xiaoz
        2
    xiaoz  
       Oct 22, 2018   ❤️ 1
    试试这个: https://css.loli.net/ ,不知道有没有理解对您的意思。
    xmlf
        3
    xmlf  
    OP
       Oct 22, 2018
    @xiaoz 每个中文字体都很大。。。加载很慢的
    dalieba
        4
    dalieba  
       Oct 22, 2018
    楼主可以研究一下 free.com.tw
    flowfire
        5
    flowfire  
       Oct 22, 2018 via iPhone
    谷歌字体都使用了切片,即使是中文字体也只有几百 K,直接把链接从 google.com 改成 google.cn 即可无痛使用
    xmlf
        6
    xmlf  
    OP
       Oct 22, 2018 via Android
    @flowfire 包括 noto 系列?
    flowfire
        7
    flowfire  
       Oct 22, 2018
    @xmlf 反正我上次用的 noto 只有几百 K。。。。。
    xmlf
        8
    xmlf  
    OP
       Oct 22, 2018
    @flowfire 我试了下,多了 4-5MB 大小。。。
    flowfire
        9
    flowfire  
       Oct 22, 2018
    flowfire
        10
    flowfire  
       Oct 22, 2018
    @xmlf #8 这里是浏览器的支持情况

    https://caniuse.com/#search=unicode%20range
    xmlf
        11
    xmlf  
    OP
       Oct 22, 2018 via Android
    @flowfire 我试的就是这个切片,在 network 中查看,加入后网页速度加载完慢了 6 秒,多了 3MB 文件。
    flowfire
        12
    flowfire  
       Oct 22, 2018
    @xmlf #11 一共是 3M,但是他加载了一百多 K,绝大部分字体就都能使用了。貌似是分步加载的
    xmlf
        13
    xmlf  
    OP
       Oct 25, 2018 via Android
    @flowfire 除了思源黑体,还有其他比较好用的吗?
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   920 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 38ms · UTC 19:51 · PVG 03:51 · LAX 12:51 · JFK 15:51
    ♥ Do have faith in what you're doing.