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

Possible bug: v10.0.0 PNG logo only displayed on first PDF page #11651

Closed
kess78 opened this issue Aug 6, 2019 · 3 comments
Closed

Possible bug: v10.0.0 PNG logo only displayed on first PDF page #11651

kess78 opened this issue Aug 6, 2019 · 3 comments

Comments

@kess78
Copy link

kess78 commented Aug 6, 2019

Bug

Since years I use the same logo image file. It's a normal, standard PNG with a transparent background. It worked perfectly until v9.0.3. After the upgrade on v10.0.0 the PNG logo is shown only on the first page of the invoice (or proposal). Of course I use native PDF reports, so crabe or azur.
If for testing I use a JPG logo, it works on all the pages as expected. The problem seems only with PNG files (tried many).
Forum post here: https://www.dolibarr.org/forum/527-bugs-on-a-stable-version/29339-10-0-0-logo-on-the-first-page-only

Environment

  • Version: v 10.0.0
  • OS: Debian Stretch x64
  • Web server: Apache 2.4.25
  • PHP: 7.3.7 (and also 7.2.20)
  • Database: MariaDB 10.1.38
  • URL(s): Invoice / Proposal PDF Generation

Expected and actual behavior

Described above

Steps to reproduce the behavior

Described above

@jtraulle
Copy link
Member

Related to tecnickcom/tc-lib-pdf#56

@jtraulle
Copy link
Member

Workaround is detailed here https://www.dolibarr.org/forum/527-bugs-on-a-stable-version/29339-10-0-0-logo-on-the-first-page-only#38142


@eldy As current version 6.2.26 of TCPDF is considered obsolete and no new release has been released since 16 Oct 2018, should me make an exception an patch htdocs/includes/tecnickcom/tcpdf/tcpdf.php file directly on Dolibarr repo ?

@dpriskorn
Copy link
Contributor

Update to v12 and reopen if the problem persists.

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

3 participants