@font-face and letter-spacing in webkit

前端 未结 3 1425
情书的邮戳
情书的邮戳 2020-12-10 09:50

I just discovered that letter-spacing doesn\'t always work in webkit (and perhaps other browsers?) when embedding fonts. I\'ve tried it on two different fonts and received

3条回答
  •  天命终不由人
    2020-12-10 10:24

    It seems to me that this is caused only by svg fonts!!! I wasn't able to verify it strictly but my test cases prove that much.

    Reorder your font-face urls putting svg format last, it should fix the problem. But svg fonts won't get used and rendering might be dirty(er)

提交回复
热议问题