changeset 95002:a68b1d75fd09

(ftfont_list): Downcase family name to check generic families.
author Kenichi Handa <handa@m17n.org>
date Thu, 15 May 2008 06:44:06 +0000
parents 1f45bc27b291
children 3a511cbd02ec
files src/ftfont.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/ftfont.c	Thu May 15 03:32:23 2008 +0000
+++ b/src/ftfont.c	Thu May 15 06:44:06 2008 +0000
@@ -597,6 +597,7 @@
     family_list = Fcons (Qnil, Qnil);
   else
     {
+      family = Fintern (Fdowncase (SYMBOL_NAME (family)), Qnil);
       family_list = ftfont_list_generic_family (family);
       if (NILP (family_list))
 	family_list = Fcons (family, Qnil);