70599
V2EX  ›  macOS

El Capitan 新的系统英文字体家族名叫什么?为什么字体册里找不到?

  •  
  •   70599 · Oct 8, 2015 · 3944 views
    This topic created in 4071 days ago, the information mentioned may be changed or developed.
    El Capitan 使用了圣弗朗西斯科做新的系统英文字体,可是为什么字体册中找不到这个字体?
    想要在 css 中本地调用这个字体,家族名该怎么写?
    13 replies  •  2015-10-11 14:01:19 +08:00
    chyiz
    chyiz
    Oct 8, 2015❤️1
    1
    就是找不到的,不知道苹果怎么想的。
    css 里面 font family 要用 -apple-system
    https://www.webkit.org/blog/3709/using-the-system-font-in-web-content/
    70599
    70599
    OP
    Oct 8, 2015
    2
    感谢回复。

    测试结果:
    火狐:失败
    Safari :成功

    看来只支持 webkit 浏览器。
    有朋友知道火狐的解决方案吗?
    (我想在火狐的样式(地址栏、搜索栏)中使用此字体)
    nino
    nino
    Oct 8, 2015
    4
    ".SFNSDisplay-Regular"
    70599
    70599
    OP
    Oct 9, 2015
    5
    @chyiz
    Nightly ( 20151008 版)地址栏和搜索栏也还是 Helvetica ,-apple-system 也无效。

    @nino
    火狐、 Safari 都不认。
    t895
    t895
    Oct 9, 2015
    6
    -apple-system
    chyiz
    chyiz
    Oct 9, 2015
    7
    @70599 哈,貌似那个 bug 是今天才修掉的。所以……等到明天再试试?
    ffffwh
    ffffwh
    Oct 9, 2015
    8
    /System/Library/Fonts 里有
    FontBook 里确实没有,原因不明
    icylord
    icylord
    Oct 9, 2015
    9
    @ffffwh otf 导致的?
    IanPeverell
    IanPeverell
    Oct 9, 2015
    10
    font book 还要手动添加?
    70599
    70599
    OP
    Oct 11, 2015
    11
    @chyiz
    20151010 版 Nightly 的界面字体变成 San Fransisco 了。
    70599
    70599
    OP
    Oct 11, 2015
    12
    -apple-system 也认了。
    m0yBPjyX3475syS4
    m0yBPjyX3475syS4
    Oct 11, 2015
    13
    系統內建隱藏版本,至於非隱藏版本需要到 Apple Developer Center 手動下載。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   4258 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 38ms · UTC 08:10 · PVG 16:10 · LAX 00:10 · JFK 03:10
    ♥ Do have faith in what you're doing.