From: Jason Rumney Date: Fri, 29 Aug 2008 18:13:10 +0000 (+0000) Subject: (uniscribe_check_otf): Don't fallback on DFLT script. X-Git-Tag: emacs-pretest-23.0.90~3145 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=595f18706c54f9adb9a4caa559c0c9428b8fdef3;p=emacs.git (uniscribe_check_otf): Don't fallback on DFLT script. --- diff --git a/src/ChangeLog b/src/ChangeLog index c8759808038..97135252c25 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2008-08-29 Jason Rumney + + * w32uniscribe.c (uniscribe_check_otf): Don't fallback on DFLT script. + 2008-08-29 Eli Zaretskii * composite.c (fill_gstring_body): Avoid compiler warnings. 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. */