Commit 26303bdd 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.
parent e943ace3
......@@ -1227,7 +1227,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