aaa0009
V2EX  ›  问与答

如何下载 google 字体

  •  
  •   aaa0009 · Oct 6, 2016 · 2968 views
    This topic created in 3681 days ago, the information mentioned may be changed or developed.
    比如,如果这样用了, 如何下载并且使用: https://fonts.googleapis.com/css?family=Open+Sans:400,600,700
    7 replies  •  2016-10-07 20:44:58 +08:00
    seki
    seki
    Oct 6, 2016❤️1
    1
    在 https://fonts.google.com 选了之后,右下角的小窗口的右上角有一个下载按钮
    或者直接去 google fonts 的 github 页面下 https://github.com/google/fonts/tree/master/apache
    aaa0009
    aaa0009
    OP
    Oct 6, 2016
    2
    @seki 这个下载后是可以网站上使用的吧?
    Showfom
    Showfom
    PRO
    Oct 6, 2016 via iPhone❤️1
    3
    @aaa0009 可以
    seki
    seki
    Oct 6, 2016
    4
    可以
    你具体情况是怎么样,想怎么用?
    aaa0009
    aaa0009
    OP
    Oct 7, 2016
    5
    @seki 直接引用,替换这一行代码:
    <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,600,700' rel='stylesheet' type='text/css'>
    aaa0009
    aaa0009
    OP
    Oct 7, 2016
    6
    @Showfom 下载后,如何直接引用,替换这一行代码:
    <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,600,700' rel='stylesheet' type='text/css'>
    seki
    seki
    Oct 7, 2016❤️1
    7
    你给的这个 css 里面除了字体还有 woff svg 之类的,下载回来的字体文件不能直接替换掉
    这种可以试试 font squirrel 的 webfont kit
    https://www.fontsquirrel.com/fonts/open-sans
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2814 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 14:06 · PVG 22:06 · LAX 06:06 · JFK 09:06
    ♥ Do have faith in what you're doing.