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

New feature: render text with a given shape #245

Open
Lucas-C opened this issue Oct 4, 2021 · 1 comment
Open

New feature: render text with a given shape #245

Lucas-C opened this issue Oct 4, 2021 · 1 comment

Comments

@Lucas-C
Copy link
Member

Lucas-C commented Oct 4, 2021

In HTML, some CSS & SVG capabilities allow to render text in the form of a given shape:
shape-outside

Related documentation:

By implementing this feature you, as a benevolent FLOSS developper, will provide access to the large community of fpdf2 users to a standard and useful PDF functionality.
Moreover, by working on this feature, you will learn about PDFs encryption and the lifecycle & structure of a popular Python library.
You will also be added into the contributors list & map.

In terms of API / library interface, a method could be added to fpdf2.FPDF that would provide such feature.
The new classes & utilities in fpdf.drawing could be of some use here, cf. #196

This is just a starting point though: as a contributor you will be free to design and craft this feature as you see best, while getting review feedbacks from maintainers & other contributors.

This issue can count as part of hacktoberfest

@Lucas-C
Copy link
Member Author

Lucas-C commented Oct 12, 2021

Inspiration could also be taken from HexaPDF

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant