Commit 76313965 authored by Felix Paul Kühne's avatar Felix Paul Kühne

freetype: config_GetPsz delivers UTF-8 content instead of MacRoman

parent 9cee736f
...@@ -724,7 +724,7 @@ static char* MacLegacy_Select( filter_t *p_filter, const char* psz_fontname, ...@@ -724,7 +724,7 @@ static char* MacLegacy_Select( filter_t *p_filter, const char* psz_fontname,
*i_idx = 0; *i_idx = 0;
msg_Dbg( p_filter, "looking for %s", psz_fontname ); msg_Dbg( p_filter, "looking for %s", psz_fontname );
cf_fontName = CFStringCreateWithCString( NULL, psz_fontname, kCFStringEncodingMacRoman ); cf_fontName = CFStringCreateWithCString( NULL, psz_fontname, kCFStringEncodingUTF8 );
ats_font_id = ATSFontFindFromName( cf_fontName, kATSOptionFlagsIncludeDisabledMask ); ats_font_id = ATSFontFindFromName( cf_fontName, kATSOptionFlagsIncludeDisabledMask );
CFRelease( cf_fontName ); CFRelease( cf_fontName );
......
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