1

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

4
  • 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, 2018 at 20:40
  • 1
    Related? japanese.stackexchange.com/q/17360/9831
    – chocolate
    Dec 5, 2018 at 23:45
  • Are you using LaTeX? There are good packages for CJK fonts already with sensible defaults.
    – Tom Kelly
    Dec 7, 2018 at 1:01
  • If you are on the implementer's side, this is I think what you want. Dec 7, 2018 at 2:53

0

You must log in to answer this question.

Browse other questions tagged .