特定字体的行高

时间:2018-07-23 12:02:19

标签: css font-face vertical-alignment unicode-range

在CSS中,我已为多种特定字符定义了自定义字体:

@font-face {
    font-family: Sahel;
    src: url(../font/Sahel-FD.ttf);
    unicode-range: U+0600-06FF;
}

@font-face {
    font-family: Sahel;
    src: url(../font/Sahel-FD-Bold.ttf);
    unicode-range: U+0600-06FF;
    font-weight: bold;
}

我只想为此字体更改line-height,但是在@font-face规则中添加此属性无效。

我该怎么做?

0 个答案:

没有答案