Changeset 128965 in webkit
- Timestamp:
- Sep 18, 2012 10:26:16 PM (12 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r128964 r128965 1 2012-09-18 Kenichi Ishibashi <bashi@chromium.org> 2 3 [Chromium] Don't treat tab as spaces for word-end in HarfBuzzShaper 4 https://bugs.webkit.org/show_bug.cgi?id=97068 5 6 Reviewed by Yuta Kitamura. 7 8 No new tests. fast/text/wide-zero-width-space.html should cover this change. 9 10 * platform/graphics/harfbuzz/ng/HarfBuzzShaper.cpp: 11 (WebCore::normalizeCharacters): Don't treat tab as space. 12 1 13 2012-09-18 Eric Carlson <eric.carlson@apple.com> 2 14 -
trunk/Source/WebCore/platform/graphics/harfbuzz/ng/HarfBuzzShaper.cpp
r127801 r128965 156 156 int nextPosition = position; 157 157 U16_NEXT(source, nextPosition, length, character); 158 if (Font::treatAsSpace(character)) 158 // Don't normalize tabs as they are not treated as spaces for word-end 159 if (Font::treatAsSpace(character) && character != '\t') 159 160 character = ' '; 160 161 else if (Font::treatAsZeroWidthSpaceInComplexScript(character))
Note: See TracChangeset
for help on using the changeset viewer.