summaryrefslogtreecommitdiff
path: root/tools/Makefile.am
diff options
context:
space:
mode:
authorDavid E. Hollingsworth <deh@curl.com>2009-08-13 15:55:50 +0300
committerTor Lillqvist <tml@iki.fi>2009-08-14 23:47:03 +0300
commitf4643a7c1a725606fe37308ed60688d8d65d8816 (patch)
tree3e69dd57fc8b51790dab758e7a4e5e9b70ca8b39 /tools/Makefile.am
parent3c27e444b95a596f4f8d6296243c61bec0f353f1 (diff)
downloadpango-f4643a7c1a725606fe37308ed60688d8d65d8816.tar.gz
[basic-win32] Increase performance of Uniscribe code
A few weeks ago I reported a performance issue regarding the use of Uniscribe in the win32 basic shaper. It turns out that the issue was with the use of Uniscribe's SCRIPT_CACHE. Despite the name, this value is for caching per-font-plus-size values, not per-script values. See: http://msdn.microsoft.com/en-us/library/dd317726(VS.85).aspx Since shaping occurs on runs containing a single font, we only need one SCRIPT_CACHE in uniscribe_shape. I'm including a patch below that does this. With the patch applied, the time for one of my tests went from 20s to .3s.
Diffstat (limited to 'tools/Makefile.am')
0 files changed, 0 insertions, 0 deletions