Skip to main content

CJK Punctuation Spacing

Every framed box is sixteen ideographs wide and holds the same Chinese sentence. What changes is textSpacingTrim, CSS Text 4 8.5, applied with the face's own half-width forms (OpenType halt across a line, vhal down one).

  • spaceAll: every bracket and comma keeps its full square, so a closing bracket followed by an opening one shows a gap of a whole character
  • normal, the initial value: that gap closes to half a square, as do two closing marks in a row, and an opening bracket starting a line keeps its full square (8.5.1)
  • trimStart and trimBoth: an opening bracket starting a line sits flush with the box's left edge
  • spaceFirst: full on the first line, flush on the lines after
  • trimAll: every bracket, comma and full stop takes half a square wherever it stands
  • Down the page: the same two settings in vertical text, with the vertical half-width forms

What to look for. The gap between a closing and an opening bracket: a whole square in spaceAll, half in normal. The first character of each line in trimStart: flush.

Features used: PDF/A-4, PDF/UA-2 conformance, columns, Chinese text