Skip to main content

Supported Features

In pdfme, the following elements can be rendered.
For elements that are not supported, you can add your own rendering process using the plugin mechanism.

Currently Supported

For using schemas other than the Text schema, please refer to the following documentation.
Using Schemas from @pdfme/schemas

Text (text)

  • Style-related
    • Font Size
    • Letter Spacing
    • Text Align
    • Vertical Align
    • Line Height
    • Text Color
    • Background Color
    • Underline
    • Strikethrough
  • Font-related
    • TrueType fonts (TTF & TTC)
    • OpenType fonts with PostScript or TrueType outlines (TTF, OTF, & OTC)
    • Support for CJK (Chinese, Japanese, Korean) fonts
    • Embedding and subsetting of fonts
    • Support for multiple fonts and fallback fonts
    • Dynamic Font Sizing
      • Detailed options for Min, Max, Fit

Multivariable Text (multiVariableText)

  • As per text, but supporting 0 to n variables in a single text field

Shape

  • Line (line)
    • Style-related
      • Color
  • Rectangle (rectangle)
    • Style-related
      • Border Width
      • Border Color
      • Color
  • Ellipse (ellipse)
    • Style-related
      • Border Width
      • Border Color
      • Color

Graphics

  • Image (image)
    • Formats
      • JPEG
      • PNG
      • PDF (embed pdf inside pdf)
  • SVG (svg)

Barcodes

Table (table)

Details: Tables with Dynamic Data

  • Style-related
    • Table
      • Border Width
      • Border Color
    • Header / Body
      • Font Name
      • Font Size
      • Letter Spacing
      • Text Align
      • Vertical Align
      • Line Height
      • Text Color
      • Border Color
      • Background Color
      • Border Width
      • Padding
    • Column
      • Text Align

Select (select)

  • Options
  • Style-related
    • Font Name
    • Font Size
    • Letter Spacing
    • Text Align
    • Vertical Align
    • Line Height
    • Text Color
    • Background Color

Date (date) / Time (time) / DateTime (dateTime)

  • Date Format
  • Style-related
    • Font Name
    • Font Size
    • Letter Spacing
    • Text Align
    • Text Color
    • Background Color

Radio Button (radioGroup) / Check Box (checkbox)

  • Style-related
    • Color

Planned Support