Fonts looks different in Firefox and Chrome

前端 未结 10 1060
时光取名叫无心
时光取名叫无心 2020-11-29 04:03

I am using Google Web Font\'s PT-sans

font-family: \'PT Sans\',Arial,serif;

but it looks different in Chrome and Firefox

Is there

10条回答
  •  囚心锁ツ
    2020-11-29 04:40

    I had the same issue for a couple of months. Finally, it got worked by disabling below settings in Chrome browser's settings.

    Set "Accelerated 2D Canvas" to "Disabled" (In the browser's address bar, go to chrome://flags#disable-accelerated-2d-canvas, change the setting, relaunch the browser.)

    Since the fix for this issue has clearly changed, I would suggest in general turning off any hardware-accelerated text-rendering/2D-rendering features in the future if this fix stops working.

    On Google Chrome 55, this issue appears to have cropped up again. As anticipated, the fix was disabling hardware acceleration, it just changed locations.

    The new fix (for me) appears to be:

    Settings -> Show advanced settings... -> System UNCHECK "Use hardware acceleration when available"

    https://superuser.com/questions/821092/chromes-fonts-look-off

提交回复
热议问题