Repository navigation
android: keepWords joins Korean words only (0.12.1) - #170
Merged
Merged
Conversation
keepWords put a word joiner between every two characters of every word. In Hindi and Thai that separated vowel signs from their consonants (drawn on dotted circles); in Japanese and Chinese it left a line no break point. Only a word that contains Hangul is joined now, between whole characters.
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.
What
keepWords()now joins Korean words only (Android 0.12.1).It put a WORD JOINER between every two characters of every word, whatever the script:
Now only a word that contains Hangul is joined, and the joiner goes between grapheme clusters, so a letter keeps its combining marks. Korean wraps exactly as before. Every DDS component that draws wrapping text goes through this function, so buttons, tabs, fields and banners are fixed with it.
Checked
testDebugUnitTest(105 tests, 0 failures),lintDebug, release builds of the three libraries.Not checked
무엇을
keepWords()가 한국어 단어만 묶습니다(Android 0.12.1).지금까지는 글자 종류와 상관없이 모든 단어의 모든 글자 사이에 결합 문자(WORD JOINER)를 넣었습니다.
이제 한글이 든 단어만 묶고, 결합 문자는 온전한 글자(자소 묶음) 사이에만 넣습니다. 한국어 줄바꿈은 그대로입니다. 줄바꿈되는 글을 그리는 DDS 부품이 모두 이 함수를 쓰므로 버튼·탭·입력칸·배너가 함께 고쳐집니다.
확인한 것
testDebugUnitTest(105개, 실패 0),lintDebug, 세 라이브러리 릴리스 빌드.확인하지 못한 것