Use of zoom factor for increased precision

By default, the internal precision in pdfChip for rendering HTML content is 1/97 inch. By implication this means that the position objects may be off by up to half of 1/96 inch, and dimensions, such as font size, may be off by the same amount. In many cases this does not have any  negative impact. Where a higher precision is required, it can be set by using the --zoom-factor command line parameter.

Zoom factor command line parameter

The --zoom-factor command line parameter expects an integer as its value. The integer represent the factor by which the precision shall be multiplied. For example, a value of 10 leads to a precision of 1/960 inch (ca. 0,0264583 mm).

Example:

pdfChip --zoom-factor=10 input.html output.pdf
Click to copy