Changeset 156399 in webkit


Ignore:
Timestamp:
Sep 25, 2013 9:02:07 AM (11 years ago)
Author:
allan.jensen@digia.com
Message:

REGRESSION(r156393): Build with !ENABLE(SVG_FONTS) broken

Unreviewed build-fix.

Protect SVG font code with #ifdef ENABLE(SVG_FONTS).

  • platform/graphics/WidthIterator.cpp:

(WebCore::applyFontTransforms):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r156398 r156399  
     12013-09-25  Allan Sandfeld Jensen  <allan.jensen@digia.com>
     2
     3        REGRESSION(r156393): Build with !ENABLE(SVG_FONTS) broken
     4
     5        Unreviewed build-fix.
     6
     7        Protect SVG font code with #ifdef ENABLE(SVG_FONTS).
     8
     9        * platform/graphics/WidthIterator.cpp:
     10        (WebCore::applyFontTransforms):
     11
    1122013-09-25  Commit Queue  <commit-queue@webkit.org>
    213
  • trunk/Source/WebCore/platform/graphics/WidthIterator.cpp

    r156393 r156399  
    122122        glyphBuffer->reverse(lastGlyphCount, glyphBufferSize - lastGlyphCount);
    123123
     124#if ENABLE(SVG_FONTS)
    124125    // We need to handle transforms on SVG fonts internally, since they are rendered internally.
    125126    if (fontData->isSVGFont()) {
     
    129130            iterator.run().renderingContext()->applySVGKerning(fontData, iterator, glyphBuffer, lastGlyphCount);
    130131    } else
     132#endif
    131133        fontData->applyTransforms(glyphBuffer->glyphs(lastGlyphCount), advances + lastGlyphCount, glyphBufferSize - lastGlyphCount, typesettingFeatures);
    132134
Note: See TracChangeset for help on using the changeset viewer.