Commit 6d151864 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Freetype: harmonize between platforms

parent e38a28c3
...@@ -2406,11 +2406,10 @@ static int Create( vlc_object_t *p_this ) ...@@ -2406,11 +2406,10 @@ static int Create( vlc_object_t *p_this )
&monofontindex ); &monofontindex );
#elif defined(__APPLE__) #elif defined(__APPLE__)
#if !TARGET_OS_IPHONE #if !TARGET_OS_IPHONE
psz_fontfile = MacLegacy_Select( p_filter, psz_fontname, false, false, 0, &fontindex ); psz_fontfile = MacLegacy_Select( p_filter, psz_fontname, false, false, -1, &fontindex );
#endif #endif
#elif defined(_WIN32) #elif defined(_WIN32)
psz_fontfile = Win32_Select( p_filter, psz_fontname, false, false, psz_fontfile = Win32_Select( p_filter, psz_fontname, false, false, -1, &fontindex );
p_sys->i_default_font_size, &fontindex );
#endif #endif
msg_Dbg( p_filter, "Using %s as font from file %s", psz_fontname, psz_fontfile ); msg_Dbg( p_filter, "Using %s as font from file %s", psz_fontname, psz_fontfile );
......
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