The line selector converts incoming characters or paragraphs into lines. 

The charSpacing property specifies the distance between two adjoining characters that is treated as a space:

  • Normal means 1 x (space character width in the current font)
  • Large means 2 x (space character width in the current font)
  • Huge means 4 x (space character width in the current font)

Note: We advise using the line selector as an auxiliary selector. While it is possible to use the line selector as the first selector in the parsing pipeline, it will convert the entire PDF content into lines. Be careful, as this can negatively affect performance.

Expert mode keyword

line: charSpacing=Normal|Large|Huge

If charSpacing property is omitted, Normal character spacing is used.

Output data format: 

lines


List of selectors