forms.mdto generate documentation files
dash(...)is passed invalid lengths
Switches 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:
PDFKit's API remains almost exactly the same, the changes are entirely under the covers. The only addition is a new
features option to the
doc.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.
This is a fairly minor release. It includes the following fixes and improvements:
A precompiled version is attached to the release.
This is a big release. I'd like to thank the contributors listed below for making this possible!
continuedoption for text. Thanks @ef4. See #300.
characterSpacingoption. Thanks again @ef4. See #301.
continued. @ef4 deserves a medal. See #308.
valignoption. It works like the
alignoption but vertically inside the
Uint8Arrays for loading fonts in the browser.
Thanks to @ryanwersal for these contributions!
trimRightmethod, which doesn't exist in some browsers (cough IE cough).
I'm including a prebuilt version of PDFKit here, along with a source map. You can use these if you don't want to use browserify to build your project.