Index: third_party/harfbuzz/chromium.patch |
=================================================================== |
--- third_party/harfbuzz/chromium.patch (revision 113251) |
+++ third_party/harfbuzz/chromium.patch (working copy) |
@@ -34,20 +34,6 @@ |
#ifndef NO_OPENTYPE |
if (HB_SelectScript(item, item->item.script == HB_Script_Arabic ? arabic_features : syriac_features)) { |
-diff --git a/src/harfbuzz-gpos.c b/src/harfbuzz-gpos.c |
-index a216005..7bd3b3b 100644 |
---- a/src/harfbuzz-gpos.c |
-+++ b/src/harfbuzz-gpos.c |
-@@ -3012,6 +3012,9 @@ static HB_Error Lookup_MarkMarkPos( GPOS_Instance* gpi, |
- j--; |
- } |
- |
-+ if ( i > buffer->in_pos ) |
-+ return HB_Err_Not_Covered; |
-+ |
- error = _HB_OPEN_Coverage_Index( &mmp->Mark2Coverage, IN_GLYPH( j ), |
- &mark2_index ); |
- if ( error ) |
diff --git a/src/harfbuzz-shaper.cpp b/src/harfbuzz-shaper.cpp |
index ce4d4ac..5999e08 100644 |
--- a/src/harfbuzz-shaper.cpp |
@@ -134,16 +120,3 @@ |
} HB_ShaperFlag; |
/* |
-diff --git a/src/harfbuzz-tibetan.c b/src/harfbuzz-tibetan.c |
-index bfa31b1..847ac52 100644 |
---- a/src/harfbuzz-tibetan.c |
-+++ b/src/harfbuzz-tibetan.c |
-@@ -90,7 +90,7 @@ static const unsigned char tibetanForm[0x80] = { |
- |
- |
- #define tibetan_form(c) \ |
-- (TibetanForm)tibetanForm[c - 0x0f40] |
-+ ((c) >= 0x0f40 && (c) <= 0x0fc0 ? (TibetanForm)tibetanForm[(c) - 0x0f40] : TibetanOther) |
- |
- static const HB_OpenTypeFeature tibetan_features[] = { |
- { HB_MAKE_TAG('c', 'c', 'm', 'p'), CcmpProperty }, |