Fix typo in previous macfont.m change
* src/macfont.m (macfont_descriptor_entity): Fix typo. Problem reported by Clemens Schüller.
This commit is contained in:
parent
850c0c1a87
commit
dec54ec0c0
1 changed files with 2 additions and 1 deletions
|
@ -908,7 +908,8 @@ static void mac_font_get_glyphs_for_variants (CFDataRef, UTF32Char,
|
|||
ASET (entity, FONT_EXTRA_INDEX, Fcopy_sequence (extra));
|
||||
name = CTFontDescriptorCopyAttribute (desc, kCTFontNameAttribute);
|
||||
font_put_extra (entity, QCfont_entity,
|
||||
Fcons (make_mint_ptr ((void *) name), make_number (traits)));
|
||||
Fcons (make_mint_ptr ((void *) name),
|
||||
make_number (sym_traits)));
|
||||
if (synth_sym_traits & kCTFontTraitItalic)
|
||||
FONT_SET_STYLE (entity, FONT_SLANT_INDEX,
|
||||
make_number (FONT_SLANT_SYNTHETIC_ITALIC));
|
||||
|
|
Loading…
Add table
Reference in a new issue