Commit 138e3534 authored by Felix Paul Kühne's avatar 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
parent 34d09973
......@@ -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 */
......
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