diff options
author | Allan Sandfeld Jensen <allan.jensen@digia.com> | 2014-09-01 15:02:07 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@digia.com> | 2014-09-03 21:00:45 +0200 |
commit | 49b71cd747ed5144c60198d8c09f4c2e99eca853 (patch) | |
tree | b24398bb3da4470b54a0c28efc986f869af8096b /Source/JavaScriptCore/API/JSAPIWrapperObject.h | |
parent | 493382c64f32630ee72ef74771ddb53d5c098f3b (diff) | |
download | qtwebkit-49b71cd747ed5144c60198d8c09f4c2e99eca853.tar.gz |
Improve layout and rendering speed of complex font path
This patch enables the use of the TextLayout object previously only used
by the Mac port. This caches a line of laid out text making reflowing
text much faster when using the complex font path.
The patch also enables caching in the QTextLayout, this improves also
drawing and measuring of complex fonts, since previously we would throw
away details of the layout after calculating a line, but then
recalculate it for drawing or measuring.
Change-Id: I9db40cdb5a35d28072204f950a8aa50669ac643b
Reviewed-by: Pierre Rossi <pierre.rossi@gmail.com>
Diffstat (limited to 'Source/JavaScriptCore/API/JSAPIWrapperObject.h')
0 files changed, 0 insertions, 0 deletions