I am adding support for Japanese to a PDF generation tool and I noticed that punctuation is sometimes wrapped to a new line.

I don't know enough about the Japanese language to know if this is okay or not. There are some cases where the only character on the new line is punctuation which looks very out of place.

japanese text showing punctuation starting a new line

  • 2
    Typesetting rules for Japanese and more generally for CJK languages can be pretty complex. As for wrapping punctuation, a basic start would be the Wikipedia page Line breaking rules in East Asian languages: "For example, periods and closing parentheses are not allowed to start a line." – user27479 Dec 5 '18 at 20:40
  • 1
    Related? japanese.stackexchange.com/q/17360/9831 – Chocolate Dec 5 '18 at 23:45
  • Are you using LaTeX? There are good packages for CJK fonts already with sensible defaults. – Tom Kelly Dec 7 '18 at 1:01
  • If you are on the implementer's side, this is I think what you want. – broccoli forest Dec 7 '18 at 2:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.