Commit 89bb8968 authored by Felix Paul Kühne's avatar Felix Paul Kühne

macosx: set 'freetype-font' to the postscript name instead of the family name

This fixes the freetype ATS lookup for some Asian fonts such as Hiragino Micho ProN with multiple weights.
(cherry picked from commit 26303bddc76d9b5a29767b77d44b8fbece932092)
parent f00c824b
......@@ -1221,7 +1221,7 @@ static inline void save_module_list( intf_thread_t * p_intf, id object, const ch
- (void)changeFont:(id)sender
{
NSFont * font = [sender convertFont:[[NSFontManager sharedFontManager] selectedFont]];
[o_osd_font_fld setStringValue:[font familyName]];
[o_osd_font_fld setStringValue:[font fontName]];
[self osdSettingChanged:self];
}
......
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