[vlc-devel] [PATCH 21/22] libass: on Winstore apps we need to embed the font in the package
Steve Lhomme
robux4 at gmail.com
Fri Jul 31 16:55:05 CEST 2015
---
modules/codec/libass.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/modules/codec/libass.c b/modules/codec/libass.c
index 067ef6b..604e2f3 100644
--- a/modules/codec/libass.c
+++ b/modules/codec/libass.c
@@ -213,6 +213,9 @@ static int Create( vlc_object_t *p_this )
#if defined( __ANDROID__ )
const char *psz_font = "/system/fonts/DroidSans-Bold.ttf";
const char *psz_family = "Droid Sans Bold";
+#elif VLC_WINSTORE_APP
+ const char *psz_font = "segoeui.ttf";
+ const char *psz_family = "Segoe UI";
#else
const char *psz_font = NULL; /* We don't ship a default font with VLC */
const char *psz_family = "Arial"; /* Use Arial if we can't find anything more suitable */
--
2.4.2
More information about the vlc-devel
mailing list