line-gap-override设置要想生效,则对应字体所在的lien-height属性值必须是normal,无论是数值,长度值还是百分比值都会让line-gap-override属性没有效果。 line-gap-override不支持负值,因此,只能让行高变高,而不能减少。 三、应用场景 在某些 Android 设备下,或者使用某些自定义字体或图标的时候,文字或者图形总是没法...
line-gap { font-family: lineGapFont; line-height: normal; } @font-face { font-family: ascentFont; src: local('xxx font'); ascent-override: 100%; } @font-face { font-family: descentFont; src: local('xxx font'); descent-override: 0%; } @font-face { font-family: lineGapFont;...
Ensure that the line-gap-override property is applied correctly when overriding a fallback font with a web font that has no lineGap. Previously if the override was zero it would be omitted from the declaration, rather than the correct behaviour of overriding the fallback metric to zero. creat...