From 7aca829f031b20b7b4d6857e1f51f3def1f99fa4 Mon Sep 17 00:00:00 2001 From: ShikiSuen Date: Sun, 29 May 2022 13:38:13 +0800 Subject: [PATCH] =?UTF-8?q?Tekkon=20v1.1.4=20//=20Add=20support=20of=20"?= =?UTF-8?q?=E3=84=9B+intonation"=20for=20Hsu=20arrange.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Source/Modules/ControllerModules/SyllableComposer.swift | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Source/Modules/ControllerModules/SyllableComposer.swift b/Source/Modules/ControllerModules/SyllableComposer.swift index 70065a43..4e088921 100644 --- a/Source/Modules/ControllerModules/SyllableComposer.swift +++ b/Source/Modules/ControllerModules/SyllableComposer.swift @@ -719,6 +719,10 @@ public struct Tekkon { consonant.selfReplace("ㄒ", "ㄕ") } if vowel == "ㄜ", semivowel.isEmpty { consonant.selfReplace("ㄑ", "ㄔ") } + if consonant == "ㄏ", semivowel.isEmpty, vowel.isEmpty { + consonant = "" + vowel = "ㄛ" + } } // 後置修正