From 0dad38d089d35389b23998ba3c29d24d85fd7155 Mon Sep 17 00:00:00 2001 From: rdb Date: Tue, 23 Jan 2024 16:47:50 +0100 Subject: [PATCH] text: Enable text-use-harfbuzz by default, if compiled in See #1591 --- panda/src/text/config_text.cxx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/panda/src/text/config_text.cxx b/panda/src/text/config_text.cxx index dee79539ba..60eb1be6dd 100644 --- a/panda/src/text/config_text.cxx +++ b/panda/src/text/config_text.cxx @@ -62,7 +62,11 @@ ConfigVariableBool text_kerning "is true, since HarfBuzz offers superior kerning support.")); ConfigVariableBool text_use_harfbuzz +#ifdef HAVE_HARFBUZZ +("text-use-harfbuzz", true, +#else ("text-use-harfbuzz", false, +#endif PRC_DESC("Set this true to enable HarfBuzz support, which offers superior " "text shaping and better support for non-Latin text."));