PaperForge 0.3.0 expands the pure Elixir PDF engine with embedded TrueType fonts, visible Unicode text, font families, default fonts, real TrueType text metrics, vertical flow, automatic page breaks, basic tables, and URI link annotations.
Highlights:
- Embedded TrueType fonts with Type0 / CIDFontType2 PDF font objects
- Identity-H encoding and
/ToUnicodemaps for Unicode extraction/search - Font-family registration with regular, bold, italic, and bold italic variants
- Document-level default font selection
- TrueType-backed text measurement, wrapping, and alignment
- Logical subsetting of PDF
/Warrays and/ToUnicodemaps to used glyphs - Vertical text flow with automatic page breaks
- Basic table rendering
- Link annotations with URI actions
- PNG RGBA transparency via
/SMask - Complete showcase example and expanded test coverage
Note: physical TTF table subsetting is not included yet; /FontFile2 still embeds the full .ttf program.