vlc | branch: master | Felix Paul Kühne <fkue...@videolan.org> | Thu Dec 3 14:33:01 2015 +0100| [138e353459ee2456c2311edb9bc79f5ee6bac48f] | committer: Felix Paul Kühne
libass decoder: use Helvetica-Neue instead of Arial as default font on Apple platforms Arial is not available on anything but OS X > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=138e353459ee2456c2311edb9bc79f5ee6bac48f --- modules/codec/libass.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/codec/libass.c b/modules/codec/libass.c index 3d08717..9c6a80c 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 defined( __APPLE__ ) + const char *psz_font = NULL; /* We don't ship a default font with VLC */ + const char *psz_family = "Helvetica Neue"; /* Use HN if we can't find anything more suitable - Arial is not on all Apple platforms */ #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 */ _______________________________________________ vlc-commits mailing list vlc-commits@videolan.org https://mailman.videolan.org/listinfo/vlc-commits