Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(55)

Issue 145473002: Chromium for Mac cannot print surrogate pair in vertical writing mode (Closed)

Created:
6 years, 11 months ago by yuki.sekiguchi
Modified:
6 years, 10 months ago
CC:
blink-reviews, jamesr, krit, dsinclair, jbroman, danakj, Rik, Stephen Chennney, pdr., rwlbuis, Robert Sesek
Visibility:
Public.

Description

Chromium for Mac cannot print surrogate pair in vertical writing mode CoreText doesn't have vertical glyphs of surrogate pair characters, and we draw broken glyphs. On Safari, wkGetVerticalGlyphsForCharacters returns true, and we use the glyphs which is returned from the SPI. However, according to the description of r149659, WKGetVerticalGlyphsForCharacters() just returns false on Chromium. Therefore, we cannot get vertical glyphs from Mac API/SPI. To work around that, we should not use CoreText for surrogate pair characters in vertical writing mode, but this always returns horizontal glyphs. BUG=337080 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=166358

Patch Set 1 #

Patch Set 2 : Added test expectation. #

Patch Set 3 : Added NeedsRebaseline #

Total comments: 2

Patch Set 4 : Changed comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -0 lines) Patch
M LayoutTests/TestExpectations View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
A LayoutTests/fast/text/vertical-surrogate-pair.html View 1 chunk +8 lines, -0 lines 0 comments Download
A + LayoutTests/platform/mac/fast/text/vertical-surrogate-pair-expected.png View Binary file 0 comments Download
A LayoutTests/platform/mac/fast/text/vertical-surrogate-pair-expected.txt View 1 chunk +14 lines, -0 lines 0 comments Download
M Source/platform/fonts/mac/GlyphPageTreeNodeMac.cpp View 1 2 3 1 chunk +10 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
yuki.sekiguchi
Hi Levi, Could you review my patch?
6 years, 11 months ago (2014-01-24 02:36:57 UTC) #1
leviw_travelin_and_unemployed
Adding eae@ who may have comments. https://codereview.chromium.org/145473002/diff/90001/Source/platform/fonts/mac/GlyphPageTreeNodeMac.cpp File Source/platform/fonts/mac/GlyphPageTreeNodeMac.cpp (right): https://codereview.chromium.org/145473002/diff/90001/Source/platform/fonts/mac/GlyphPageTreeNodeMac.cpp#newcode49 Source/platform/fonts/mac/GlyphPageTreeNodeMac.cpp:49: // CoreText doesn't ...
6 years, 10 months ago (2014-01-28 19:16:39 UTC) #2
yuki.sekiguchi
On 2014/01/28 19:16:39, Levi wrote: > Adding eae@ who may have comments. > > https://codereview.chromium.org/145473002/diff/90001/Source/platform/fonts/mac/GlyphPageTreeNodeMac.cpp ...
6 years, 10 months ago (2014-02-03 06:33:14 UTC) #3
yuki.sekiguchi
Hi Levi, eae@ Could you review my patch?
6 years, 10 months ago (2014-02-03 06:36:25 UTC) #4
leviw_travelin_and_unemployed
lgtm
6 years, 10 months ago (2014-02-04 00:43:10 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yuki.sekiguchi@access-company.com/145473002/160001
6 years, 10 months ago (2014-02-04 00:43:19 UTC) #6
commit-bot: I haz the power
6 years, 10 months ago (2014-02-04 07:02:32 UTC) #7
Message was sent while issue was closed.
Change committed as 166358

Powered by Google App Engine
This is Rietveld 408576698