Skip to content

Text Properties

Terry Burton edited this page Aug 15, 2024 · 13 revisions

Text Properties

includetext

Show human readable text for data in symbol.

Notes

  • If a character in the data does not have a printable representation then it is not displayed

Example

Display the text encoded in this Code 39 symbol:

Data:    SEE ME
Options: includetext
Encoder: code39

textfont

The PostScript font name for text.

Notes

  • The font name must be the literal name of a PostScript font that is available to the system.
  • This option should be used in combination with the includetext option.
  • The PostScript font name for a font file can be determined with the following command from the fontconfig library:
    • fc-scan --format "%{postscriptname}\n" /usr/share/fonts/truetype/somefont.ttf

Example

Customise the human readable text of this USPS POSTNET symbol

Data:    64501
Options: includetext textfont=Times-Roman textsize=9
Encoder: postnet

textsize

The font size of the text in points.

Note

  • This option should be used in combination with the includetext option.

Example

Customise the human readable text of this USPS POSTNET symbol

Data:    64501
Options: includetext textfont=Times-Roman textsize=9
Encoder: postnet

textgaps

The inter-character spacing of the text.

Note

  • This option should be used in combination with the textxalign option.

alttext

Specify text to display other than what is provided in the data field.

Note

  • This option should be used in combination with the includetext option.

extratext, extratextfont, extratextsize extratextgaps

  • Extra text can be rendered above and to the left of the symbol (default) by setting extratext option to it.
  • The formatting of the text can be specified using the extratextfont, extratextsize and extratextgaps options, which function the same as their textfont, textsize and textgaps analogues.
Clone this wiki locally