Skip to content
Commit e2f4d1dc authored by Tor Lillqvist's avatar Tor Lillqvist Committed by Tor Lillqvist
Browse files

New function. Uses the Uniscribe ScriptIsSimple() function to check if

2003-08-05  Tor Lillqvist  <tml@iki.fi>

	* modules/basic/basic-win32.c (text_is_simple): New function. Uses
	the Uniscribe ScriptIsSimple() function to check if Uniscribe
	shaping is needed for a piece of text.

	(basic_engine_shape): Use it, to avoid calling Uniscribe to shape
	non-complex text. Produces dramatic speedup according to tests by
	Hans Breuer.

	(init_uniscribe): No need for the PANGO_WIN32_NO_UNISCRIBE
	environment variable any longer.
parent e5661fe5
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