-
Couldn't load subscription status.
- Fork 0
jsPDF Version 2 Planning
The following document outlines our future development of jsPDF version 2.
jsPDF V2 aims to support the following features:
- Transparency
- Opacity
- Groups
- Blending Modes
- Annotations
- Custom/Embedded Fonts
- TravisCI test runner
- StandardJS or another jslint setup
- Autogenerated docs
Currently, jsPDF generates instructions on-the_fly. It would be much easier to implement, test, and maintain our new features by building a model of the PDF, then generating the instructions during a final rendering stage.
The PDF version generated will be PDF v1.4, as this specification implements most of the target features. Currently, jsPDF V1 generates PDF v1.3
Although some plugins will not be compatible with jsPDF V2, jsPDF V1 will still be actively supported.
#API In order to support the new features, we will be using the HTML Canvas Context2D interface. This has the benefits of using a familiar and documented API, and allows reusing existing HTML canvas compositions. Additional APIs for PDF functionality not available in the Context2D interface is currently to be determined.