Followup: Reorder Hebrew combining classes for better rendering
Patch from Jonathan Kew. Bug 662055 - advanced Hebrew diacritics are shown correctly only in particular order.
This commit is contained in:
parent
6e78607ea7
commit
514b6f8866
|
@ -104,20 +104,20 @@ _hb_unicode_modified_combining_class (hb_unicode_funcs_t *ufuncs,
|
||||||
{
|
{
|
||||||
int c = hb_unicode_combining_class (ufuncs, unicode);
|
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
|
* 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)
|
* (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] = {
|
static const int permuted_hebrew_classes[25 - 10 + 1] = {
|
||||||
/* 10 sheva */ 15,
|
/* 10 sheva */ 22,
|
||||||
/* 11 hataf segol */ 16,
|
/* 11 hataf segol */ 15,
|
||||||
/* 12 hataf patah */ 17,
|
/* 12 hataf patah */ 16,
|
||||||
/* 13 hataf qamats */ 18,
|
/* 13 hataf qamats */ 17,
|
||||||
/* 14 hiriq */ 19,
|
/* 14 hiriq */ 23,
|
||||||
/* 15 tsere */ 20,
|
/* 15 tsere */ 18,
|
||||||
/* 16 segol */ 21,
|
/* 16 segol */ 19,
|
||||||
/* 17 patah */ 22,
|
/* 17 patah */ 20,
|
||||||
/* 18 qamats */ 23,
|
/* 18 qamats */ 21,
|
||||||
/* 19 holam */ 14,
|
/* 19 holam */ 14,
|
||||||
/* 20 qubuts */ 24,
|
/* 20 qubuts */ 24,
|
||||||
/* 21 dagesh */ 12,
|
/* 21 dagesh */ 12,
|
||||||
|
|
Loading…
Reference in New Issue