@react-pdf/pdfkit@6.0.1
Patch Changes
-
#3486
71fc26e8f18a8f3d3edd64b0a1b38c138deb593cThanks @diegomura! - Alignfont/afm.jsWinAnsi encoding table with upstream pdfkit, restoringhyphenat code point 0xAD as specified by the PDF spec -
#3488
dee75f98e51198766a37addc9d0bdaa4dd5dbb3bThanks @diegomura! - Align embedded font with upstream: subset tags are now derived from the font id instead ofMath.random(), so font objects are reproducible across runs; spaces in PostScript names are escaped; the ToUnicode CMap is written asbfrangeinstead ofbfchar; and aCIDSetis emitted for PDF/A-1 and PDF/UA -
#3482
ded9cdcf0d120911c0339c91519b41204acbd7d3Thanks @diegomura! - Alignobject.js,outline.jsandreference.jswith upstream pdfkit, fixingPDFNumberTreebeing serialized as a plain dictionary -
#3485
105bdd20e8865bf92e0275e66001a1dbd06d5bf6Thanks @diegomura! - Use fflate instead of browserify-zlib and pako in the browser build -
#3487
1da12f2b2fc018ce6af5c5f6e04fda3016a8d39eThanks @diegomura! - Replace Node Buffer usage with Uint8Array.image()andfile()now accept any Uint8Array, not just Buffers -
#3481
563d74e0364c80d8e6094777aa66879803786e44Thanks @diegomura! - Sync pdfkit acroform mixin with upstream. Form field dictionaries no longer leak internal options likefontSizeinto the PDF.