[vlc-commits] freetype: add default font list optimized for embedded Darwin
Felix Paul Kühne
git at videolan.org
Mon Nov 23 00:17:14 CET 2015
vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Mon Nov 23 00:16:29 2015 +0100| [22bfea61b1c7f330936d236adf33638e6f17a529] | committer: Felix Paul Kühne
freetype: add default font list optimized for embedded Darwin
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=22bfea61b1c7f330936d236adf33638e6f17a529
---
modules/text_renderer/freetype.c | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/modules/text_renderer/freetype.c b/modules/text_renderer/freetype.c
index 307c7b4..040a691 100644
--- a/modules/text_renderer/freetype.c
+++ b/modules/text_renderer/freetype.c
@@ -1263,8 +1263,13 @@ static int Create( vlc_object_t *p_this )
p_sys->pf_get_fallbacks = FontConfig_GetFallbacks;
FontConfig_Prepare( p_filter );
#elif defined( __APPLE__ )
+#if TARGET_OS_IPHONE
const char *const ppsz_darwin_default[] =
- { "Helvetica Neue", "Arial", "GungSeo", "Arial Unicode MS", "PingFang SC", "MalayalamMN" };
+ { "Helvetica Neue", "Arial", "Heiti SC", "Heiti TC", "Hiragino Mincho ProN", "Malayalam Sangam MN" };
+#else
+ const char *const ppsz_darwin_default[] =
+ { "Helvetica Neue", "Arial", "Heiti SC", "Heiti TC", "GungSeo", "Arial Unicode MS", "Malayalam Sangam MN" };
+#endif
p_sys->pf_select = Generic_Select;
p_sys->pf_get_family = CoreText_GetFamily;
p_sys->pf_get_fallbacks = CoreText_GetFallbacks;
More information about the vlc-commits
mailing list