flyingsaucer
paper-css
flyingsaucer | paper-css | |
---|---|---|
6 | 4 | |
1,931 | 2,444 | |
1.3% | - | |
9.6 | 0.0 | |
4 days ago | about 1 year ago | |
Java | CSS | |
GNU General Public License v3.0 or later | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
flyingsaucer
-
CSS for Printing to Paper
I have been creating print labels with plot/cut lines using css and I used browsers to covert it to PDF. The experience was terrible. While all was perfect on my 1-page proof print, both large browsers messed up the final document (with a few hundred labels on several pages).
Firefox forgot to render images after a few pages. So on some labels the barcodes were not printed.
Chrome looked good at the fist glance. But it turned out that the plot/cut lines (which I created via CSS borders) had been shifted by 1-2mm on _some_ pages. Result was garbage.
I finally switched to https://github.com/flyingsaucerproject/flyingsaucer which is a high quality HTML/CSS to PDF library. Only drawback is that it only supports CSS 2.1, so some fancy features are not supported like rotating text.
-
Htmldocs: Typeset and Generate PDFs with HTML/CSS
I've used flying saucer pdf[1] for this in the past, but the missing piece always seems to be a descent WYSIWYG template editor. Either open source or paid.
Any suggestions on a web solution that allows non-devs to make great templates would be appreciated.
Historically I've built something simple with Tiny and added a preview button to render, but that super clunky.
[1] https://github.com/flyingsaucerproject/flyingsaucer
-
is thymleaf still used
Same, we also use it in conjunction with Flying Saucer PDF to produce PDF reports.
- How do i convert html file to pdf file using java(fx)?
-
Is Jasper still the best Report Engine?
Personnaly, I'm a big fan of Flying Saucer.
-
Is there a Kotlin-first library to create PDFs?
Not Kotlin first, but I use Flying Saucer (LGPL licenced) in Java.
paper-css
-
CSS for Printing to Paper
I appreciated the read, but in real life just link to the css file in Paper-CSS[1].
It may not be a lot of CSS, but it is much easier for me to just include the page and have it deal with my page size than to review articles like this when I want to pint.
[1]: https://github.com/cognitom/paper-css
-
CSS Deep
cognitom/paper-css - Paper CSS for happy printing
What are some alternatives?
iText - [DEPRECATED] Core Java Library + PDF/A, xtra and XML Worker. Only security fixes will be added — please use iText 7
vex - A modern dialog library which is highly configurable and easy to style. #hubspot-open-source
Apache PDFBox - Mirror of Apache PDFBox
hint.css - A CSS only tooltip library for your lovely websites.
Open HTML to PDF - An HTML to PDF library for the JVM. Based on Flying Saucer and Apache PDF-BOX 2. With SVG image support. Now also with accessible PDF support (WCAG, Section 508, PDF/UA)!
SpinKit - A collection of loading indicators animated with CSS
Apache FOP - Apache XML Graphics FOP
Compass - Compass is no longer actively maintained. Compass is a Stylesheet Authoring Environment that makes your website design simpler to implement and easier to maintain.
OpenPDF - OpenPDF is a free Java library for creating and editing PDF files, with a LGPL and MPL open source license. OpenPDF is based on a fork of iText. We welcome contributions from other developers. Please feel free to submit pull-requests and bugreports to this GitHub repository.
colors - Smarter defaults for colors on the web.
Dynamic Jasper - Dynamic Reports using Jasper Reports
css-loaders - A collection of loading spinners animated with CSS