Commit 595f1870 authored by Jason Rumney's avatar Jason Rumney

(uniscribe_check_otf): Don't fallback on DFLT script.

parent 300d87a1
2008-08-29 Jason Rumney <jasonr@gnu.org>
* w32uniscribe.c (uniscribe_check_otf): Don't fallback on DFLT script.
2008-08-29 Eli Zaretskii <eliz@gnu.org>
* composite.c (fill_gstring_body): Avoid compiler warnings.
......
......@@ -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. */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment