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
- 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
- Support Read only
Multivariable Text
- As per text, but supporting 0 to n variables in a single text field
Shape
- Line
- Style-related
- Color
- Style-related
- Rectangle
- Style-related
- Border Width
- Border Color
- Color
- Style-related
- Ellipse
- Style-related
- Border Width
- Border Color
- Color
- Style-related
Graphics
- Image
- Formats
- JPEG
- PNG
- Support Read only
- Formats
- SVG
- Support Read only
- PDF (embed pdf inside pdf)
Barcodes
- Various types
- qrcode
- japanpost
- ean13
- ean8
- code39
- code128
- nw7
- itf14
- upca
- upce
- gs1datamatrix
- Style-related
- Bar Color
- Background Color
- Text Color
- Include text option (planned support)
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
- Table