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

Element missing error when rendering #218

Open
marcosdemelo opened this issue Jul 28, 2022 · 0 comments · May be fixed by #219
Open

Element missing error when rendering #218

marcosdemelo opened this issue Jul 28, 2022 · 0 comments · May be fixed by #219

Comments

@marcosdemelo
Copy link

marcosdemelo commented Jul 28, 2022

The problem:

When I combine 2 slips that have a barcode, part of the document disappears from the final file. See the attached images for more details.

Turning the version back to 0.2.37, it works!

Using the next version v.1.0.0, the problem happens.

I suspect that Commit 1d47eaf/Tag-v.1.0.0 caused this.

Therefore, I conclude that from version v.1.0.0 this problem is present.

I hope someone can help me with a fix.

v.1.0.22 .. v.1.0.0 - Error, not displaying barcode

v1 0 0-v1 0 22

v.0.2.37 - Working, displaying barcode

v 0 2 37

To reproduce:

  • Download this 2 PDFs

pdf1.pdf

pdf2.pdf

  • Use the irb ou rails console
require 'combine_pdf'
pdf = CombinePDF.new
pdf << CombinePDF.load('pdf1.pdf')
pdf << CombinePDF.load('pdf2.pdf')
pdf.save 'pdf-combined.pdf'

Inspect the result file pdf-combined.pdf.

@asseinfo-dev asseinfo-dev linked a pull request Aug 30, 2022 that will close 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

Successfully merging a pull request may close this issue.

1 participant