emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/src/w32font.c,v


From: Jason Rumney
Subject: [Emacs-diffs] Changes to emacs/src/w32font.c,v
Date: Mon, 26 May 2008 14:05:38 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Jason Rumney <jasonr>   08/05/26 14:05:38

Index: w32font.c
===================================================================
RCS file: /sources/emacs/emacs/src/w32font.c,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -b -r1.28 -r1.29
--- w32font.c   26 May 2008 11:04:40 -0000      1.28
+++ w32font.c   26 May 2008 14:05:38 -0000      1.29
@@ -984,7 +984,7 @@
   if (physical_font->ntmTm.tmPitchAndFamily & 0x01)
     ASET (entity, FONT_SPACING_INDEX, make_number (FONT_SPACING_PROPORTIONAL));
   else
-    ASET (entity, FONT_SPACING_INDEX, make_number (FONT_SPACING_MONO));
+    ASET (entity, FONT_SPACING_INDEX, make_number (FONT_SPACING_CHARCELL));
 
   if (requested_font->lfQuality != DEFAULT_QUALITY)
     {
@@ -1390,21 +1390,6 @@
     }
 }
 
-static struct
-{
-  unsigned w32_numeric;
-  unsigned numeric;
-} w32_weight_table[] =
-  { { FW_THIN, 0 },
-    { FW_EXTRALIGHT, 40 },
-    { FW_LIGHT, 50},
-    { FW_NORMAL, 100},
-    { FW_MEDIUM, 100},
-    { FW_SEMIBOLD, 180},
-    { FW_BOLD, 200},
-    { FW_EXTRABOLD, 205},
-    { FW_HEAVY, 210} };
-
 static int
 w32_decode_weight (fnweight)
      int fnweight;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]