Changeset 131375 in webkit
- Timestamp:
- Oct 15, 2012, 3:52:35 PM (14 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 3 edited
-
ChangeLog (modified) (1 diff)
-
platform/graphics/WidthIterator.cpp (modified) (1 diff)
-
platform/graphics/WidthIterator.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r131374 r131375 1 2012-10-15 Dan Bernstein <mitz@apple.com> 2 3 Try to fix assertion failures on ports that do not support kerning and ligatures on the fast 4 code path after r131365. 5 6 * platform/graphics/WidthIterator.cpp: 7 (WebCore::applyFontTransforms): Changed the early return condition to not bother with 1-glyph 8 sequences. 9 * platform/graphics/WidthIterator.h: 10 (WebCore::WidthIterator::shouldApplyFontTransforms): Changed to return false if the run is 11 shorter than 2 characters. 12 1 13 2012-10-15 Dan Bernstein <mitz@apple.com> 2 14 -
trunk/Source/WebCore/platform/graphics/WidthIterator.cpp
r131365 r131375 110 110 111 111 int glyphBufferSize = glyphBuffer->size(); 112 if (glyphBuffer->size() <= lastGlyphCount )112 if (glyphBuffer->size() <= lastGlyphCount + 1) 113 113 return 0; 114 114 -
trunk/Source/WebCore/platform/graphics/WidthIterator.h
r131365 r131375 92 92 inline unsigned advanceInternal(TextIterator&, GlyphBuffer*); 93 93 94 bool shouldApplyFontTransforms() const { return m_ typesettingFeatures & (Kerning | Ligatures); }94 bool shouldApplyFontTransforms() const { return m_run.length() > 1 && (m_typesettingFeatures & (Kerning | Ligatures)); } 95 95 96 96 TypesettingFeatures m_typesettingFeatures;
Note:
See TracChangeset
for help on using the changeset viewer.