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

Issue 8895014: Fix two truncation bugs in harfbuzz-indic shaper. (Closed)

Created:
9 years ago by jungshik at Google
Modified:
9 years ago
Reviewers:
bashi
CC:
chromium-reviews, Evan Martin, behdad, Daniel Erat
Visibility:
Public.

Description

Fix two truncation bugs in harfbuzz-indic shaper. This bugs in isMark and isLetter lead 'init' feature to be applied even when a syllable is not at the beginning of a word. See http://www.microsoft.com/typography/otfntdev/bengalot/features.htm for 'init' feature application in Bengali. It turned out that the upstream also fixed this (see https://bugs.freedesktop.org/show_bug.cgi?id=30319) exactly the same way. Change the upstream reference to 93d8573ddcf97648983a1c1b5cdda8a3ec6d4432 in README.chromium and remove 2 patches in chromium.patch because they're all landed in the upstream @93d8573ddcf97648 Two removed patches are: - Fix OOB access (in Tibetan shaper) @ff0612c2e7df1b86fc - Fix crash! (in harfbuzz-gpos.c) @81c8ef785b079980a In addition, the following upstream fix is included by going to 93d8573ddc. - Fix bug in contrib/harfbuzz-unicode.cc @93d8573ddcf9 Webkit bug to add a layout test for 'init' is https://bugs.webkit.org/show_bug.cgi?id=74310 BUG=107031 TEST=With Lohit Bengali font installed (the default on CrOS devices), go to http://i18nl10n.com/fonts/beng3.html and the result should be the same as the left in the screenshot attached to the bug instead of the right. A webkit layout test will be added and will be mentioned in the bug later. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=114082

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -32 lines) Patch
M third_party/harfbuzz/README.chromium View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/harfbuzz/chromium.patch View 1 2 3 2 chunks +0 lines, -27 lines 0 comments Download
M third_party/harfbuzz/contrib/harfbuzz-unicode.c View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/harfbuzz/src/harfbuzz-indic.cpp View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
jungshik at Google
We took the upstream at d10a264823e (Jul 13, 2011) and the fix for this was ...
9 years ago (2011-12-10 00:22:07 UTC) #1
bashi
LGTM. I think we'd better update README.chromium to point to 93d8573ddcf9764 and remove the diffs. ...
9 years ago (2011-12-12 00:13:10 UTC) #2
behdad_google
LGTM.
9 years ago (2011-12-12 21:12:25 UTC) #3
jungshik at Google
9 years ago (2011-12-12 21:36:43 UTC) #4
Thank you for the review. I updated README to point to the latest in the
upstream and removed diffs that are not necessary any more from chromium.patch.

Powered by Google App Engine
This is Rietveld 408576698