Changeset 149474 in webkit
- Timestamp:
- May 1, 2013, 6:48:55 PM (12 years ago)
- Location:
- trunk
- Files:
-
- 3 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r149470 r149474 1 2013-05-01 Enrica Casucci <enrica@apple.com> 2 3 text-combine: horizontal does not work properly for some fonts. 4 https://bugs.webkit.org/show_bug.cgi?id=115503. 5 6 Reviewed by Dave Hyatt. 7 8 * fast/text/text-combine-different-fonts.html: Added. 9 * platform/mac/fast/text/text-combine-different-fonts-expected.png: Added. 10 * platform/mac/fast/text/text-combine-different-fonts-expected.txt: Added. 11 1 12 2013-05-01 Stephanie Lewis <slewis@apple.com> 2 13 -
trunk/Source/WebCore/ChangeLog
r149469 r149474 1 2013-05-01 Enrica Casucci <enrica@apple.com> 2 3 text-combine: horizontal does not work properly for some fonts. 4 https://bugs.webkit.org/show_bug.cgi?id=115503. 5 6 Reviewed by Dave Hyatt. 7 8 For some fonts that don't have width variants, we fail to combine glyphs 9 because we believe they don't fit. That decision is made comparing the run width 10 with the font computed size multiplied by a margin factor. 11 I've increased the margin from 10% to 15%. 12 13 Test: fast/text/text-combine-different-fonts.html 14 15 * rendering/RenderCombineText.cpp: 16 1 17 2013-05-01 Joseph Pecoraro <pecoraro@apple.com> 2 18 -
trunk/Source/WebCore/rendering/RenderCombineText.cpp
r131311 r149474 27 27 namespace WebCore { 28 28 29 const float textCombineMargin = 1.1 f; // Allow em + 10% margin29 const float textCombineMargin = 1.15f; // Allow em + 15% margin 30 30 31 31 RenderCombineText::RenderCombineText(Node* node, PassRefPtr<StringImpl> string)
Note:
See TracChangeset
for help on using the changeset viewer.