Changeset 80610 in webkit


Ignore:
Timestamp:
Mar 8, 2011 5:39:46 PM (13 years ago)
Author:
rniwa@webkit.org
Message:

2011-03-08 Ryosuke Niwa <rniwa@webkit.org>

Chromium Linux build fix attempt after r80582.

  • platform/graphics/chromium/FontLinux.cpp: (WebCore::Font::drawGlyphs):
  • platform/graphics/chromium/SimpleFontDataLinux.cpp: (WebCore::SimpleFontData::platformInit):
  • platform/graphics/skia/GlyphPageTreeNodeSkia.cpp: (WebCore::GlyphPage::fill):
Location:
trunk/Source/WebCore
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r80608 r80610  
     12011-03-08  Ryosuke Niwa  <rniwa@webkit.org>
     2
     3        Chromium Linux build fix attempt after r80582.
     4
     5        * platform/graphics/chromium/FontLinux.cpp:
     6        (WebCore::Font::drawGlyphs):
     7        * platform/graphics/chromium/SimpleFontDataLinux.cpp:
     8        (WebCore::SimpleFontData::platformInit):
     9        * platform/graphics/skia/GlyphPageTreeNodeSkia.cpp:
     10        (WebCore::GlyphPage::fill):
     11
    1122011-03-08  Ryosuke Niwa  <rniwa@webkit.org>
    213
  • trunk/Source/WebCore/platform/graphics/chromium/FontLinux.cpp

    r76743 r80610  
    9999    SkPoint* vPosEnd = storage3.get();
    100100
    101     bool isVertical = font->orientation() == Vertical;
     101    bool isVertical = font->platformData().orientation() == Vertical;
    102102    for (int i = 0; i < numGlyphs; i++) {
    103103        SkScalar myWidth = SkFloatToScalar(adv[i].width());
  • trunk/Source/WebCore/platform/graphics/chromium/SimpleFontDataLinux.cpp

    r76569 r80610  
    114114    m_fontMetrics.setLineSpacing(lroundf(ascent) + lroundf(descent) + lroundf(lineGap));
    115115
    116     if (m_orientation == Vertical) {
     116    if (platformData().orientation() == Vertical && !isTextOrientationFallback()) {
    117117        static const uint32_t vheaTag = SkSetFourByteTag('v', 'h', 'e', 'a');
    118118        static const uint32_t vorgTag = SkSetFourByteTag('V', 'O', 'R', 'G');
  • trunk/Source/WebCore/platform/graphics/skia/GlyphPageTreeNodeSkia.cpp

    r74232 r80610  
    9292    }
    9393
    94     if ((fontData->orientation() == Vertical) && (!fontData->isBrokenIdeographFont())) {
     94    if (fontData->hasVerticalGlyphs()) {
    9595        bool lookVariants = false;
    9696        for (unsigned i = 0; i < bufferLength; ++i) {
Note: See TracChangeset for help on using the changeset viewer.