fpdf2 icon indicating copy to clipboard operation
fpdf2 copied to clipboard

Example scripts

Open digidigital opened this issue 4 years ago • 1 comments

When I used FPDF for PHP (some years ago)I really liked the scripts section of the homepage since it was a good resource for extending FPDF without having to wait for a new release or to cover edge cases.

I have ported some of the original scripts 1:1 to python -> https://github.com/digidigital/Extensions-and-Scripts-for-pyFPDF-fpdf2

I see you guys are busy implementing a lot of those features in fpdf2 directly. If someone wants to pick up an idea and use the ported scripts as rough starting point - go ahead !

digidigital avatar Oct 26 '21 22:10 digidigital

Awesome @digidigital !

I've started by adding a reference to your repo in the docs: https://pyfpdf.github.io/fpdf2/#related

I think many features could indeed be ported to fpdf2 so that they become "native".

We could start by opening 2-3 dedicated issues to port a few first features, so that each one can be discussed individually, with a specific PR implementing it. What do you think @digidigital ? I'd suggest to start with:

  1. rect(round_corners=True) (#427)
  2. star() shape (#428)
  3. image(screen_only=True) (#441)
  4. add_javascript()
  5. text with rotation/skew (#536)

Lucas-C avatar Oct 29 '21 08:10 Lucas-C

Closing this now, given that issues were created for every subject (and most of them have been implemented), and that we reference your collection of scripts in https://py-pdf.github.io/fpdf2/#related 🙂

Lucas-C avatar May 24 '24 09:05 Lucas-C