The important stuff:
We will not support any longer fromHTML and addHTML.
Explaination:
This means, we wont add any changes to this two plugins. You are free to submit PullRequests, but we will not invest more time in these two plugins. We have now a new .html method, based on html2canvas and our canvas2d plugin - based on the html2pdf-Plugin by @eKoopmans . This plugin will be mantained in the future. . This should lead to more reliable results for your projects. And it will give us the time to focus on the core functionality of pdf-generation because we will not use our energy for writing/supporting/extending 2 html plugins. If you still want to use addHTML or fromHTML as they are still in jspdf. But if some changes break those plugins, you can still use jsPDF 1.4.1, which has a stable version for both plugins.
ChangeLog:
acroform.js to work properly with polyfillsFont Dictionary now has toUnicode entry to be able to copy paste out from pdf viewer (works in Chrome but not really in Adobe Reader, but better than noting)
Sorry for the bug about Adobe Reader.
ToUnicode cmap need to be fixed,
left side is wrong cmap

Fix:
In function toUnicodeCmap(map)
unicodeMap = '/CIDInit /ProcSet findresource begin\n12 dict begin\nbegincmap\n/CIDSystemInfo <<\n /Registry (Adobe)\n /Ordering (UCS)\n /Supplement 0\n>> def\n/CMapName /Adobe-Identity-UCS def\n/CMapType 2 def\n1 begincodespacerange\n<00><ff>\nendcodespacerange';
->
unicodeMap = '/CIDInit /ProcSet findresource begin\n12 dict begin\nbegincmap\n/CIDSystemInfo <<\n /Registry (Adobe)\n /Ordering (UCS)\n /Supplement 0\n>> def\n/CMapName /Adobe-Identity-UCS def\n/CMapType 2 def\n1 begincodespacerange\n<0000><ffff>\nendcodespacerange';
code = (+code).toString(16);
->
code = ('0000' + (+code).toString(16)).slice(-4);
@zhangchen0514 I created a pullrequest #2031 with your changes. But I will check it locally first, before I merge it later.
Thank you very much!
@zhangchen0514
merged it, thank you ;)
A snapshot of jsPDF 1.4.2 for testing purposes
Releasenotes might also mention the new setLineDash 52afcab
Most helpful comment
A snapshot of jsPDF 1.4.2 for testing purposes
jsPDF-1.4.2-beta-snapshot.zip