summaryrefslogtreecommitdiff
path: root/modules/text_server_fb/SCsub
diff options
context:
space:
mode:
authorbruvzg <7645683+bruvzg@users.noreply.github.com>2022-06-14 10:29:58 +0300
committerbruvzg <7645683+bruvzg@users.noreply.github.com>2022-11-04 14:10:54 +0200
commitd77902f33a2390bdbeee0dbee4036e41c1e1bece (patch)
treeb31abc74a74ac91f8180b71c7e25cb16b3f68bd3 /modules/text_server_fb/SCsub
parent191c8ed12f624ec97b650b2726fed4e8c4bcf04c (diff)
Implement SVG in OT support.
Diffstat (limited to 'modules/text_server_fb/SCsub')
-rw-r--r--modules/text_server_fb/SCsub3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/text_server_fb/SCsub b/modules/text_server_fb/SCsub
index 429d2e1fdc..f1d57ec4d3 100644
--- a/modules/text_server_fb/SCsub
+++ b/modules/text_server_fb/SCsub
@@ -8,6 +8,9 @@ msdfgen_enabled = "msdfgen" in env.module_list
env_text_server_fb = env_modules.Clone()
+if "svg" in env.module_list:
+ env_text_server_fb.Prepend(CPPPATH=["#thirdparty/thorvg/inc", "#thirdparty/thorvg/src/lib"])
+
if env["builtin_msdfgen"] and msdfgen_enabled:
env_text_server_fb.Prepend(CPPPATH=["#thirdparty/msdfgen"])