<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>I think they should always be merged. They were emcoded as three scripts in Unicode in the early days when it was not at all obvious how the script property is to be used. Certainly the notion of script itemisation in OpenType came much later and the fact that OpenType unifies them under one "kana" tag clearly indicating the preferred usage in OT context. </div><div><br></div><div>Hiragana is often used together with kanji within the same word. For example, the word 食べました (<span style="background-color: rgba(255, 255, 255, 0);">tabemashita,</span> “ate”) has one root kanji followed by 4 hiragana to indicate the inflection. </div><div><br></div><div>The way kanji and kana are used is actually conceptually much closer to how uppercase and lowercase Latin letters are used in many European languages, than to mixing say Arabic and Latin scripts. Any “normal” Japanese text always consists of kanji mixed with hiragana, woth occasional katakana mixins. </div><div><br></div><div>In case of the three Japanese scripts, they definitely should be merged within runs. </div><div><br></div><div>Unfortunately, Microsoft has not produced a script-specific spec for CJK that would explain it </div><div><a href="https://www.microsoft.com/en-us/Typography/SpecificationsOverview.aspx">https://www.microsoft.com/en-us/Typography/SpecificationsOverview.aspx</a></div><div><br></div><div>But since there is only one "kana" OT tag, I strongly suspect that Uniscribe/DW merges the CJK scripts. </div><div><br></div><div>A.</div><div><br><div>Sent from my mobile phone.</div></div><div><br>On 24.04.2016, at 16:43, Khaled Hosny <<a href="mailto:khaledhosny@eglug.org">khaledhosny@eglug.org</a>> wrote:<br><br></div><blockquote type="cite"><div><span>I’m wondering what is the best practice of itemising Japanese scripts</span><br><span>(Han, Hiragana, Katakana), should they be merged somehow or is it better</span><br><span>to keep them in separate runs?</span><br><span></span><br><span>I’m currently treating them as separate scripts so they end up in</span><br><span>operate runs, but in the ~7000 characters of Japanese text I’m testing</span><br><span>with I get ~2000 runs, if it were some English or Arabic text it would</span><br><span>be just 1 run so it seems quite inefficient (though I didn’t make any</span><br><span>measurements).</span><br><span></span><br><span>Regards,</span><br><span>Khaled</span><br><span>_______________________________________________</span><br><span>HarfBuzz mailing list</span><br><span><a href="mailto:HarfBuzz@lists.freedesktop.org">HarfBuzz@lists.freedesktop.org</a></span><br><span><a href="https://lists.freedesktop.org/mailman/listinfo/harfbuzz">https://lists.freedesktop.org/mailman/listinfo/harfbuzz</a></span><br></div></blockquote></body></html>