[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/xfaces.c
From: |
Kim F. Storm |
Subject: |
[Emacs-diffs] Changes to emacs/src/xfaces.c |
Date: |
Sat, 20 May 2006 22:01:19 +0000 |
Index: emacs/src/xfaces.c
diff -u emacs/src/xfaces.c:1.347 emacs/src/xfaces.c:1.348
--- emacs/src/xfaces.c:1.347 Wed May 17 22:51:07 2006
+++ emacs/src/xfaces.c Sat May 20 22:01:18 2006
@@ -6636,7 +6636,7 @@
best = NULL;
/* Find the best match among the non-scalable fonts. */
- for (i = 1; i < nfonts; ++i)
+ for (i = 0; i < nfonts; ++i)
if (!font_scalable_p (fonts + i)
&& better_font_p (specified, fonts + i, best, 1, avgwidth))
{
@@ -7073,7 +7073,7 @@
face = realize_face (c, attrs, 0, NULL, DEFAULT_FACE_ID);
#ifdef HAVE_WINDOW_SYSTEM
-#ifdef HAVE_X_WINDOWS
+#ifdef HAVE_X_WINDOWS
if (face->font != FRAME_FONT (f))
/* As the font specified for the frame was not acceptable as a
font for the default face (perhaps because auto-scaled fonts