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

Issue 2530153002: Improve fallback for Burmese with leading punctuation + spacing mark (Closed)

Created:
4 years ago by drott
Modified:
4 years ago
Reviewers:
kojii, eae, behdad
CC:
ajuma+watch_chromium.org, apavlov+blink_chromium.org, blink-reviews, blink-reviews-platform-graphics_chromium.org, Rik, caseq+blink_chromium.org, chromium-reviews, danakj+watch_chromium.org, devtools-reviews_chromium.org, dshwang, drott+blinkwatch_chromium.org, krit, f(malita), jbroman, Justin Novosad, kozyatinskiy+blink_chromium.org, lushnikov+blink_chromium.org, pdr+graphicswatchlist_chromium.org, pfeldman+blink_chromium.org, rwlbuis, Stephen Chennney
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Improve fallback for Burmese with leading punctuation + spacing mark Issue 618178 describes an example where a Burmese text run starts with a leading punctuation character followed by a combining spacing mark. This grapheme cannot be shaped with the default font, since Times for example cannot display the combination of a left quote with a Burmese combining mark. Our fallback code attempts to find a fallback font based on the first character at the beginning of an extracted unshaped sub-run, which does not lead to finding a font suitable for Myanmar text in this case. So in a way it runs into a fallback trap, where no fallback hint helps to find the right fallback font and the whole run ends up as notdef glyphs. This CL attempts to resolve this by looking for a better fallback hint character, which is not script common or inherited, if such is available. This improves the situation for the Burmese text from the issue report. In addition, as a better fix we should give higher importance to the locale information in font fallback, filed as issue 668706. BUG=618178 R=eae,kojii,behdad Committed: https://crrev.com/d9280a5e951415e1b2c6c7958adda19b731a99fa Cr-Commit-Position: refs/heads/master@{#434665}

Patch Set 1 #

Patch Set 2 : Baselines for platforms where test is run #

Patch Set 3 : Reintroduce null hint check #

Messages

Total messages: 22 (12 generated)
drott
PTAL, feedback welcome on the general approach.
4 years ago (2016-11-25 13:57:02 UTC) #4
eae
Seems like a reasonable approach, let's give it a try and adjust as needed. LGTM ...
4 years ago (2016-11-25 16:39:59 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2530153002/20001
4 years ago (2016-11-28 11:07:07 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/339295)
4 years ago (2016-11-28 14:07:48 UTC) #12
drott
Reintroduce null hint check
4 years ago (2016-11-28 15:12:50 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2530153002/30009
4 years ago (2016-11-28 15:13:13 UTC) #16
commit-bot: I haz the power
Committed patchset #3 (id:30009)
4 years ago (2016-11-28 16:35:51 UTC) #18
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/d9280a5e951415e1b2c6c7958adda19b731a99fa Cr-Commit-Position: refs/heads/master@{#434665}
4 years ago (2016-11-28 16:38:16 UTC) #20
Marijn Kruisselbrink
A revert of this CL (patchset #3 id:30009) has been created in https://codereview.chromium.org/2532253002/ by mek@chromium.org. ...
4 years ago (2016-11-28 21:06:54 UTC) #21
kojii
4 years ago (2016-11-29 09:26:48 UTC) #22
Message was sent while issue was closed.
lgtm

Powered by Google App Engine
This is Rietveld 408576698