Created on 25 June 2019, over 5 years ago
Updated 3 June 2024, 6 months ago

Hi,
I created a plugin for the mPDF library, patch attached.
I like to use this print engine since it takes any CSS without throwing errors (regardless if it can actually render it).
What do you think?

🐛 Bug report
Status

RTBC

Version

2.0

Component

Code

Created by

🇩🇪Germany ktpm

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇬🇷Greece vensires

    From what I can understand, the review of the patch(es) is done and ready but it would be better if we can clarify which code from which patch or MR should be the one to further check. Can we all agree to go on with #18 🐛 mPDF Plugin Needs review ?

  • @vensires Yes, #18 is the one to go with.

  • Redwan Jamous changed the visibility of the branch 3063998-mpdf-plugin to hidden.

  • Status changed to RTBC 8 months ago
  • 🇬🇷Greece vensires

    Thank you Redwan for the clarification and for your work!
    So, based on the comment of @neelam.chaudhary we can set this as RTBC.

  • Status changed to Needs work 8 months ago
  • 🇬🇷Greece vensires

    Sorry, I take it back! It seems we now have two "Paper Orientation" fields on the configuration form.
    One is the "default_paper_orientation" coming from the parent::buildConfigurationForm(), whereas the other one is coming from the patch.

  • Merge request !56Add support for Mpdf → (Open) created by vensires
  • Status changed to Needs review 8 months ago
  • 🇬🇷Greece vensires

    Fixed the issue with the two orientation fields in the new MR.
    Also attaching diff from MR as patch.

  • Thanks @vensires!

    While your patch removes the extra field, it doesn't actually apply the selected orientation because we're passing it to Mpdf under the key "default_page_orientation", while Mpdf expects it to be "orientation".

    Updated the MR to fix this.
    Adding a patch to use with composer...

    I think we need one more review on this.

  • Status changed to RTBC 6 months ago
  • 🇬🇷Greece vensires

    Thanks for your feedback @redwan-jamous. You are right!
    I am setting this as RTBC.

Production build 0.71.5 2024