Lukas Holländer
Lukas Holländer
@rahil1304 I just realized that @MarceloZapatta already made a PR, sorry about that.
Yes, this seems like some matrices are not applied in the correct order.
Thanks for reporting this bug. The issue seems to be here: https://github.com/MrRio/jsPDF/blob/cef97fb34eda41a8704c9f3983e680919a328ce4/src/jspdf.js#L3993-L4008 The `da` array (`posX/Y`) contains absolute coordinates for the first line and coordinates relative to the previous line...
What do you mean by "document taggings"?
@samuraitruong thanks for the clarification. jsPDF does not support this currently. Pull requests are very welcome, though :)
Not really. But have a look at our [contribution guide](https://github.com/MrRio/jsPDF/blob/master/CONTRIBUTING.md).
@stefan123t I think that's not easy, if not impossible. The HTML tags don't survive through the canvas API. Maybe we can misuse the [ignoreElements](https://html2canvas.hertzen.com/configuration) callback to know the currently "active"...
@stefan123t thanks for the tip ;) Also, your approach looks good. From an API perspective we could add two methods like this: ``` doc.beginMarkedContent({ title: "Chapter 1", ...}) doc.text(...) doc.endMarkedContent()...
Thanks for the report. Help is welcome :)
You are right. We also should update the types first, since they were merged/copied from upstream and are missing some methods from this fork.