Page MenuHomePhabricator

Allow use of @page CSS for PDFs
Open, Needs TriagePublic

Description

Calibre supports the use of @page rules in CSS:

--pdf-use-document-margins
Use the page margins specified in the input document via @page CSS rules. This will cause the margins specified in the conversion settings to be ignored. If the document does not specify page margins, the conversion settings will be used as a fallback.

We should add this option for WS Export's four pdf* output formats.

(This task comes from T274521#7586968.)