v2.4.0
This release brings long awaited improvements to the html function and many other bugfixes and improvements. Thanks to all contributors!
- #3203: Add
widthandwindowWidthoptions to thehtmlmethod, which will make correct scaling much easier. - #2977: Add/implement
marginoption forhtmlmethod and addautoPagingoption with two different modes:'slice'and'text'. - #3169: Add
setLineDashandlineDashOffsettocontext2d. - #3039: Add
rowStartandcellStartevents andheaderTextColorproperty to `table' function - #3132: Fix possibly negative line widths in context2d.
- #3217: Fix
setFontwithfontWeightparameter for the built-in basic fonts - #3173: Fix violation of strict mode.
- #3121: Improve
addImageperformance. - #3124: Allow to pass RGBA array to
addImage. - #3135: Fix possibly imbalanced render target stack with form objects.
- #3148: Add
getDrawColorfunction to typings. - #3149: Fix font name escaping.
- #3150: Throw an error when a zero size canvas is passed to
addImage. - #3168: Fix word spacing after justified text.
- #3215: Fix nullability of style arguments of geometry methods.
- #3108: Complete the
jsPDFOptionstype in the typings. - #3119: Improve typings of the
outputfunction.