Releases: galkahana/PDF-Writer
v4.5.11
What's Changed
- Color emoji support for true type COLR version 0. that is, the simpler implementation by @galkahana in #224
WriteText
method has now a limited but not inexistent ability to handle true type color emojis via support of COLR table version 0. This is the simple version supporting solid colors, but not gradients. I'll probably need to add COLR table version 1 and maybe even support SVG fonts for a full support. TBD on when/if that's gonna happen.
As a side effect I added support for setting opacity in either of the following manners:
- as a parameter to
WriteText
methodinOptions
parameter (inOptions.opacity). - as a parameter to
Draw*
methodsinOptions
paraemter (inOptions.opacity) - directly set via
SetOpacity
method
Value should be double 0..1 with 0 being completely transparent, and 1 is fully opaque. a special value of 255.0 means not-set on options structures.
The implementation follows @chunyenHuang work in hummusRecipe, creating an ExternalGState object for every opacity value provided, and reusing them when given the same value, as well as setting the opacity for both fill and stroke drawing at the same time, for the sake of convenience.
Full Changelog: v4.5.10...v4.5.11
v4.5.10
v4.5.9
What's Changed
- bug: wrong CIDSet implementation by @galkahana in #217
- bug: cidset solution not taking into account dependent glyphs by @galkahana in #218
Full Changelog: v4.5.8...v4.5.9
v4.5.8
v4.5.7
Very minor release with bit more safety on using StartPDFStream
to quickly identify usage errors.
What's Changed
- bug: StartPDFStream does not fail on incorrectly created dict by @galkahana in #210
- add watermark test by @galkahana in #212
Full Changelog: v4.5.6...v4.5.7
v4.5.6
Correction to embedded Zlib folder setup to keep the Zlib name consistent (and not sometimes ZLib), making it possible to properly use the Zlib target in case sensitive environments.
What's Changed
- ZLib to Zlib by @galkahana in #202
Full Changelog: v4.5.5...v4.5.6
v4.5.5
v4.5.4
Added shared libs compilation support for windows
What's Changed
- Fix: #197 windows shared libraries build support by @galkahana in #198
Full Changelog: v4.5.3...v4.5.4
v4.5.3
minor version. some install inconveniences sorted out.
What's Changed
- Install inconveniences by @galkahana in #196
Full Changelog: v4.5.2...v4.5.3
v4.5.2
minor bug fix to the parser, making it a wee bit safer. result of a research into the single very elusive error i had with on of the PDFTextExtraction project fuzz tests.
What's Changed
- fix: harsher hex string parsing to avoid more dire parsing errors by @galkahana in #195
Full Changelog: v4.5.1...v4.5.2