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

Issue 648293003: Handle missing glyphs when adjusting spacing in SimpleShaper (Closed)

Created:
6 years, 2 months ago by eae
Modified:
6 years, 2 months ago
Reviewers:
pdr., dglazkov
CC:
blink-reviews, Rik, danakj, krit, jbroman, mkwst+moarreviews_chromium.org, pdr+graphicswatchlist_chromium.org, rwlbuis, Stephen Chennney
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

Handle missing glyphs when adjusting spacing in SimpleShaper Handle the case where the space glyph is used instead of a missing zero- width-space, soft-hypen or non-printable space glyph when adjusting the spacing in SimpleShaper::advanceInternal. TEST=fast/text/soft-hyphen-simple-text.html BUG=422050 R=pdr@chromium.org Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=183685

Patch Set 1 #

Patch Set 2 : Added LayoutTest #

Total comments: 2

Patch Set 3 : #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+81 lines, -1 line) Patch
A LayoutTests/fast/text/soft-hyphen-simple-text.html View 1 2 1 chunk +45 lines, -0 lines 0 comments Download
A LayoutTests/fast/text/soft-hyphen-simple-text-expected.html View 1 2 1 chunk +33 lines, -0 lines 0 comments Download
M Source/platform/fonts/shaping/SimpleShaper.cpp View 1 2 2 chunks +3 lines, -1 line 2 comments Download

Messages

Total messages: 13 (3 generated)
eae
6 years, 2 months ago (2014-10-13 22:08:49 UTC) #2
eae
6 years, 2 months ago (2014-10-13 23:02:23 UTC) #4
pdr.
https://codereview.chromium.org/648293003/diff/50001/Source/platform/fonts/shaping/SimpleShaper.cpp File Source/platform/fonts/shaping/SimpleShaper.cpp (right): https://codereview.chromium.org/648293003/diff/50001/Source/platform/fonts/shaping/SimpleShaper.cpp#newcode210 Source/platform/fonts/shaping/SimpleShaper.cpp:210: if (hasExtraSpacing && width) (Maybe as a followup) Can ...
6 years, 2 months ago (2014-10-13 23:53:30 UTC) #5
eae
On 2014/10/13 23:53:30, pdr wrote: > https://codereview.chromium.org/648293003/diff/50001/Source/platform/fonts/shaping/SimpleShaper.cpp > File Source/platform/fonts/shaping/SimpleShaper.cpp (right): > > https://codereview.chromium.org/648293003/diff/50001/Source/platform/fonts/shaping/SimpleShaper.cpp#newcode210 > ...
6 years, 2 months ago (2014-10-13 23:55:46 UTC) #6
pdr.
On 2014/10/13 at 23:55:46, eae wrote: > On 2014/10/13 23:53:30, pdr wrote: > > https://codereview.chromium.org/648293003/diff/50001/Source/platform/fonts/shaping/SimpleShaper.cpp ...
6 years, 2 months ago (2014-10-14 00:12:24 UTC) #7
eae
On 2014/10/14 00:12:24, pdr wrote: > On 2014/10/13 at 23:55:46, eae wrote: > > On ...
6 years, 2 months ago (2014-10-14 00:14:57 UTC) #8
pdr.
LGTM https://codereview.chromium.org/648293003/diff/230001/Source/platform/fonts/shaping/SimpleShaper.cpp File Source/platform/fonts/shaping/SimpleShaper.cpp (right): https://codereview.chromium.org/648293003/diff/230001/Source/platform/fonts/shaping/SimpleShaper.cpp#newcode200 Source/platform/fonts/shaping/SimpleShaper.cpp:200: width = characterWidth(charData.character, glyphData); Would it make sense ...
6 years, 2 months ago (2014-10-14 00:28:36 UTC) #9
eae
Thanks pdr. https://codereview.chromium.org/648293003/diff/230001/Source/platform/fonts/shaping/SimpleShaper.cpp File Source/platform/fonts/shaping/SimpleShaper.cpp (right): https://codereview.chromium.org/648293003/diff/230001/Source/platform/fonts/shaping/SimpleShaper.cpp#newcode200 Source/platform/fonts/shaping/SimpleShaper.cpp:200: width = characterWidth(charData.character, glyphData); On 2014/10/14 00:28:36, ...
6 years, 2 months ago (2014-10-14 00:30:36 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/648293003/230001
6 years, 2 months ago (2014-10-14 17:59:08 UTC) #12
commit-bot: I haz the power
6 years, 2 months ago (2014-10-14 18:03:51 UTC) #13
Message was sent while issue was closed.
Committed patchset #3 (id:230001) as 183685

Powered by Google App Engine
This is Rietveld 408576698