Why not define font-weight or font-style in @font-face, Font Squirrel?

前端 未结 4 738
夕颜
夕颜 2021-02-05 12:25

When we define @font-face styles, we can define whether the referenced files are for the bold, italic, or bold italic versions of a font, as discussed in this SO question:

4条回答
  •  情歌与酒
    2021-02-05 12:47

    It does involve poking around inside the font to determine when a font is bold or italic. And certain bits must be set inside the font in order for IE to pick up the style linking. Most bold / italic fonts have these bits set, but not all. We are working on a way to make this more automatic.

提交回复
热议问题