# HG changeset patch # User Kenichi Handa # Date 1020747087 0 # Node ID 49710fa82951ade71cdafd0daa4e8f1ae9c0e324 # Parent 478d6f47e263fe433460527c2da3290643038021 (try_font_list): Give higher priority to fontset's family than face's family. diff -r 478d6f47e263 -r 49710fa82951 src/xfaces.c --- a/src/xfaces.c Tue May 07 04:51:06 2002 +0000 +++ b/src/xfaces.c Tue May 07 04:51:27 2002 +0000 @@ -6072,12 +6072,12 @@ int nfonts = 0; Lisp_Object face_family = attrs[LFACE_FAMILY_INDEX]; - if (STRINGP (face_family)) + if (!NILP (family)) + nfonts = try_alternative_families (f, family, registry, fonts); + + if (nfonts == 0 && STRINGP (face_family)) nfonts = try_alternative_families (f, face_family, registry, fonts); - if (nfonts == 0 && !NILP (family)) - nfonts = try_alternative_families (f, family, registry, fonts); - /* Try font family of the default face or "fixed". */ if (nfonts == 0) {