We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
TextServerAdvanced
1 parent 295e465 commit a32b6e0Copy full SHA for a32b6e0
modules/freetype/SCsub
@@ -72,6 +72,12 @@ if env["builtin_freetype"]:
72
if env["builtin_libpng"]:
73
env_freetype.Prepend(CPPPATH=["#thirdparty/libpng"])
74
75
+ if "text_server_adv" in env.module_list:
76
+ # HarfBuzz is only available if TextServerAdvanced is enabled
77
+ env_freetype.Append(CPPDEFINES=["FT_CONFIG_OPTION_USE_HARFBUZZ"])
78
+ if env["builtin_harfbuzz"]:
79
+ env_freetype.Prepend(CPPPATH=["#thirdparty/harfbuzz/src/"])
80
+
81
sfnt = thirdparty_dir + "src/sfnt/sfnt.c"
82
# Must be done after all CPPDEFINES are being set so we can copy them.
83
if env["platform"] == "web":
0 commit comments