From e5622837160de59a9807309240ac1bc5380e4b73 Mon Sep 17 00:00:00 2001 From: Jaakko Keränen Date: Sat, 3 Jul 2021 16:16:44 +0300 Subject: Added build options for HarfBuzz and FriBidi Allow using both `pkg-config` provided libraries for local builds, and configuring more minimal versions for distribution. HarfBuzz has a bunch of dependencies by default. TODO: ENABLE_FRIBIDI_BUILD should cause a static library to be built. --- src/ui/text.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/ui/text.c b/src/ui/text.c index 175b25a1..30405bcb 100644 --- a/src/ui/text.c +++ b/src/ui/text.c @@ -1170,7 +1170,7 @@ static iRect run_Font_(iFont *d, const iRunArgs *args) { hb_buffer_clear_contents(hbBuf); /* Cluster values are used to determine offset inside the UTF-8 source string. */ //hb_buffer_set_cluster_level(hbBuf, HB_BUFFER_CLUSTER_LEVEL_MONOTONE_CHARACTERS); -#if 0 && defined (LAGRANGE_ENABLE_FRIBIDI) +#if defined (LAGRANGE_ENABLE_FRIBIDI) /* Reorder to visual order. */ { iArray u32; iArray logToRun; -- cgit v1.2.3