Changeset 271425 in webkit
- Timestamp:
- Jan 12, 2021, 4:55:07 PM (6 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 4 edited
-
LayoutTests/ChangeLog (modified) (1 diff)
-
LayoutTests/fast/text/cjk-multi-codepoint-cluster-vertical-expected.html (added)
-
LayoutTests/fast/text/cjk-multi-codepoint-cluster-vertical.html (added)
-
LayoutTests/platform/win/TestExpectations (modified) (1 diff)
-
Source/WebCore/ChangeLog (modified) (1 diff)
-
Source/WebCore/platform/graphics/coretext/FontCascadeCoreText.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r271419 r271425 1 2021-01-12 Myles C. Maxfield <mmaxfield@apple.com> 2 3 Multi-codepoint CJK grapheme clusters are not oriented correctly in vertical writing mode 4 https://bugs.webkit.org/show_bug.cgi?id=220536 5 <rdar://problem/70633887> 6 7 Reviewed by Zalan Bujtas. 8 9 * fast/text/cjk-multi-codepoint-cluster-vertical-expected.html: Added. 10 * fast/text/cjk-multi-codepoint-cluster-vertical.html: Added. 11 * platform/win/TestExpectations: 12 1 13 2021-01-12 Myles C. Maxfield <mmaxfield@apple.com> 2 14 -
trunk/LayoutTests/platform/win/TestExpectations
r271416 r271425 4614 4614 js/dom/webassembly-memory-shared-fail.html [ Skip ] 4615 4615 storage/indexeddb/shared-memory-structured-clone.html [ Skip ] 4616 4617 webkit.org/b/220536 fast/text/cjk-multi-codepoint-cluster-vertical.html [ ImageOnlyFailure ] -
trunk/Source/WebCore/ChangeLog
r271418 r271425 1 2021-01-12 Myles C. Maxfield <mmaxfield@apple.com> 2 3 Multi-codepoint CJK grapheme clusters are not oriented correctly in vertical writing mode 4 https://bugs.webkit.org/show_bug.cgi?id=220536 5 <rdar://problem/70633887> 6 7 Reviewed by Zalan Bujtas. 8 9 We have two codeblocks in this section that are meant to be used 10 for non-CJK text, but the compound "if" statement was causing us to hit 11 one of them even for CJK text. 12 13 Test: fast/text/cjk-multi-codepoint-cluster-vertical.html 14 15 * platform/graphics/coretext/FontCascadeCoreText.cpp: 16 (WebCore::FontCascade::fontForCombiningCharacterSequence const): 17 1 18 2021-01-12 Eric Carlson <eric.carlson@apple.com> 2 19 -
trunk/Source/WebCore/platform/graphics/coretext/FontCascadeCoreText.cpp
r269211 r271425 323 323 #endif 324 324 if (font->platformData().orientation() == FontOrientation::Vertical) { 325 if (isCJKIdeographOrSymbol(baseCharacter) && !font->hasVerticalGlyphs()) 326 font = &font->brokenIdeographFont(); 327 else if (m_fontDescription.nonCJKGlyphOrientation() == NonCJKGlyphOrientation::Mixed) { 325 if (isCJKIdeographOrSymbol(baseCharacter)) { 326 if (!font->hasVerticalGlyphs()) 327 font = &font->brokenIdeographFont(); 328 } else if (m_fontDescription.nonCJKGlyphOrientation() == NonCJKGlyphOrientation::Mixed) { 328 329 const Font& verticalRightFont = font->verticalRightOrientationFont(); 329 330 Glyph verticalRightGlyph = verticalRightFont.glyphForCharacter(baseCharacter);
Note:
See TracChangeset
for help on using the changeset viewer.