Changeset 152690 in webkit
- Timestamp:
- Jul 15, 2013, 6:21:14 PM (12 years ago)
- Location:
- branches/safari-537-branch
- Files:
-
- 3 edited
- 3 copied
Legend:
- Unmodified
- Added
- Removed
-
branches/safari-537-branch/LayoutTests/ChangeLog
r152683 r152690 1 2013-07-15 Lucas Forschler <lforschler@apple.com> 2 3 Merge r152653 4 5 2013-07-15 Antoine Quint <graouts@apple.com> 6 7 Text with "text-overflow:ellipsis" and an SVG font do not render correctly 8 https://bugs.webkit.org/show_bug.cgi?id=118669 9 10 Reviewed by David Kilzer. 11 12 * platform/mac/svg/text/text-overflow-ellipsis-svgfont-kerning-ligatures-expected.png: Added. 13 * platform/mac/svg/text/text-overflow-ellipsis-svgfont-kerning-ligatures-expected.txt: Added. 14 * svg/text/text-overflow-ellipsis-svgfont-kerning-ligatures.html: Added. 15 1 16 2013-07-15 Lucas Forschler <lforschler@apple.com> 2 17 -
branches/safari-537-branch/Source/WebCore/ChangeLog
r152687 r152690 1 2013-07-15 Lucas Forschler <lforschler@apple.com> 2 3 Merge r152653 4 5 2013-07-15 Antoine Quint <graouts@apple.com> 6 7 Text with "text-overflow:ellipsis" and an SVG font do not render correctly 8 https://bugs.webkit.org/show_bug.cgi?id=118669 9 10 Reviewed by David Kilzer. 11 12 Partial runs may be routed through the complex path in several Font functions. While incomplete, 13 we can check for a non-NULL run.renderingContext() and exempt runs that have it from being forced 14 down the complex path. A more thorough fix is already tracked by http://webkit.org/b/100050. 15 16 Adding a new testcase which is a copy of svg/text/text-overflow-ellipsis-svgfont.html with kerning 17 and ligatures turned on explicitly since DRT runs with those off by default and this option is required 18 to be on for the issue to reproduce. 19 20 Fix courtesy of Dan Bernstein. 21 22 Test: svg/text/text-overflow-ellipsis-svgfont-kerning-ligatures.html 23 24 * platform/graphics/Font.cpp: 25 (WebCore::Font::drawText): 26 (WebCore::Font::drawEmphasisMarks): 27 (WebCore::Font::selectionRectForText): 28 1 29 2013-07-15 Lucas Forschler <lforschler@apple.com> 2 30 -
branches/safari-537-branch/Source/WebCore/platform/graphics/Font.cpp
r151327 r152690 267 267 CodePath codePathToUse = codePath(run); 268 268 // FIXME: Use the fast code path once it handles partial runs with kerning and ligatures. See http://webkit.org/b/100050 269 if (codePathToUse != Complex && typesettingFeatures() && (from || to != run.length()) )269 if (codePathToUse != Complex && typesettingFeatures() && (from || to != run.length()) && !run.renderingContext()) 270 270 codePathToUse = Complex; 271 271 … … 286 286 CodePath codePathToUse = codePath(run); 287 287 // FIXME: Use the fast code path once it handles partial runs with kerning and ligatures. See http://webkit.org/b/100050 288 if (codePathToUse != Complex && typesettingFeatures() && (from || to != run.length()) )288 if (codePathToUse != Complex && typesettingFeatures() && (from || to != run.length()) && !run.renderingContext()) 289 289 codePathToUse = Complex; 290 290 … … 363 363 CodePath codePathToUse = codePath(run); 364 364 // FIXME: Use the fast code path once it handles partial runs with kerning and ligatures. See http://webkit.org/b/100050 365 if (codePathToUse != Complex && typesettingFeatures() && (from || to != run.length()) )365 if (codePathToUse != Complex && typesettingFeatures() && (from || to != run.length()) && !run.renderingContext()) 366 366 codePathToUse = Complex; 367 367
Note:
See TracChangeset
for help on using the changeset viewer.