changeset 91125:6c9a19ff6c55

(Qfontp): Remove unused symbol. (QCantialias): New symbol. (syms_of_font): Define it. (font_property_table): Set a validator for QCantialias.
author Jason Rumney <jasonr@gnu.org>
date Fri, 23 Nov 2007 02:09:42 +0000
parents b656aee8436b
children 88c8186d1815
files src/font.c
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/font.c	Fri Nov 23 02:09:19 2007 +0000
+++ b/src/font.c	Fri Nov 23 02:09:42 2007 +0000
@@ -50,8 +50,6 @@
 
 int enable_font_backend;
 
-Lisp_Object Qfontp;
-
 Lisp_Object Qopentype;
 
 /* Important character set symbols.  */
@@ -107,6 +105,7 @@
 Lisp_Object QCfoundry, QCadstyle, QCregistry, QCextra;
 /* Symbols representing keys of font extra info.  */
 Lisp_Object QCspacing, QCdpi, QCscalable, QCotf, QClanguage, QCscript;
+Lisp_Object QCantialias;
 /* Symbols representing values of font spacing property.  */
 Lisp_Object Qc, Qm, Qp, Qd;
 
@@ -355,7 +354,8 @@
     { &QCdpi, font_prop_validate_non_neg },
     { &QCspacing, font_prop_validate_spacing },
     { &QCscalable, NULL },
-    { &QCotf, font_prop_validate_symbol }
+    { &QCotf, font_prop_validate_symbol },
+    { &QCantialias, font_prop_validate_symbol }
   };
 
 /* Size (number of elements) of the above table.  */
@@ -3929,7 +3929,6 @@
   staticpro (&font_family_alist);
   font_family_alist = Qnil;
 
-  DEFSYM (Qfontp, "fontp");
   DEFSYM (Qopentype, "opentype");
 
   DEFSYM (Qiso8859_1, "iso8859-1");
@@ -3940,6 +3939,7 @@
   DEFSYM (QCotf, ":otf");
   DEFSYM (QClanguage, ":language");
   DEFSYM (QCscript, ":script");
+  DEFSYM (QCantialias, ":antialias");
 
   DEFSYM (QCfoundry, ":foundry");
   DEFSYM (QCadstyle, ":adstyle");