aboutsummaryrefslogtreecommitdiffstats
path: root/src/nsfont.m
diff options
context:
space:
mode:
Diffstat (limited to 'src/nsfont.m')
-rw-r--r--src/nsfont.m9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/nsfont.m b/src/nsfont.m
index 13c7b0bce2c..f5e89d32bfc 100644
--- a/src/nsfont.m
+++ b/src/nsfont.m
@@ -1,6 +1,6 @@
1/* Font back-end driver for the NeXT/Open/GNUstep and MacOSX window system. 1/* Font back-end driver for the NeXT/Open/GNUstep and MacOSX window system.
2 See font.h 2 See font.h
3 Copyright (C) 2006-2014 Free Software Foundation, Inc. 3 Copyright (C) 2006-2015 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
@@ -45,11 +45,6 @@ Author: Adrian Robert (arobert@cogsci.ucsd.edu)
45#define NSFONT_TRACE 0 45#define NSFONT_TRACE 0
46#define LCD_SMOOTHING_MARGIN 2 46#define LCD_SMOOTHING_MARGIN 2
47 47
48extern Lisp_Object Qns;
49extern Lisp_Object Qnormal, Qbold, Qitalic;
50static Lisp_Object Qapple, Qroman, Qmedium;
51static Lisp_Object Qcondensed, Qexpanded;
52extern Lisp_Object Qappend;
53extern float ns_antialias_threshold; 48extern float ns_antialias_threshold;
54 49
55 50
@@ -1493,7 +1488,7 @@ ns_glyph_metrics (struct nsfont_info *font_info, unsigned char block)
1493 characterIndex: (NSUInteger)charIndex 1488 characterIndex: (NSUInteger)charIndex
1494{ 1489{
1495 len = glyphIndex+length; 1490 len = glyphIndex+length;
1496 for (i =glyphIndex; i<len; i++) 1491 for (i =glyphIndex; i<len; i++)
1497 cglyphs[i] = glyphs[i-glyphIndex]; 1492 cglyphs[i] = glyphs[i-glyphIndex];
1498 if (len > maxGlyph) 1493 if (len > maxGlyph)
1499 maxGlyph = len; 1494 maxGlyph = len;