follow typesetting taboo for CJK punctuations

Since there is no space character for word break in CJK typesetting,
line wrap can occur virtually between any two characters. But by
convention some punctuations are not allowed to be placed at the
begining of a line, and other punctuations are not allowed to be
placed at the end of a line. This patch implements two of these
rules.