I'm using htmldoc 1.9.11-4+deb11u3 to convert html files to pdf. When playing with the fontsize option I discover that the default is not a whole number, more like 11.2 points.
I'm using htmldoc 1.9.11-4+deb11u3 to convert html files to pdf. When playing with the fontsize option I discover that the default is not a whole number, more like 11.2 points. Is this the expected behaviour ?
Background: The manual at https://www.msweet.org/htmldoc/htmldoc.html#3_2_23 says “The --fontsize option specifies the base font size for the entire document in points (1 point = 1/72nd inch)”, but doesn't say what the default value is if the option is omitted.
What is the default font size?
Use this as a test file:
<html><head><title>testfile</title></head>
<body><p>here is the base text</p></body></html>
run it through htmldoc without using a --fontsize option, open
the resulting pdf and measure?
htmldoc is very badly outdated; if you want proper control, you
want to use pandoc (yes, Debian packages it) and a CSS file.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 546 |
Nodes: | 16 (2 / 14) |
Uptime: | 05:08:18 |
Calls: | 10,386 |
Calls today: | 1 |
Files: | 14,058 |
Messages: | 6,416,627 |