LayoutTests/ChangeLog

 12010-04-21 Ojan Vafai <ojan@chromium.org>
 2
 3 Reviewed by NOBODY (OOPS!).
 4
 5 http://trac.webkit.org/changeset/57215 caused perf/memory regressions
 6 https://bugs.webkit.org/show_bug.cgi?id=37292
 7
 8 #if out the canUseGlyphCache Changes from r57215 as they caused a
 9 8% perf regression on Chromium's international page load tests so that
 10 the perf regression can be fixed properly without being left in the tree.
 11
 12 * platform/mac/fast/repaint/stacked-diacritics-expected.checksum:
 13 * platform/mac/fast/repaint/stacked-diacritics-expected.png:
 14
1152010-04-28 Xiaomei Ji <xji@chromium.org>
216
317 Reviewed by Dimitri Glazkov

LayoutTests/platform/mac/fast/repaint/stacked-diacritics-expected.checksum

1 61cab097914525fb7f7a07989330012e
21\ No newline at end of file
 2214a62226351798b782ad9c839ab900d
33\ No newline at end of file

LayoutTests/platform/mac/fast/repaint/stacked-diacritics-expected.png

INVALID: Image lacks a checksum. This will fail with a MISSING error in run-webkit-tests. Always generate new png files using run-webkit-tests.

INVALID: Image lacks a checksum. This will fail with a MISSING error in run-webkit-tests. Always generate new png files using run-webkit-tests.

WebCore/ChangeLog

 12010-04-21 Ojan Vafai <ojan@chromium.org>
 2
 3 Reviewed by NOBODY (OOPS!).
 4
 5 http://trac.webkit.org/changeset/57215 caused perf/memory regressions
 6 https://bugs.webkit.org/show_bug.cgi?id=37292
 7
 8 #if out the canUseGlyphCache Changes from r57215 as they caused a
 9 8% perf regression on Chromium's international page load tests so that
 10 the perf regression can be fixed properly without being left in the tree.
 11
 12 * platform/graphics/FontFastPath.cpp:
 13 (WebCore::Font::canUseGlyphCache):
 14
1152010-04-28 Pavel Feldman <pfeldman@chromium.org>
216
317 Reviewed by Timothy Hatcher.

WebCore/platform/graphics/FontFastPath.cpp

3636#include <wtf/MathExtras.h>
3737#include <wtf/unicode/Unicode.h>
3838
 39#ifndef ROMAN_AND_GREEK_DIACRITICS_CAN_USE_GLYPH_CACHE
 40#define ROMAN_AND_GREEK_DIACRITICS_CAN_USE_GLYPH_CACHE 1
 41#endif
 42
3943using namespace WTF;
4044using namespace Unicode;
4145

@@bool Font::canUseGlyphCache(const TextRun& run) const
234238 if (c <= 0x194F)
235239 return false;
236240
 241#if !ROMAN_AND_GREEK_DIACRITICS_CAN_USE_GLYPH_CACHE
237242 // FIXME: we should not use complex text path for these characters.
238 
239243 if (c < 0x1E00) // U+1E00 through U+2000 characters with diacritics and stacked diacritics
240244 continue;
241245 if (c <= 0x2000)
242246 return false;
 247#endif
243248
244249 if (c < 0x20D0) // U+20D0 through U+20FF Combining marks for symbols
245250 continue;