jsPDF
jsPDF copied to clipboard
Client-side JavaScript PDF generation for everyone.
When splitting a long text that has no spaces using `splitTextToSize()` on a predefined width, it splits at the wrong length causing the text to get out of bounds. ...
Hello, I would like to propose the addition of a dark theme for the JsPDF user interface. The current default interface is quite bright, which can be uncomfortable during extended...
Thanks for contributing to jsPDF! Please follow our [Contribution Guidelines](https://github.com/MrRio/jsPDF/blob/master/CONTRIBUTING.md#pull-requests) when creating a pull request.
I was wondering is it possible to disable hyperlinks on pdf, when pdf is downloaded i cant select 'https://test.com' like normal string to copy it, I can only click on...
# Steps to reproduce ```js const doc = new jsPDF({ unit: 'mm', format: [200, 200], orientation: 'p' }) // with unit: 'pt' it works as expected doc.advancedAPI() doc.beginFormObject(-50, -50, 100,...
doc.html(customHTML, { callback: function (doc) { document.querySelector('body').classList.remove('loader'); doc.addFileToVFS('Amiri-Regular.ttf', '../../../../../assets/fonts/Discussion/Amiri-Regular.ttf'); doc.addFont('../../../../../assets/fonts/Discussion/Amiri-Regular.ttf', 'Amiri', 'normal'); doc.setFont('Amiri', 'normal'); doc.save(document.getElementById("discussionPdfFilename").innerHTML + ".pdf"); }, margin: 15, x: 25, y: 25 }); i'm trying to generate PDF...
if i want to add a customize tools in the toolbar, how can i do it?
 I want to replace the existing Twitter logo in the footer icons with the new one provided by Twitter's official branding guidelines. It will ensure that the new logo...
I am making a pdf using jspdf and html2canvas in reactjs and using Ref.i want to set margin top and bottom for every page. i need help to give margin...
```typescript const checkBox = new AcroFormCheckBox() checkBox.Rect = [params.leftMargin, params.topMargin - checkboxTextHeight, checkboxLength, checkboxLength] ``` results into ` error TS2339: Property 'Rect' does not exist on type 'AcroFormCheckBox'.` Looking into...