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

Update mPDF to 8.0.17 #499

Merged
merged 2 commits into from
Nov 8, 2023
Merged

Update mPDF to 8.0.17 #499

merged 2 commits into from
Nov 8, 2023

Conversation

eduardomozart
Copy link
Contributor

@eduardomozart eduardomozart commented Nov 7, 2023

As migrating to mPDF 8.1.* didn't seem viable yet (#476), there's some known issues with PHP 8, like exporting PDF files with SVG gradients (mpdf/mpdf@5b19fb6), that was already fixed on latest mPDF stable from 8.0 branch (8.0.17).

There's some known issues with PHP 8, like exporting PDF files with SVG gradients, that was already fixed on newer mPDF versions from 8.0 branch.
@eduardomozart eduardomozart changed the title Update mPDF to latest 8.0 stable Update mPDF to 8.0.17 Nov 7, 2023
@@ -939,7 +942,7 @@ class Mpdf implements \Psr\Log\LoggerAwareInterface
private $remoteContentFetcher;

/**
* @var ImageProcessor
* @var \Mpdf\Image\ImageProcessor
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

on line 13 the import is removed

use \dokuwiki\plugin\dw2pdf\DokuImageProcessorDecorator as ImageProcessor;

As this is only Phpdocs, it is fine for me to not change the ImageProcessor here.

Copy link
Collaborator

@Klap-in Klap-in left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good idea to offer this in-between version. Then we can offer a more smooth update path for the dw2pdf plugin to at least php8.1.

This version we can then be refered for everybody who then still needs to stay at php7.4 yet. With that available, I have also less hesitations for updating dw2pdf to the most recent versions of mpdf in a next version.

@Klap-in Klap-in merged commit 7eef194 into splitbrain:master Nov 8, 2023
13 checks passed
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 this pull request may close these issues.

3 participants