瀏覽代碼

improve freetype (#1581)

ruki 2 年之前
父節點
當前提交
eb1f91f5da
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      packages/f/freetype/xmake.lua

+ 1 - 1
packages/f/freetype/xmake.lua

@@ -29,7 +29,7 @@ package("freetype")
     add_configs("bzip2", {description = "Support bzip2 compressed fonts", default = false, type = "boolean"})
     add_configs("png", {description = "Support PNG compressed OpenType embedded bitmaps", default = false, type = "boolean"})
     add_configs("woff2", {description = "Use Brotli library to support decompressing WOFF2 fonts", default = false, type = "boolean"})
-    add_configs("zlib", {description = "Support reading gzip-compressed font files", default = false, type = "boolean"})
+    add_configs("zlib", {description = "Support reading gzip-compressed font files", default = true, type = "boolean"})
     add_configs("harfbuzz", {description = "Support harfbuzz", default = false, type = "boolean"})
 
     add_deps("cmake")