< prev index next >

src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-shape-complex-indic.cc

Print this page

        

*** 1711,1747 **** hb_codepoint_t *b) { switch (ab) { /* Don't decompose these. */ ! case 0x0931u : return false; ! case 0x0B94u : return false; /* * Decompose split matras that don't have Unicode decompositions. */ ! case 0x0F77u : *a = 0x0FB2u; *b= 0x0F81u; return true; ! case 0x0F79u : *a = 0x0FB3u; *b= 0x0F81u; return true; case 0x17BEu : *a = 0x17C1u; *b= 0x17BEu; return true; case 0x17BFu : *a = 0x17C1u; *b= 0x17BFu; return true; case 0x17C0u : *a = 0x17C1u; *b= 0x17C0u; return true; case 0x17C4u : *a = 0x17C1u; *b= 0x17C4u; return true; case 0x17C5u : *a = 0x17C1u; *b= 0x17C5u; return true; ! case 0x1925u : *a = 0x1920u; *b= 0x1923u; return true; ! case 0x1926u : *a = 0x1920u; *b= 0x1924u; return true; ! case 0x1B3Cu : *a = 0x1B42u; *b= 0x1B3Cu; return true; ! case 0x1112Eu : *a = 0x11127u; *b= 0x11131u; return true; ! case 0x1112Fu : *a = 0x11127u; *b= 0x11132u; return true; #if 0 /* This one has no decomposition in Unicode, but needs no decomposition either. */ /* case 0x0AC9u : return false; */ case 0x0B57u : *a = no decomp, -> RIGHT; return true; - case 0x1C29u : *a = no decomp, -> LEFT; return true; - case 0xA9C0u : *a = no decomp, -> RIGHT; return true; - case 0x111BuF : *a = no decomp, -> ABOVE; return true; #endif } if ((ab == 0x0DDAu || hb_in_range (ab, 0x0DDCu, 0x0DDEu))) { --- 1711,1742 ---- hb_codepoint_t *b) { switch (ab) { /* Don't decompose these. */ ! case 0x0931u : return false; /* DEVANAGARI LETTER RRA */ ! case 0x0B94u : return false; /* TAMIL LETTER AU */ /* * Decompose split matras that don't have Unicode decompositions. */ ! /* Khmer */ case 0x17BEu : *a = 0x17C1u; *b= 0x17BEu; return true; case 0x17BFu : *a = 0x17C1u; *b= 0x17BFu; return true; case 0x17C0u : *a = 0x17C1u; *b= 0x17C0u; return true; case 0x17C4u : *a = 0x17C1u; *b= 0x17C4u; return true; case 0x17C5u : *a = 0x17C1u; *b= 0x17C5u; return true; ! #if 0 + /* Gujarati */ /* This one has no decomposition in Unicode, but needs no decomposition either. */ /* case 0x0AC9u : return false; */ + + /* Oriya */ case 0x0B57u : *a = no decomp, -> RIGHT; return true; #endif } if ((ab == 0x0DDAu || hb_in_range (ab, 0x0DDCu, 0x0DDEu))) {
*** 1817,1824 **** --- 1812,1820 ---- NULL, /* postprocess_glyphs */ HB_OT_SHAPE_NORMALIZATION_MODE_COMPOSED_DIACRITICS_NO_SHORT_CIRCUIT, decompose_indic, compose_indic, setup_masks_indic, + NULL, /* disable_otl */ HB_OT_SHAPE_ZERO_WIDTH_MARKS_NONE, false, /* fallback_position */ };
< prev index next >