页面树结构

版本比较

标识

  • 该行被添加。
  • 该行被删除。
  • 格式已经改变。

...

目录:Smartbi_Special_ExtendedFonts.ext\vision\css\ExtendedFonts.css

例如:Image Removed

代码块
languagecss
linenumberstrue
collapsetrue
@font-face {
    font-family: 'impact-2';
    font-style: normal;
    font-weight: 400;
    src: url(../js/ext/fonts/impact-2.ttf) format('truetype');
}

@font-face {
    font-family: 'NotoSansCJK-Regular-1';
    font-style: normal;
    font-weight: 400;
    src: url(../js/ext/fonts/NotoSansCJK-Regular-1.otf) format('opentype');
}

@font-face {
    font-family: 'PingFang-Jian-ChangGuiTi-2';
    font-style: normal;
    font-weight: 400;
    src: url(../js/ext/fonts/PingFang-Jian-ChangGuiTi-2.ttf) format('truetype');
}


信息

不同格式的字体,配置css中的format不同;

例如:

ttf后缀的字体:format('truetype')

otf后缀的字体:format('opentype');

woff后缀的字体:format('woff');

woff2后缀的字体:format('woff2');

eot后缀的字体:format('embedded-opentype');

...