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

Comparison with Gutenberg & Hartija Css Frameworks #28

Open
Aarbel opened this issue May 12, 2018 · 3 comments
Open

Comparison with Gutenberg & Hartija Css Frameworks #28

Aarbel opened this issue May 12, 2018 · 3 comments
Labels

Comments

@Aarbel
Copy link

Aarbel commented May 12, 2018

Hi paper-css teams,

Why did you created this library compared to Gutenberg and Hartija Css Frameworks ?

https://github.com/BafS/Gutenberg
https://github.com/vladocar/Hartija---CSS-Print-Framework

What are the core differences between Gutenberg, Hartija and Paper-css ?

Thanks !

@cognitom
Copy link
Owner

Hi @Aarbel,
I made this library to create beutiful receipts, invoices, tickets and more with ease. The point is that they are just for printing and not supposed to be webpages:

library documents *1 formal printings *2 page break layout paper size
paper-css - good manually fixed supported
Gutenberg ok - automatically fluid -
Hartija ok - automatically fluid -
  • *1: documents: multi-paged ones like reports, academic papers or just usual webpages.
  • *2: formal printings: single-paged ones like receipts, invoices or tickets.

@Aarbel Aarbel changed the title Comparison with Gutenberg Css Framework Comparison with Gutenberg & Hartija Css Framework May 13, 2018
@Aarbel
Copy link
Author

Aarbel commented May 13, 2018

@cognitom thanks for your reactivity !

Just a few more questions, you seem highly invested in this repository so my goal is to make the greatest possible. For me printing well formatted html is the best way to avoid server-side pdf rendering, and it's a great way to save a lot of money / maintaining time for developers.

About page breaks

  • What happens if the content overflows a page ? Could you put some screenshots ?
  • To print multiple pages, does paper-css can allow automatic page breaks and allow us to choose on which divs the content can break ?

About layout

  • What's the difference between fixed and fluid ? Could you put screenshots of it ?

Definitions

  • Could you add more details about what a document is for you ? Image ? Iframe ? Canvas ? Pdf ?
  • Could you add more details about what formal printing criteria is for you ? Only single page print ?

Don't hesitate to add all these details in your readme ;)

@Aarbel Aarbel changed the title Comparison with Gutenberg & Hartija Css Framework Comparison with Gutenberg & Hartija Css Frameworks May 13, 2018
@cognitom
Copy link
Owner

cognitom commented May 14, 2018

@Aarbel, what this library can is written in here:
https://github.com/cognitom/paper-css/blob/master/paper.css

Or you can try npm run preview:

$ git clone https://github.com/cognitom/paper-css.git
$ cd paper-css
$ npm install
$ npm run preview

What happens if the content overflows a page ?

https://github.com/cognitom/paper-css/blob/master/paper.css#L5

What's the difference between fixed and fluid ?

In the most of case, I use position: absolute; with paper-css. That's fixed I mean.

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

No branches or pull requests

2 participants