Changelog History
Page 2
-
v0.8.2
May 29, 2017 -
v0.8.1
May 24, 2017 -
v0.8.0 Changes
August 26, 2016Switches the font engine from an internal one to fontkit, an advanced text shaping engine I've been working on for a while. For PDFKit, this means the following features and improvements:
- ๐ Support for OpenType (CFF), WOFF, and WOFF2 fonts. Previously PDFKit only supported TTF, DFont, and TTC fonts.
- ๐ Support for advanced text layout features, including ligatures, kerning, and other advanced glyph substitutions and positioning adjustments.
- ๐ Support for OpenType GSUB and GPOS tables, and script specific shapers (currently Arabic and Hangul shapers are included).
- ๐ Support for Apple Advanced Typography (morx) substitutions.
- ๐ Support for kerning built-in PDF fonts using data from AFM files.
- ๐ Support for vertical positioning adjustments, e.g. for accents on non-composite glyphs.
- ๐ Fonts are now embedded as CID fonts, meaning support for large character sets like CJK scripts is much improved.
PDFKit's API remains almost exactly the same, the changes are entirely under the covers. The only addition is a new
features
option to thedoc.text
method, which can be used to apply custom OpenType features to the text. If given, it should be an array of OpenType feature tags. Most of the time, this is unnecessary as the script shaper will automatically apply required features. -
v0.7.2
December 26, 2015 -
v0.7.1 Changes
March 26, 2015๐ This is a fairly minor release. It includes the following fixes and improvements:
- #331 Diminishing left-margin when inserting lists. Thanks @laszbalo.
- ๐ #343 Fixed wrong XRef size. Thanks @denyskoch.
- ๐ #377 Fixed regression caused by CoffeeScript 1.9.0+. Thanks @leesdolphin.
- ๐จ #375 Refactors PDF object representation of strings and buffers. Thanks @NathanaelA.
๐ A precompiled version is attached to the release.
-
v0.7.0 Changes
September 15, 2014๐ This is a big release. I'd like to thank the contributors listed below for making this possible!
- Adds support for an optional page buffering feature where you can go back to previous pages to add things like page numbers. Thanks to @ef4. See #302 for the PR, and here for some docs.
- ๐ Fixes
indent
with thecontinued
option for text. Thanks @ef4. See #300. - ๐ Fixes center-aligned text with the
characterSpacing
option. Thanks again @ef4. See #301. - ๐ Works around missing ascender in ZapfDingbats font. Thanks @ef4. See #303.
- ๐ Fixes an infinite loop when the first word of a text call is longer than the space available in the line. @ef4 again (this guy is awesome!). See #309.
- ๐ Avoids unnecessarily breaking inside words when using
continued
. @ef4 deserves a medal. See #308. - ๐ Fixes TTF parsing when PDFKit is minified. Thanks to @yelouafi for this one. See #306.
-
v0.6.5 Changes
August 29, 2014- ๐ Fixes unicode in annotations (#287)