From: Jan Djärv Date: Fri, 9 Nov 2012 06:36:51 +0000 (+0100) Subject: * nsfont.m (ns_descriptor_to_entity): Qcondesed and Qexpanded has X-Git-Tag: emacs-24.3.90~173^2~18^2~150 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7ad27466f1bd9a61389b8b8b83db21ff2acfc575;p=emacs.git * nsfont.m (ns_descriptor_to_entity): Qcondesed and Qexpanded has been removed, so remove them here also. --- diff --git a/src/ChangeLog b/src/ChangeLog index 9bd6ccec017..6cf10f0fa30 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2012-11-09 Jan Djärv + + * nsfont.m (ns_descriptor_to_entity): Qcondesed and Qexpanded has + been removed, so remove them here also. + 2012-11-09 Stefan Monnier * doc.c (Fdocumentation): Handle new property diff --git a/src/nsfont.m b/src/nsfont.m index d2e5108bb7f..88dbcfdc450 100644 --- a/src/nsfont.m +++ b/src/nsfont.m @@ -46,7 +46,7 @@ Author: Adrian Robert (arobert@cogsci.ucsd.edu) #define NSFONT_TRACE 0 extern Lisp_Object Qns; -extern Lisp_Object Qnormal, Qbold, Qitalic, Qcondensed, Qexpanded; +extern Lisp_Object Qnormal, Qbold, Qitalic; static Lisp_Object Qapple, Qroman, Qmedium; extern Lisp_Object Qappend; extern float ns_antialias_threshold; @@ -200,9 +200,6 @@ ns_descriptor_to_entity (NSFontDescriptor *desc, /* FONT_SET_STYLE (font_entity, FONT_SLANT_INDEX, make_number (100 + 100 * ns_attribute_fvalue (desc, NSFontSlantTrait)));*/ - FONT_SET_STYLE (font_entity, FONT_WIDTH_INDEX, - traits & NSFontCondensedTrait ? Qcondensed : - traits & NSFontExpandedTrait ? Qexpanded : Qnormal); /* FONT_SET_STYLE (font_entity, FONT_WIDTH_INDEX, make_number (100 + 100 * ns_attribute_fvalue (desc, NSFontWidthTrait)));*/