Changeset 80610 in webkit
- Timestamp:
- Mar 8, 2011 5:39:46 PM (13 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r80608 r80610 1 2011-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 1 12 2011-03-08 Ryosuke Niwa <rniwa@webkit.org> 2 13 -
trunk/Source/WebCore/platform/graphics/chromium/FontLinux.cpp
r76743 r80610 99 99 SkPoint* vPosEnd = storage3.get(); 100 100 101 bool isVertical = font-> orientation() == Vertical;101 bool isVertical = font->platformData().orientation() == Vertical; 102 102 for (int i = 0; i < numGlyphs; i++) { 103 103 SkScalar myWidth = SkFloatToScalar(adv[i].width()); -
trunk/Source/WebCore/platform/graphics/chromium/SimpleFontDataLinux.cpp
r76569 r80610 114 114 m_fontMetrics.setLineSpacing(lroundf(ascent) + lroundf(descent) + lroundf(lineGap)); 115 115 116 if ( m_orientation == Vertical) {116 if (platformData().orientation() == Vertical && !isTextOrientationFallback()) { 117 117 static const uint32_t vheaTag = SkSetFourByteTag('v', 'h', 'e', 'a'); 118 118 static const uint32_t vorgTag = SkSetFourByteTag('V', 'O', 'R', 'G'); -
trunk/Source/WebCore/platform/graphics/skia/GlyphPageTreeNodeSkia.cpp
r74232 r80610 92 92 } 93 93 94 if ( (fontData->orientation() == Vertical) && (!fontData->isBrokenIdeographFont())) {94 if (fontData->hasVerticalGlyphs()) { 95 95 bool lookVariants = false; 96 96 for (unsigned i = 0; i < bufferLength; ++i) {
Note: See TracChangeset
for help on using the changeset viewer.