Fix some dead links
This commit is contained in:
parent
9542bdd0ed
commit
fe4a0ac707
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
# Generates the code for a sorted unicode range array as used in hb-ot-os2-unicode-ranges.hh
|
# Generates the code for a sorted unicode range array as used in hb-ot-os2-unicode-ranges.hh
|
||||||
# Input is a tab seperated list of unicode ranges from the otspec
|
# Input is a tab seperated list of unicode ranges from the otspec
|
||||||
# (https://docs.microsoft.com/en-us/typography/opentype/spec/os2#ulunicoderange1).
|
# (https://docs.microsoft.com/en-us/typography/opentype/spec/os2#ur).
|
||||||
|
|
||||||
from __future__ import print_function, division, absolute_import
|
from __future__ import print_function, division, absolute_import
|
||||||
|
|
||||||
|
@ -54,7 +54,7 @@ data[0][0x1B5C] = 'Consonant_Placeholder'
|
|||||||
data[0][0x1B5F] = 'Consonant_Placeholder'
|
data[0][0x1B5F] = 'Consonant_Placeholder'
|
||||||
data[0][0x1B62] = 'Consonant_Placeholder'
|
data[0][0x1B62] = 'Consonant_Placeholder'
|
||||||
data[0][0x1B68] = 'Consonant_Placeholder'
|
data[0][0x1B68] = 'Consonant_Placeholder'
|
||||||
# TODO https://github.com/roozbehp/unicode-data/issues/9
|
# TODO https://github.com/harfbuzz/harfbuzz/issues/1035
|
||||||
data[0][0x11C44] = 'Consonant_Placeholder'
|
data[0][0x11C44] = 'Consonant_Placeholder'
|
||||||
data[0][0x11C45] = 'Consonant_Placeholder'
|
data[0][0x11C45] = 'Consonant_Placeholder'
|
||||||
# TODO https://github.com/harfbuzz/harfbuzz/pull/1399
|
# TODO https://github.com/harfbuzz/harfbuzz/pull/1399
|
||||||
@ -240,11 +240,11 @@ def is_SYM_MOD(U, UISC, UGC):
|
|||||||
def is_VARIATION_SELECTOR(U, UISC, UGC):
|
def is_VARIATION_SELECTOR(U, UISC, UGC):
|
||||||
return 0xFE00 <= U <= 0xFE0F
|
return 0xFE00 <= U <= 0xFE0F
|
||||||
def is_VOWEL(U, UISC, UGC):
|
def is_VOWEL(U, UISC, UGC):
|
||||||
# https://github.com/roozbehp/unicode-data/issues/6
|
# https://github.com/harfbuzz/harfbuzz/issues/376
|
||||||
return (UISC == Pure_Killer or
|
return (UISC == Pure_Killer or
|
||||||
(UGC != Lo and UISC in [Vowel, Vowel_Dependent] and U not in [0xAA29]))
|
(UGC != Lo and UISC in [Vowel, Vowel_Dependent] and U not in [0xAA29]))
|
||||||
def is_VOWEL_MOD(U, UISC, UGC):
|
def is_VOWEL_MOD(U, UISC, UGC):
|
||||||
# https://github.com/roozbehp/unicode-data/issues/6
|
# https://github.com/harfbuzz/harfbuzz/issues/376
|
||||||
return (UISC in [Tone_Mark, Cantillation_Mark, Register_Shifter, Visarga] or
|
return (UISC in [Tone_Mark, Cantillation_Mark, Register_Shifter, Visarga] or
|
||||||
(UGC != Lo and (UISC == Bindu or U in [0xAA29])))
|
(UGC != Lo and (UISC == Bindu or U in [0xAA29])))
|
||||||
|
|
||||||
|
@ -146,7 +146,7 @@ set_myanmar_properties (hb_glyph_info_t &info)
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case 0xAA74u: case 0xAA75u: case 0xAA76u:
|
case 0xAA74u: case 0xAA75u: case 0xAA76u:
|
||||||
/* https://github.com/roozbehp/unicode-data/issues/3 */
|
/* https://github.com/harfbuzz/harfbuzz/issues/218 */
|
||||||
cat = OT_C;
|
cat = OT_C;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user