(try_alternative_families): Try all scalable fonts if
authorKenichi Handa <handa@m17n.org>
Wed, 19 Feb 2003 06:15:15 +0000 (06:15 +0000)
committerKenichi Handa <handa@m17n.org>
Wed, 19 Feb 2003 06:15:15 +0000 (06:15 +0000)
Vscalable_fonts_allowed is not Qt.

src/ChangeLog
src/xfaces.c

index c37562f..f01d8bc 100644 (file)
@@ -1,3 +1,8 @@
+2003-02-19  Kenichi Handa  <handa@m17n.org>
+
+       * xfaces.c (try_alternative_families): Try all scalable fonts if
+       Vscalable_fonts_allowed is not Qt.
+
 2003-02-19  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
 
        * xfaces.c (x_face_list_fonts): Set *pfonts to 0 if no fonts found.
index 7c668bc..a68a1ea 100644 (file)
@@ -6320,8 +6320,8 @@ try_alternative_families (f, family, registry, fonts)
            }
        }
 
-      /* Try scalable fonts before giving up.  */
-      if (nfonts == 0 && NILP (Vscalable_fonts_allowed))
+      /* Try all scalable fonts before giving up.  */
+      if (nfonts == 0 && ! EQ (Vscalable_fonts_allowed, Qt))
        {
          int count = SPECPDL_INDEX ();
          specbind (Qscalable_fonts_allowed, Qt);