summaryrefslogtreecommitdiff
path: root/src/w32uniscribe.c
diff options
context:
space:
mode:
authorJason Rumney <jasonr@gnu.org>2008-08-29 18:13:10 +0000
committerJason Rumney <jasonr@gnu.org>2008-08-29 18:13:10 +0000
commit595f18706c54f9adb9a4caa559c0c9428b8fdef3 (patch)
treebafe0a7fd55b259247463a5814116953e4e9fd31 /src/w32uniscribe.c
parent300d87a183551b9e1e634fa4dfe5d9b670e30958 (diff)
downloademacs-595f18706c54f9adb9a4caa559c0c9428b8fdef3.tar.gz
(uniscribe_check_otf): Don't fallback on DFLT script.
Diffstat (limited to 'src/w32uniscribe.c')
-rw-r--r--src/w32uniscribe.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/w32uniscribe.c b/src/w32uniscribe.c
index 871b7925ddc..ce2dd166313 100644
--- a/src/w32uniscribe.c
+++ b/src/w32uniscribe.c
@@ -734,10 +734,12 @@ int uniscribe_check_otf (font, otf_spec)
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. */