yamamotoahua

font-family 属性中的日文字体电脑上已安装但是没渲染是为何?

  •  
  •   yamamotoahua · Oct 26, 2019 · 3525 views
    This topic created in 2400 days ago, the information mentioned may be changed or developed.

    我电脑上是有 MS PGothic 这个字体的,然后该网站上也是用的这个字体,但是渲染出来的好像不是这个字体 1 然后取消掉这个属性渲染就好看多了,这是什么原因呢? 2

    5 replies    2019-10-26 15:30:51 +08:00
    yamamotoahua
        1
    yamamotoahua  
    OP
       Oct 26, 2019
    https://tv.yahoo.co.jp/review/40392/
    这是网址,求前端大佬指点
    mcfog
        2
    mcfog  
       Oct 26, 2019 via Android
    Catalina 有个字体 api 行为改变导致 chrome 无法正确找到字体
    iNaru
        3
    iNaru  
       Oct 26, 2019
    我这里 Chrome 和 Firefox 都没问题。
    i.imgur.com/KQPRkbq.gif
    yamamotoahua
        4
    yamamotoahua  
    OP
       Oct 26, 2019
    @mcfog 我这个图贴的是 win10 的效果,mac 是 Catalina 用 chrome 虽然不是 MS PGothic 字体但是比 win10 上的好看,
    win10 里在字体管理那边预览 MS PGothic 字体是没网站上那么丑的,好奇怪
    iNaru
        5
    iNaru  
       Oct 26, 2019
    Chrome 取消定义 font-family 后会默认 fallback 微软雅黑
    Firefox 则根据 about:config 中的 font.name-list.serif.ja fallback 到 Yu Gothic
    i.imgur.com/cKhYCbH.gif
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2576 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 37ms · UTC 00:21 · PVG 08:21 · LAX 17:21 · JFK 20:21
    ♥ Do have faith in what you're doing.