Why would html text sometimes appear garbled when viewing on Chrome or Safari on Windows?

后端 未结 9 847
长发绾君心
长发绾君心 2020-12-15 07:45

Occasionally users report that the text on https://squareup.com looks like gibberish (or garbled) to them… however we’ve been unable to reproduce this.

Users report

9条回答
  •  余生分开走
    2020-12-15 08:02

    Easily recreated by using an older version of Windows as well as an older branch of Chrome. Seems like Chrome 4-8 have this issue. For testing purposes, boot into XP with Chrome 4. The problem lies in text-rendering: optimizelegibility. This is a reported bug in older Chrome versions when using optimizelegibility with @font-face when using woff fonts. If you can reproduce the issue, try taking out vertical-align: baseline and see if the rendering is still garbled.

提交回复
热议问题