]> git.eshelyaron.com Git - emacs.git/commitdiff
(ftfont_resolve_generic_family): Remove foundry from
authorAndreas Schwab <schwab@suse.de>
Thu, 10 Jul 2008 13:13:21 +0000 (13:13 +0000)
committerAndreas Schwab <schwab@suse.de>
Thu, 10 Jul 2008 13:13:21 +0000 (13:13 +0000)
pattern before matching the generic family.

src/ChangeLog
src/ftfont.c

index 9ad4e8558591ef48f1785d4afd89f1bfb29b1c28..a7578f2fe655c40dd4bd151337fbe9b8881a075c 100644 (file)
@@ -1,3 +1,8 @@
+2008-07-10  Andreas Schwab  <schwab@suse.de>
+
+       * ftfont.c (ftfont_resolve_generic_family): Remove foundry from
+       pattern before matching the generic family.
+
 2008-07-10  Dan Nicolaescu  <dann@ics.uci.edu>
 
        * unexec.c:
index 31286a182c59fa69ffca197ef67f41f60c1eeba7..131e4b8aed16f02713546a240edacd35bc57060a 100644 (file)
@@ -221,6 +221,7 @@ ftfont_resolve_generic_family (family, pattern)
   pattern = FcPatternDuplicate (pattern);
   if (! pattern)
     goto err;
+  FcPatternDel (pattern, FC_FOUNDRY);
   FcPatternDel (pattern, FC_FAMILY);
   FcPatternAddString (pattern, FC_FAMILY, SYMBOL_FcChar8 (family));
   FcConfigSubstitute (NULL, pattern, FcMatchPattern);