【问题标题】:Font rendering different in Chrome than in Firefox; Myriad rendering as Gill SansChrome 中的字体渲染与 Firefox 中的不同;无数渲染为 Gill Sans
【发布时间】:2014-09-18 16:22:07
【问题描述】:

我在我的网站上使用 Myriad Pro(根据客户的规范,使用 Myriad 绝对是至关重要的),直到几天前它的渲染方式突然在 Chrome 上发生了变化,它才能正确渲染。它在 Firefox 和其他浏览器上看起来仍然正确。

它应该是这样的:

这是它在 Chrome 上的呈现方式:

这是我正在使用的字体堆栈:

font-family: "Myriad Pro", "Gill Sans", "Gill Sans MT", Calibri, sans-serif;

是否有其他方法可以使用 Myriad 而不会导致此问题?有什么问题,我怎样才能让它在 Chrome 上看起来正确?

【问题讨论】:

    标签: google-chrome fonts stack


    【解决方案1】:

    我刚刚在谷歌产品论坛https://productforums.google.com/forum/#!msg/chrome/bkFBZbeMklk/xztRA14qcdwJ找到了这个链接

    此问题已上报给 Google Chrome 团队 \o/

    同时,您可以执行此步骤来解决问题:

       -Open Chrome.
       -Go to address bar and type chrome://flags/#disable-direct-write and press ENTER.
       -Now, click on "Disable" and restart Chrome.
    

    还有:

    -Close Chrome
    -Go to Desktop
    -Click on Chrome shortcut with right button and click "Properties"
    -In field "Target" type space and after add /high-dpi-support=1 /force-device-scale-factor=1
    

    必须是这样的,例如:"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" /high-dpi-support=1 /force-device-scale-factor=1 现在,保存更改并尝试启动 Chrome

    还有:

    -Type chrome://settings/search#hardware in your address bar and press ENTER
    -Uncheck the box "Use hardware acceleration when available" and restart Chrome."
    

    【讨论】:

      猜你喜欢
      • 2013-09-19
      • 2018-05-21
      • 2016-12-29
      • 2012-10-18
      • 2017-01-13
      • 2013-10-17
      • 2021-10-18
      • 1970-01-01
      • 2019-06-09
      相关资源
      最近更新 更多