[vlc-commits] [Git][videolan/vlc][master] freetype: fix build when HAVE_FRIBIDI is not set

Steve Lhomme (@robUx4) gitlab at videolan.org
Sat Apr 25 10:08:08 UTC 2026



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
b2f452a6 by Steve Lhomme at 2026-04-25T09:51:07+00:00
freetype: fix build when HAVE_FRIBIDI is not set

Only the pi_text_direction/ppsz_text_direction tables are unused when HAVE_FRIBIDI
is not defined.

Fixes #29802

- - - - -


1 changed file:

- modules/text_renderer/freetype/freetype.c


Changes:

=====================================
modules/text_renderer/freetype/freetype.c
=====================================
@@ -122,6 +122,7 @@ static const int pi_text_direction[] = {
 static const char *const ppsz_text_direction[] = {
     N_("Left to right"), N_("Right to left"), N_("Auto"),
 };
+#endif
 
 static const int pi_blending_mode[] = {
     0, 1
@@ -130,7 +131,6 @@ static const char *const ppsz_blending_mode[] = {
     N_("Overlay"), N_("Transparent"),
 };
 
-#endif
 
 vlc_module_begin ()
     set_shortname( N_("Text renderer"))



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/b2f452a6dccc1a0a37d50113d6e86b8ccb2da131

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/b2f452a6dccc1a0a37d50113d6e86b8ccb2da131
You're receiving this email because of your account on code.videolan.org.




More information about the vlc-commits mailing list