Repository navigation
Fix BRAILLE_MAINLAND dropping the -iong final - #387
Open
amalsaidov wants to merge 1 commit into
Open
amalsaidov wants to merge 1 commit into
amalsaidov wants to merge 1 commit into
Conversation
The 'ong' -> 'ung' normalization rule ran before the 'iong' -> cell rule, so every -iong/yong syllable was rewritten through iong -> iung -> v + eng and emitted the -eng cell (U+283C) plus a stray medial, instead of the dedicated -iong cell U+2839 (dots-1456). Removing the redundant 'ong' -> 'ung' rule lets '穷' render as ⠅⠹ and '用' as ⠹. Plain -ong syllables are unaffected: they are still handled by the direct 'ong' -> ⠲ rule, matching the Mainland Chinese Braille standard.
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR 描述
Style.BRAILLE_MAINLAND/Style.BRAILLE_MAINLAND_TONEmis-renders every-iong/yongsyllable.In
BRAILLE_MAINLAND_REPLACE, the normalization ruleong -> ungruns before the dedicatediong -> ⠹rule. So an-iongfinal is rewritten step by step:The
iong -> ⠹andong -> ⠲rules become dead code, and the syllable ends up with the -eng cellU+283Cplus a stray medial instead of the dedicated -iong cellU+2839(dots-1456) defined by the Mainland Chinese Braille standard.Examples (before -> after):
⠅⠬⠼⠅⠹⠬⠼⠹⠓⠬⠼⠓⠹Fix
Remove the redundant
ong -> ungnormalization rule. Plain-ongsyllables are unaffected — they are still handled directly by the existingong -> ⠲rule (e.g. 中⠌⠲, 东⠙⠲), which matches the standard. This unblocks the already-presentiong -> ⠹rule.待办事项
P.S. 以
develop为目标分支。