Changeset 66740 in webkit
- Timestamp:
- Sep 3, 2010 10:56:36 AM (14 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r66737 r66740 1 2010-09-03 Dan Bernstein <mitz@apple.com> 2 3 Reviewed by Anders Carlsson. 4 5 <rdar://problem/8392655> REGRESSION (r57215): Decomposed diacritics render incorrectly when preceded by stacked diacritics 6 https://bugs.webkit.org/show_bug.cgi?id=45182 7 8 * fast/text/decomposed-after-stacked-diacritics-expected.txt: Added. 9 * fast/text/decomposed-after-stacked-diacritics.html: Added. 10 1 11 2010-09-03 Mihai Parparita <mihaip@chromium.org> 2 12 -
trunk/WebCore/ChangeLog
r66739 r66740 1 2010-09-03 Dan Bernstein <mitz@apple.com> 2 3 Reviewed by Anders Carlsson. 4 5 <rdar://problem/8392655> REGRESSION (r57215): Decomposed diacritics render incorrectly when preceded by stacked diacritics 6 https://bugs.webkit.org/show_bug.cgi?id=45182 7 8 Test: fast/text/decomposed-after-stacked-diacritics.html 9 10 * platform/graphics/Font.cpp: 11 (WebCore::Font::codePath): Do not bail out if the run contains stacked diacritics, since 12 it may also contain characters that require the complex text code path. 13 1 14 2010-09-03 Mikhail Naganov <mnaganov@chromium.org> 2 15 -
trunk/WebCore/platform/graphics/Font.cpp
r63950 r66740 278 278 #endif 279 279 280 CodePath result = Simple; 281 280 282 // Start from 0 since drawing and highlighting also measure the characters before run->from 281 283 for (int i = 0; i < run.length(); i++) { … … 313 315 if (c < 0x1E00) // U+1E00 through U+2000 characters with diacritics and stacked diacritics 314 316 continue; 315 if (c <= 0x2000) 316 return SimpleWithGlyphOverflow; 317 if (c <= 0x2000) { 318 result = SimpleWithGlyphOverflow; 319 continue; 320 } 317 321 318 322 if (c < 0x20D0) // U+20D0 through U+20FF Combining marks for symbols … … 330 334 return Complex; 331 335 332 return Simple;333 } 334 335 } 336 return result; 337 } 338 339 }
Note: See TracChangeset
for help on using the changeset viewer.