From 4dc87365d79d9cb0ad85b351b6afe978c3abee3c Mon Sep 17 00:00:00 2001 From: Evgeniy Reizner Date: Sun, 9 Feb 2020 18:39:33 +0200 Subject: [PATCH] Add links to files used by python scripts. Closes #2150 --- src/gen-arabic-table.py | 5 +++++ src/gen-emoji-table.py | 2 ++ src/gen-indic-table.py | 5 +++++ src/gen-tag-table.py | 4 ++++ src/gen-ucd-table.py | 2 ++ src/gen-use-table.py | 6 ++++++ src/gen-vowel-constraints.py | 2 ++ 7 files changed, 26 insertions(+) diff --git a/src/gen-arabic-table.py b/src/gen-arabic-table.py index ccecb406a..5e934a4c7 100755 --- a/src/gen-arabic-table.py +++ b/src/gen-arabic-table.py @@ -1,5 +1,10 @@ #!/usr/bin/env python +# Input files: +# - https://unicode.org/Public/12.0.0/ucd/ArabicShaping.txt +# - https://unicode.org/Public/12.0.0/ucd/UnicodeData.txt +# - https://unicode.org/Public/12.0.0/ucd/Blocks.txt + from __future__ import print_function, division, absolute_import import io, os.path, sys diff --git a/src/gen-emoji-table.py b/src/gen-emoji-table.py index 49770d4fd..037cdfd73 100755 --- a/src/gen-emoji-table.py +++ b/src/gen-emoji-table.py @@ -1,5 +1,7 @@ #!/usr/bin/python +# Input file: https://www.unicode.org/Public/emoji/12.0/emoji-data.txt + from __future__ import print_function, division, absolute_import import sys import os.path diff --git a/src/gen-indic-table.py b/src/gen-indic-table.py index 912b1d7ea..6c75070f9 100755 --- a/src/gen-indic-table.py +++ b/src/gen-indic-table.py @@ -1,5 +1,10 @@ #!/usr/bin/env python +# Input files: +# - https://unicode.org/Public/12.0.0/ucd/IndicSyllabicCategory.txt +# - https://unicode.org/Public/12.0.0/ucd/IndicPositionalCategory.txt +# - https://unicode.org/Public/12.0.0/ucd/Blocks.txt + from __future__ import print_function, division, absolute_import import io, sys diff --git a/src/gen-tag-table.py b/src/gen-tag-table.py index 49f5b30bb..d63aae5bb 100755 --- a/src/gen-tag-table.py +++ b/src/gen-tag-table.py @@ -16,6 +16,10 @@ back to BCP 47 tags. Ambiguous OpenType tags (those that correspond to multiple BCP 47 tags) are listed here, except when the alphabetically first BCP 47 tag happens to be the chosen disambiguated tag. In that case, the fallback behavior will choose the right tag anyway. + +Input files: +- https://docs.microsoft.com/en-us/typography/opentype/spec/languagetags +- https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry """ from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/src/gen-ucd-table.py b/src/gen-ucd-table.py index 552c3c675..b2c5baada 100755 --- a/src/gen-ucd-table.py +++ b/src/gen-ucd-table.py @@ -1,5 +1,7 @@ #!/usr/bin/env python +# Input file: http://unicode.org/Public/UCD/latest/ucdxml/ucd.nounihan.grouped.zip + from __future__ import print_function, division, absolute_import import io, os.path, sys, re diff --git a/src/gen-use-table.py b/src/gen-use-table.py index 4523fb8ed..a070a4db1 100755 --- a/src/gen-use-table.py +++ b/src/gen-use-table.py @@ -1,6 +1,12 @@ #!/usr/bin/env python # flake8: noqa +# Input files: +# - https://unicode.org/Public/12.0.0/ucd/IndicSyllabicCategory.txt +# - https://unicode.org/Public/12.0.0/ucd/IndicPositionalCategory.txt +# - https://unicode.org/Public/12.0.0/ucd/UnicodeData.txt +# - https://unicode.org/Public/12.0.0/ucd/Blocks.txt + from __future__ import print_function, division, absolute_import import io diff --git a/src/gen-vowel-constraints.py b/src/gen-vowel-constraints.py index e0ae2a65d..ab5852bbc 100755 --- a/src/gen-vowel-constraints.py +++ b/src/gen-vowel-constraints.py @@ -6,6 +6,8 @@ It creates ``_hb_preprocess_text_vowel_constraints``, which inserts dotted circles into sequences prohibited by the USE script development spec. This function should be used as the ``preprocess_text`` of an ``hb_ot_complex_shaper_t``. + +Input file: https://unicode.org/Public/12.0.0/ucd/Scripts.txt """ from __future__ import absolute_import, division, print_function, unicode_literals