Browse Source

added "font-kerning" in the font key

Gildas 7 năm trước cách đây
mục cha
commit
2f04f0fb70
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      lib/single-file/css-fonts-minifier.js

+ 1 - 0
lib/single-file/css-fonts-minifier.js

@@ -298,6 +298,7 @@ this.fontsMinifier = this.fontsMinifier || (() => {
 		return JSON.stringify([
 			getFontFamilyName(style.getPropertyValue("font-family")),
 			getFontWeight(style.getPropertyValue("font-weight")),
+			style.getPropertyValue("font-kerning"),
 			style.getPropertyValue("font-style"),
 			style.getPropertyValue("unicode-range"),
 			getFontStretch(style.getPropertyValue("font-stretch")),