You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm facing an issue, links breaks when .addPage() with another format than the initial size, apparently the position of the link became incorrect.
Reproduce:
Start new doc with an specific size
Put some link anywhere in the first page
addPage() with an different size
The link inserted in the first page doesn't respect anymore the position passed.
Notice that this occurs with textWithLink and also link(). If the addPage() has the same size of initial format links work's just fine. I made an fiddle to help:
Yes, that's a bug. The links are written when the pages are finalized. Here the getHorizontal/VerticalCoordinateString functions are no longer valid (they use the dimensions of the last active page). The final bounds need to be stored when the link function is executed.
Hi!
I'm facing an issue, links breaks when .addPage() with another format than the initial size, apparently the position of the link became incorrect.
Reproduce:
Notice that this occurs with textWithLink and also link(). If the addPage() has the same size of initial format links work's just fine. I made an fiddle to help:
Works:
https://jsfiddle.net/MarceloZapatta/don4hqtj/
Breaks:
https://jsfiddle.net/fL403sja/2/
The text was updated successfully, but these errors were encountered: