Windows-如何套用冬青黑体W3?
本帖最后由 asicsfree 于 2019-5-16 09:45 编辑Windows中同时装有冬青黑体W3和W6
在article-style.css中
* {
font-family: Arial, "Hiragino Sans GB W3" !important;
}
或
* {
font-family: Arial, "Hiragino Sans GB W6" !important;
}
感觉始终是W6的粗体,有办法适用较细的W3吗? 显示的是 W3 的粗体,还是 W6 的普通体?
可以按 F12(审查元素)观察,如果是前者,用 “font-style: normal;” 设置。 本帖最后由 asicsfree 于 2019-5-27 02:09 编辑
deeke 发表于 2019-5-26 14:10
显示的是 W3 的粗体,还是 W6 的普通体?
可以按 F12(审查元素)观察,如果是前者,用 “font-style: norm ...
不知道我是不是误会。
F12内的font-family应该是照着article-style.css内写的内容,不会改变?
我加了font-wight: lighter只有英文字重改变,中文还是一样粗。
asicsfree 发表于 2019-5-27 02:04
不知道我是不是误会。
F12内的font-family应该是照着article-style.css内写的内容,不会改变?
article-style.css並沒有arial 本帖最后由 deeke 于 2019-5-27 13:31 编辑
试试这个 Smartisan_Compact ,冬青黑体的一个修改版。
我把它从 Smartisan M1 手机里复制出来,在 Windows 下用了几年,有三个字重。
网盘 码: bjvj 本帖最后由 deeke 于 2019-7-28 19:51 编辑
试试在 article-style.css 的 最开端 加上:
@font-face {
font-family: "Hiragino Sans GB W3";
src: local('冬青黑体简体中文 W3');
}
@font-face {
font-family: "Hiragino Sans GB W6";
src: local('冬青黑体简体中文 W6');
}
或者写成下面这样。
@font-face {
font-family: 'Hiragino Sans GB';
font-weight: normal;
src: local('冬青黑体简体中文 W3');
}
@font-face {
font-family: 'Hiragino Sans GB';
font-weight: bold;
src: local('冬青黑体简体中文 W6');
}
页:
[1]