Commit graph

68 commits

Author SHA1 Message Date
Gered 48cfa584f5 add options for specifying margin-boxes (headers, footers, etc) 2017-04-02 18:33:49 -04:00
Gered 78cb34ff39 use em units in base css sheet so everything scales with font size 2017-04-02 17:08:29 -04:00
Gered be6cc84c90 add margin preset keywords for more typical choices 2017-04-02 16:54:33 -04:00
Gered 8623a28514 updates to htmltopdf-base.css 2017-04-02 16:46:27 -04:00
Gered 1157824eba once again include htmltopdf-base.css when :styles option is truthy 2017-04-02 16:46:08 -04:00
Gered 983753c859 fix css unit tests consistency
sort map attribute keys before generating style string so they always
get generated in the same way
2017-04-02 16:09:47 -04:00
Gered 75cf36f0af add support for setting pdf properties like title, subject, author, etc 2017-04-02 16:02:30 -04:00
Gered 78979fd747 add page margin option support. clean up page option -> css rendering 2017-04-02 15:43:28 -04:00
Gered 823c8f0e7c improve base css style support / options. add custom font support 2017-04-02 15:16:48 -04:00
Gered 17e8876070 do not output page options <style> tag if explicitly set to nil 2017-04-02 13:21:28 -04:00
Gered 9a1b0d9ed6 add debugging output options 2017-04-02 13:20:24 -04:00
Gered b7676fcab1 some cleanup/organization 2017-04-02 12:52:01 -04:00
Gered bcfca8cf38 simplify 2017-04-02 12:25:59 -04:00
Gered 48354a2ce9 render basic page/pdf options as css so they take effect in output pdfs 2017-04-02 12:07:00 -04:00
Gered 0b3ba9ccce add base css stylesheet 2017-04-02 11:06:58 -04:00
Gered eadbe13ee1 add css stylesheet string generation functionality 2017-04-01 18:24:34 -04:00
Gered a74fdd5ae6 add default-options 2017-04-01 15:23:02 -04:00
Gered 631e5fc1a4 initial commit 2017-04-01 14:58:23 -04:00