Commit a0bd9c4d authored by Committed by Albert Astals Cid
Make the page outline one physical pixel wide
Pages get a black rectangle around them as 'outline' after being rendered. This rendering was not pixel-perfect at fractional scalings: apparently, fractional line widths and positions get rounded differently. The result was that sometimes there was a small gap between outline and page. This pages fixes the problem by making the pen for the outline 'cosmetic', i.e., one physical pixel wide. With that, its position can be such that it encloses the page without any gap.
Showing with 7 additions and 2 deletions