3 ms·
Line layout rules are a bit complex. Long long ago when i was 19 someone handed me a photocopied set of around 50 rules for line breaking Japanese text and foll
by amichal 4y ago
Line layout rules are a bit complex. Long long ago when i was 19 someone handed me a photocopied set of around 50 rules for line breaking Japanese text and followed them to implement our first draft of it in a text layout program we were adding Japanese support to. I implemented it blind, I dont speak Japanese , it never shipped and I dont remember the rules but i do remember quite some complexity around punctuation etc. This section from W3C covers some of what I remember and quite a bit more I'm sure https://www.w3.org/TR/jlreq/#line_composition_rules_for_punctuation_marks https://www.w3.org/TR/jlreq/#line_composition_rules_for_punc...
- brigandish 4y agoIn my experience, Japanese often gets broken at the page width, regardless of any other consideration. It makes reading, for a learner like me, a pain, as you have to read ahead on the next line to be sure you’ve got all the characters.