Changeset 146331 in webkit


Ignore:
Timestamp:
Mar 20, 2013 4:53:52 AM (11 years ago)
Author:
allan.jensen@digia.com
Message:

[Qt] New fast/text/word-space-with-kerning-3.html fails on Qt
https://bugs.webkit.org/show_bug.cgi?id=112668

Reviewed by Jocelyn Turcotte.

Source/WebCore:

Kerning is on by default in Qt. This means we need to disable it
when WebCore does not request it.

  • platform/graphics/qt/FontQt.cpp:

(WebCore::Font::initFormatForTextLayout):

LayoutTests:

  • platform/qt/TestExpectations:
Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r146328 r146331  
     12013-03-20  Allan Sandfeld Jensen  <allan.jensen@digia.com>
     2
     3        [Qt] New fast/text/word-space-with-kerning-3.html fails on Qt
     4        https://bugs.webkit.org/show_bug.cgi?id=112668
     5
     6        Reviewed by Jocelyn Turcotte.
     7
     8        * platform/qt/TestExpectations:
     9
    1102013-03-20  Sheriff Bot  <webkit.review.bot@gmail.com>
    211
  • trunk/LayoutTests/platform/qt/TestExpectations

    r146296 r146331  
    18231823fast/text/international/spaces-combined-in-vertical-text.html
    18241824
    1825 webkit.org/b/112668 fast/text/word-space-with-kerning-3.html [ Skip ]
    1826 
    18271825fast/writing-mode/border-styles-vertical-lr.html
    18281826fast/writing-mode/border-styles-vertical-rl.html
  • trunk/Source/WebCore/ChangeLog

    r146330 r146331  
     12013-03-20  Allan Sandfeld Jensen  <allan.jensen@digia.com>
     2
     3        [Qt] New fast/text/word-space-with-kerning-3.html fails on Qt
     4        https://bugs.webkit.org/show_bug.cgi?id=112668
     5
     6        Reviewed by Jocelyn Turcotte.
     7
     8        Kerning is on by default in Qt. This means we need to disable it
     9        when WebCore does not request it.
     10
     11        * platform/graphics/qt/FontQt.cpp:
     12        (WebCore::Font::initFormatForTextLayout):
     13
    1142013-03-20  Ilya Tikhonovsky  <loislo@chromium.org>
    215
  • trunk/Source/WebCore/platform/graphics/qt/FontQt.cpp

    r132802 r146331  
    258258    if (m_letterSpacing)
    259259        range.format.setFontLetterSpacing(m_letterSpacing);
    260     if (typesettingFeatures() & Kerning)
    261         range.format.setFontKerning(true);
    262260    if (isSmallCaps())
    263261        range.format.setFontCapitalization(QFont::SmallCaps);
     262    range.format.setFontKerning(typesettingFeatures() & Kerning);
    264263
    265264    if (range.format.propertyCount())
Note: See TracChangeset for help on using the changeset viewer.