You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Use HarfBuzz to fix variant hinting in TextServerAdvanced
This commit is contained in:
@@ -72,6 +72,12 @@ if env["builtin_freetype"]:
|
||||
if env["builtin_libpng"]:
|
||||
env_freetype.Prepend(CPPPATH=["#thirdparty/libpng"])
|
||||
|
||||
if "text_server_adv" in env.module_list:
|
||||
# HarfBuzz is only available if TextServerAdvanced is enabled
|
||||
env_freetype.Append(CPPDEFINES=["FT_CONFIG_OPTION_USE_HARFBUZZ"])
|
||||
if env["builtin_harfbuzz"]:
|
||||
env_freetype.Prepend(CPPPATH=["#thirdparty/harfbuzz/src/"])
|
||||
|
||||
sfnt = thirdparty_dir + "src/sfnt/sfnt.c"
|
||||
# Must be done after all CPPDEFINES are being set so we can copy them.
|
||||
if env["platform"] == "web":
|
||||
|
||||
Reference in New Issue
Block a user