Changeset 147544 in webkit


Ignore:
Timestamp:
Apr 3, 2013 5:35:36 AM (11 years ago)
Author:
allan.jensen@digia.com
Message:

[Qt] Monospace font does not render in proper sizes
https://bugs.webkit.org/show_bug.cgi?id=93263

Reviewed by Jocelyn Turcotte.

Remove this patch's artificial dependency on Qt 5.1.

  • platform/graphics/qt/FontPlatformDataQt.cpp:

(WebCore::FontPlatformData::FontPlatformData):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r147542 r147544  
     12013-04-03  Allan Sandfeld Jensen  <allan.jensen@digia.com>
     2
     3        [Qt] Monospace font does not render in proper sizes
     4        https://bugs.webkit.org/show_bug.cgi?id=93263
     5
     6        Reviewed by Jocelyn Turcotte.
     7
     8        Remove this patch's artificial dependency on Qt 5.1.
     9
     10        * platform/graphics/qt/FontPlatformDataQt.cpp:
     11        (WebCore::FontPlatformData::FontPlatformData):
     12
    1132013-04-03  Takeshi Yoshino  <tyoshino@chromium.org>
    214
  • trunk/Source/WebCore/platform/graphics/qt/FontPlatformDataQt.cpp

    r146324 r147544  
    7474    font.setWordSpacing(wordSpacing);
    7575    font.setLetterSpacing(QFont::AbsoluteSpacing, letterSpacing);
    76 #if QT_VERSION < QT_VERSION_CHECK(5, 1, 0)
    77     // To maintain stable baselines for Qt 5.0, keep force integer metrics enabled and ignore font-smoothing setting.
    78     font.setStyleStrategy(QFont::ForceIntegerMetrics);
    79 #else
     76#if QT_VERSION >= QT_VERSION_CHECK(5, 1, 0)
    8077    if (description.fontSmoothing() == NoSmoothing
    8178        || (description.fontSmoothing() == AutoSmoothing && !Font::shouldUseSmoothing()))
Note: See TracChangeset for help on using the changeset viewer.