diff src/txt-eng-ft.cc @ 9833:637fa784d102

Allow more font matches
author godfrey@isl.Stanford.EDU
date Wed, 18 Nov 2009 21:02:49 -0500
parents b0b82ab654f6
children 57a59eae83cc
line wrap: on
line diff
--- a/src/txt-eng-ft.cc	Wed Nov 18 20:18:47 2009 -0500
+++ b/src/txt-eng-ft.cc	Wed Nov 18 21:02:49 2009 -0500
@@ -140,8 +140,10 @@
 
 	      FcDefaultSubstitute (pat);
 	      match = FcFontMatch (0, pat, &res);
-	      
-	      if (match && res != FcResultNoMatch)
+
+	      // FIXME -- originally, this test also required that
+	      // res != FcResultNoMatch.  Is that really needed?
+	      if (match)
 		{
 		  unsigned char *tmp;