-
-
Notifications
You must be signed in to change notification settings - Fork 57
Closed
Milestone
Description
The size-adjust
descriptor specified in @font-face
rule should not be ignored.
Sample HTML: size-adjust.html
<style>
@font-face {
font-family: 'Custom Avenir';
src: local('Avenir Roman');
size-adjust: 106%;
}
.A {
font-family: 'Avenir', 'Hiragino Sans', sans-serif;
}
.B {
font-family: 'Custom Avenir', 'Hiragino Sans', sans-serif;
}
</style>
<p class="A">愛Loveのあるユニークuniqueで豊かrichな書体font。日本語とEnglishの文字のsizeを調整(してない)</p>
<p class="B">愛Loveのあるユニークuniqueで豊かrichな書体font。日本語とEnglishの文字のsizeを調整(している)</p>
Test with Vivliostyle Viewer (v2.31.2):
https://vivliostyle.github.io/viewer/v2.31.2/#src=https://gist.githack.com/MurakamiShinyu/3553fc782ca07217a9eb2c822cdd9de9/raw/size-adjust.html
Result screenshot:
Expected result (Google Chrome):
参考記事: