Overview of @react-pdf/pdfkit features
masterThe @react-pdf/pdfkit library is a PDF generation tool that supports creating complex, multi-page documents. Key capabilities include:
- Vector Graphics: Provides an HTML5 canvas-like API with path operations, SVG path parsing, transformations, and linear/radial gradients.
- Text Handling: Supports line wrapping, text alignments, and bulleted lists.
- Font Embedding: Supports multiple formats including TrueType (.ttf), OpenType (.otf), WOFF, WOFF2, TrueType Collections (.ttc), and Datafork TrueType (.dfont). It also supports font subsetting.
- Image Embedding: Supports JPEG and PNG files (including indexed PNGs and PNGs with transparency).
- Annotations: Supports links, notes, highlights, underlines, and more.