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

Issue 1310803003: Fix handling of word-spacing and nbsp for complex text (Closed)

Created:
5 years, 4 months ago by eae
Modified:
5 years, 4 months ago
Reviewers:
pdr.
CC:
blink-reviews, Rik, danakj, dshwang, drott+blinkwatch_chromium.org, krit, f(malita), jbroman, Justin Novosad, pdr+graphicswatchlist_chromium.org, rwlbuis, Stephen Chennney
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Fix handling of word-spacing and nbsp for complex text Shange HarfBuzzShaper to not normalize non breaking space and update the logic in adjustSpacing to correctly handle non breaking space characters during word-space adjustments. The logic for word spacing adjustments is based on the implementation in SimpleShaper which has been proven right. R=pdr@chromium.org BUG=523548 TEST=fast/text/word-spacing-nbsp.html Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=201041

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+49 lines, -2 lines) Patch
A LayoutTests/fast/text/word-spacing-nbsp.html View 1 chunk +22 lines, -0 lines 0 comments Download
A LayoutTests/fast/text/word-spacing-nbsp-expected.html View 1 chunk +25 lines, -0 lines 0 comments Download
M Source/platform/fonts/shaping/HarfBuzzShaper.cpp View 2 chunks +2 lines, -2 lines 1 comment Download

Messages

Total messages: 10 (4 generated)
eae
5 years, 4 months ago (2015-08-22 00:11:36 UTC) #2
pdr.
LGTM https://codereview.chromium.org/1310803003/diff/1/Source/platform/fonts/shaping/HarfBuzzShaper.cpp File Source/platform/fonts/shaping/HarfBuzzShaper.cpp (right): https://codereview.chromium.org/1310803003/diff/1/Source/platform/fonts/shaping/HarfBuzzShaper.cpp#newcode1175 Source/platform/fonts/shaping/HarfBuzzShaper.cpp:1175: if (treatAsSpace && (currentCharacterIndex || character == noBreakSpaceCharacter) ...
5 years, 4 months ago (2015-08-22 02:29:46 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1310803003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1310803003/1
5 years, 4 months ago (2015-08-22 02:30:01 UTC) #5
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_android_rel_ng/builds/59417)
5 years, 4 months ago (2015-08-22 05:20:55 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1310803003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1310803003/1
5 years, 4 months ago (2015-08-22 05:27:44 UTC) #9
commit-bot: I haz the power
5 years, 4 months ago (2015-08-22 10:06:33 UTC) #10
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://src.chromium.org/viewvc/blink?view=rev&revision=201041

Powered by Google App Engine
This is Rietveld 408576698