Tuesday, October 11, 2022

Re: [new] print/weasyprint

Le Thu, Sep 29, 2022 at 01:59:50PM +0200, Landry Breuil a écrit :
> hi,
>
> here's a port of https://weasyprint.org/ (and its deps), a tool that
> allows to produce PDFs/invoices/tickets/books/posters from
> markdown/html/webpages without using a web browser engine, using plain
> python css/html parsers/etc. Stumbled upon it when looking at mkdocs
> plugins to generate PDFs..
>
> - devel/py-test-{flake8,isort} are two pytest plugins for tests
> - textproc/py-cssselect2: implementation of css4 selectors
> - textproc/py-tinycss2: css parser
> - textproc/py-pyphen: hyphenation lib
> - print/py-pydf: low-level pdf generation lib
> - print/py-fonttools: font management lib
> - archivers/py-zopfli: zopfli bindings used by some fonts
> - print/weasyprint: the user-facing lib/command
>
> https://doc.courtbouillon.org/weasyprint/stable/first_steps.html#command-line
> shows an usage example.
>
> i think i have all the deps/pybuild things right, but more eyes welcome.

oks to import are welcome too now that we're unlocked :)

Landry

No comments:

Post a Comment