From c88ea7a699789221d66a889072e5b68a46da35a7 Mon Sep 17 00:00:00 2001 From: Frederik Berlaen Date: Wed, 22 Jul 2020 14:52:16 +0200 Subject: [PATCH 1/2] Create hangul_syllables.py --- .../rangeProcessors/hangul_syllables.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 Lib/glyphNameFormatter/rangeProcessors/hangul_syllables.py diff --git a/Lib/glyphNameFormatter/rangeProcessors/hangul_syllables.py b/Lib/glyphNameFormatter/rangeProcessors/hangul_syllables.py new file mode 100644 index 0000000..7a4e955 --- /dev/null +++ b/Lib/glyphNameFormatter/rangeProcessors/hangul_syllables.py @@ -0,0 +1,12 @@ + +def process(self): + self.setExperimental() + self.edit("HANGUL") + self.edit("SYLLABLE") + self.lower() + self.scriptPrefix() + + +if __name__ == "__main__": + from glyphNameFormatter.exporters import printRange + printRange("Hangul Syllables") From 826e677cede9dbf1aa2b3324c421240a4480b247 Mon Sep 17 00:00:00 2001 From: Frederik Berlaen Date: Tue, 4 Aug 2020 15:41:25 +0200 Subject: [PATCH 2/2] use koCompa as script tag for hangul compatibility jamo --- .../rangeProcessors/hangul_compatibility_jamo.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Lib/glyphNameFormatter/rangeProcessors/hangul_compatibility_jamo.py b/Lib/glyphNameFormatter/rangeProcessors/hangul_compatibility_jamo.py index c5826ee..17717c0 100644 --- a/Lib/glyphNameFormatter/rangeProcessors/hangul_compatibility_jamo.py +++ b/Lib/glyphNameFormatter/rangeProcessors/hangul_compatibility_jamo.py @@ -6,6 +6,7 @@ def process(self): self.edit("-") self.lower() self.compress() + self.scriptTag = self.scriptTag + "Compa" self.scriptPrefix() if __name__ == "__main__":