Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stream write of content using WriteTo rewrites entire content #289

Open
piyushgup opened this issue Mar 28, 2024 · 1 comment
Open

stream write of content using WriteTo rewrites entire content #289

piyushgup opened this issue Mar 28, 2024 · 1 comment

Comments

@piyushgup
Copy link

I was using the gopdf library to stream write data page by page. But it would happen to be writing content that it has already written again and again.

For example, if I add 3 pages p1,p2,p3, with WriteTo called after each page, the output in the pdf contains 6 pages as
p1
p1
p2
p1
p2
p3

@vantaboard
Copy link
Contributor

@piyushgup can you post an example so I can reproduce this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants