Commit f9a45bb3 authored by Kenichi Handa's avatar Kenichi Handa
Browse files

(try_alternative_families): Try all scalable fonts if

Vscalable_fonts_allowed is not Qt.
parent 72ecb43c
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,Ad(Brv <jan.h.d@swipnet.se>
* xfaces.c (x_face_list_fonts): Set *pfonts to 0 if no fonts found.
......
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment