changeset 97858:111763d689bf

(uniscribe_check_otf): Don't fallback on DFLT script.
author Jason Rumney <jasonr@gnu.org>
date Fri, 29 Aug 2008 18:12:32 +0000
parents 67484b4a5175
children b5bf360d1538
files src/w32uniscribe.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/w32uniscribe.c	Fri Aug 29 17:56:33 2008 +0000
+++ b/src/w32uniscribe.c	Fri Aug 29 18:12:32 2008 +0000
@@ -734,10 +734,12 @@
 	      OTF_INT16_VAL (tbl, scriptlist_table + 6 + j * 6, &script_table);
 	      break;
 	    }
+#if 0	  /* Causes false positives.  */
 	  /* If there is a DFLT script defined in the font, use it
 	     if the specified script is not found.  */
 	  else if (script_id == default_script)
 	    OTF_INT16_VAL (tbl, scriptlist_table + 6 + j * 6, &script_table);
+#endif
 	}
       /* If no specific or default script table was found, then this font
 	 does not support the script.  */