瀏覽代碼

added "font-kerning" in the font key

Gildas 7 年之前
父節點
當前提交
2f04f0fb70
共有 1 個文件被更改,包括 1 次插入0 次删除
  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")),