diff options
author | Allan Sandfeld Jensen <allan.jensen@digia.com> | 2013-03-27 17:02:03 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-03-28 16:18:11 +0100 |
commit | 44329e0faee75171545189ad7be58ac4c36652fe (patch) | |
tree | 569270ba3a5aac710119326bd517da6690243ff0 /Source/JavaScriptCore/heap/WeakSet.cpp | |
parent | d386c390be7eda670c21f72960b1845bdea11a62 (diff) | |
download | qtwebkit-44329e0faee75171545189ad7be58ac4c36652fe.tar.gz |
[Qt] Support kerning in fast path font rendering
https://bugs.webkit.org/show_bug.cgi?id=106013
Reviewed by Jocelyn Turcotte.
To support kerning in the fast font path we need to implement SimpleFontData::applyTransforms.
This patch changes the types used by the fast path GlyphBuffer to match those used by Qt,
and implements SimpleFontData::applyTransforms using QRawFont::advancesForGlyphIndexes.
* platform/graphics/GlyphBuffer.h:
(GlyphBufferAdvance):
(WebCore::GlyphBufferAdvance::GlyphBufferAdvance):
(WebCore::GlyphBufferAdvance::setWidth):
(WebCore::GlyphBufferAdvance::width):
(WebCore::GlyphBufferAdvance::height):
(WebCore::GlyphBuffer::add):
* platform/graphics/SimpleFontData.h:
(WebCore::SimpleFontData::applyTransforms):
* platform/graphics/WidthIterator.h:
(WebCore::WidthIterator::supportsTypesettingFeatures):
Change-Id: I9c94b19a9ca94b15385dfe71d6f26d030de59544
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@146209 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com>
Diffstat (limited to 'Source/JavaScriptCore/heap/WeakSet.cpp')
0 files changed, 0 insertions, 0 deletions