bartneck / swiML

A project to formalise swimming programs using XML
MIT License
2 stars 2 forks source link

Exact PDF scaling #19

Open bartneck opened 1 year ago

bartneck commented 1 year ago

The book in which the PDF files will be embedded is exactly 11 cm wide. It would be great to be able to consistently scale all swiML PDF output to fit into a maximum of 11 cm widths. The title and author are currently centered and they should be centered to a specific value, such as 11cm. The display of the current HTML output can be scaled by the browser. Hence the resulting PDF could have smaller or bigger text. This is undesirable. All text should be consistent in size.

bartneck commented 5 months ago

With the current version, I get different widths depending on the web browser I use. Chrome results in programs that are exactly 11cm wide. Safari is different. It would be great if they could be the same.