I am rendering a HTML Page and i want to render exaclty the Page size as PDF. No Probs so far. Only probs are, that the Font-Size and the Images are smaller then on the page. I think the resolution is different. So where can i set the dpi resolution of the PDF page?
Or is this a complete different issue?
If you're specifying sizes in absolute units, like pt or mm, then these should transfer exactly to the printed sheet of paper. However, if you're specifying sizes in pixel units (px) then the situation is more difficult. Currently Prince defaults to a resolution of 96dpi, so 96px will be equivalent to 1in or 72pt. For images this can be changed using the prince-image-resolution property, but for font sizes it is fixed at 96dpi.