<table><tr><td style="">pshinjo added a comment.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D21553">View Revision</a></tr></table><br /><div><div><p>First of all, thanks for the work. Some things are passing through my mind, especially regarding classical Hangul and half-completed Hangul characters.</p>
<ol class="remarkup-list">
<li class="remarkup-list-item">U+AC00 .. U+D7AF - no problems in mapping a single QChar to one Hangul character</li>
<li class="remarkup-list-item">U+3130 .. U+318F - same as Hangul Syllables block (single QChar to one Hangul character) as characters in this range are non-combining</li>
<li class="remarkup-list-item">Hangul Jamo, Hangul Jamo Extended-A, B (U+1100.. U+11FF, U+A960 .. U+A97F, U+D7B0 .. U+D7FF) - here is the tricky part, as what users will see as a single "Hangul character" is not always a single "QChar".</li>
</ol>
<p>Let's take an example of '나랏말ᄊᆞ미'. The 'ᄊᆞ' part may be seen as a single character if the rendering font combines U+110A and U+119E. This and other classical Hangul characters can't be "normalized" into a single Unicode code point/QChar, so as half-completed characters (cho+jong, jung+jong). If the underlying font is not combining those two (e.g. the font is not supporting classical Hangul) then users will think that as two separate characters, otherwise one single character. If we can get the font information here then the statistics may follow how the font is rendering these characters (two or one). If not, KS X 1026-1 [1] could be used as a guideline on determining the boundary of a single character.</p>
<p>Have you checked how other word processors are handling this issue? We can also build some test cases around this too.</p>
<p>[1] <a href="http://www.unicode.org/L2/L2008/08225-n3422.pdf" class="remarkup-link" target="_blank" rel="noreferrer">http://www.unicode.org/L2/L2008/08225-n3422.pdf</a></p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R8 Calligra</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D21553">https://phabricator.kde.org/D21553</a></div></div><br /><div><strong>To: </strong>daehyuns, Calligra-Devel-list<br /><strong>Cc: </strong>jachin, pshinjo, hein, dcaliste, cochise, vandenoever<br /></div>