Commit 22bfea61 authored by Felix Paul Kühne's avatar Felix Paul Kühne

freetype: add default font list optimized for embedded Darwin

parent da1b496d
...@@ -1263,8 +1263,13 @@ static int Create( vlc_object_t *p_this ) ...@@ -1263,8 +1263,13 @@ static int Create( vlc_object_t *p_this )
p_sys->pf_get_fallbacks = FontConfig_GetFallbacks; p_sys->pf_get_fallbacks = FontConfig_GetFallbacks;
FontConfig_Prepare( p_filter ); FontConfig_Prepare( p_filter );
#elif defined( __APPLE__ ) #elif defined( __APPLE__ )
#if TARGET_OS_IPHONE
const char *const ppsz_darwin_default[] = 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_select = Generic_Select;
p_sys->pf_get_family = CoreText_GetFamily; p_sys->pf_get_family = CoreText_GetFamily;
p_sys->pf_get_fallbacks = CoreText_GetFallbacks; p_sys->pf_get_fallbacks = CoreText_GetFallbacks;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment