flyingsaucer VS stylo

Compare flyingsaucer vs stylo and see what are their differences.

flyingsaucer

XML/XHTML and CSS 2.1 renderer in pure Java (by flyingsaucerproject)
PDF
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
flyingsaucer stylo
6 1
1,931 29
1.2% -
9.6 9.9
3 days ago 4 days ago
Java Rust
GNU General Public License v3.0 or later -
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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

Posts with mentions or reviews of flyingsaucer. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-03.
  • CSS for Printing to Paper
    15 projects | news.ycombinator.com | 3 Mar 2024
    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
    11 projects | news.ycombinator.com | 17 Jan 2024
    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
    2 projects | /r/java | 19 Feb 2023
    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)?
    3 projects | /r/JavaFX | 30 Dec 2022
  • Is Jasper still the best Report Engine?
    2 projects | /r/java | 2 Jul 2021
    Personnaly, I'm a big fan of Flying Saucer.
  • Is there a Kotlin-first library to create PDFs?
    1 project | /r/Kotlin | 16 Apr 2021
    Not Kotlin first, but I use Flying Saucer (LGPL licenced) in Java.

stylo

Posts with mentions or reviews of stylo. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-03.
  • CSS for Printing to Paper
    15 projects | news.ycombinator.com | 3 Mar 2024
    > Is there any easy to use/hack HTML layouting engine where I could experiment with custom CSS attributes and bridge that gap? Would anything from Servo be suitable?

    Servo could be used for this. You'd want to add support for parsing the CSS properties themselves to the style crate in https://github.com/servo/stylo and then the layout implementation to the layout2020 crate in https://github.com/servo/servo. You do effectively get a whole browser though.

    I'm currently working on building a lighter weight / hackable layout engine based on a combination of https://github.com/servo/stylo (for css parsing and selector resolution), https://github.com/DioxusLabs/taffy (for box-level layout) and https://github.com/pop-os/cosmic-text (for flow/inline layout). I expect to have something decent in around 6 months

    Neither of these setups currently have any support for pagination though.

What are some alternatives?

When comparing flyingsaucer and stylo you can also consider the following projects:

iText - [DEPRECATED] Core Java Library + PDF/A, xtra and XML Worker. Only security fixes will be added — please use iText 7

WeasyPrint - The awesome document factory

Apache PDFBox - Mirror of Apache PDFBox

asciidoctor-web-pdf - Convert AsciiDoc documents to PDF using web technologies

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)!

website2pdf - Node library to print PDFs from a website following sitemap protocol

Apache FOP - Apache XML Graphics FOP

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.

Dynamic Jasper - Dynamic Reports using Jasper Reports

Konik - A library to create, read and validate ZUGFeRD compliant invoices. Available for Java and .NET

jstachio - Java type safe statically compiled mustache