diff --git a/src/hb-ot-shape-private.hh b/src/hb-ot-shape-private.hh index 3e3efdeac..c716962fc 100644 --- a/src/hb-ot-shape-private.hh +++ b/src/hb-ot-shape-private.hh @@ -104,20 +104,20 @@ _hb_unicode_modified_combining_class (hb_unicode_funcs_t *ufuncs, { int c = hb_unicode_combining_class (ufuncs, unicode); - /* For Hebrew, we permute the "fixed-position" classes 10-15 into the order + /* For Hebrew, we permute the "fixed-position" classes 10-25 into the order * described in the SBL Hebrew manual http://www.sbl-site.org/Fonts/SBLHebrewUserManual1.5x.pdf * (as recommended by http://forum.fontlab.com/archive-old-microsoft-volt-group/vista-and-diacritic-ordering-t6751.0.html) */ static const int permuted_hebrew_classes[25 - 10 + 1] = { - /* 10 sheva */ 15, - /* 11 hataf segol */ 16, - /* 12 hataf patah */ 17, - /* 13 hataf qamats */ 18, - /* 14 hiriq */ 19, - /* 15 tsere */ 20, - /* 16 segol */ 21, - /* 17 patah */ 22, - /* 18 qamats */ 23, + /* 10 sheva */ 22, + /* 11 hataf segol */ 15, + /* 12 hataf patah */ 16, + /* 13 hataf qamats */ 17, + /* 14 hiriq */ 23, + /* 15 tsere */ 18, + /* 16 segol */ 19, + /* 17 patah */ 20, + /* 18 qamats */ 21, /* 19 holam */ 14, /* 20 qubuts */ 24, /* 21 dagesh */ 12,