Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Just tried it on their GitHub page:

percollate pdf --output p.pdf https://github.com/danburzo/percollate

The font is gigantic and the page tiny. Barely get to the second headline on the first page.

And there is no way to tune this on the command line (yet).



You're right, the default page size (A5) and font size are things that need to be easily customizable. I resisted adding many options to the CLI, but I think this is a good way to solve it? https://github.com/danburzo/percollate/issues/27


Yes. This would work.

It's probably a good idea to not introduce flags like `--font-size 12p` or `--page A4` since it leads down a rabbit hole. (Where do you stop?). Directly passing down CSS seems appropriate here.


Implemented in the latest version :)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: