[vlc-commits] Freetype2: warn if you don't support CTL

Jean-Baptiste Kempf git at videolan.org
Mon Nov 23 16:52:41 CET 2015


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Mon Nov 23 16:44:06 2015 +0100| [3bf59a594ec81c9c58f738e0bb067387d7eaeacb] | committer: Jean-Baptiste Kempf

Freetype2: warn if you don't support CTL

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3bf59a594ec81c9c58f738e0bb067387d7eaeacb
---

 modules/text_renderer/text_layout.c |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/modules/text_renderer/text_layout.c b/modules/text_renderer/text_layout.c
index 73615ce..f11f63c 100644
--- a/modules/text_renderer/text_layout.c
+++ b/modules/text_renderer/text_layout.c
@@ -89,6 +89,10 @@
 # define HAVE_FONT_FALLBACK
 #endif
 
+#ifndef HAVE_FONT_FALLBACK
+# warning YOU ARE MISSING FONTS FALLBACK. TEXT WILL BE INCORRECT
+#endif
+
 /**
  * Within a paragraph, run_desc_t represents a run of characters
  * having the same font face, size, and style, Unicode script



More information about the vlc-commits mailing list