Skip to content
  • Oliver Sander's avatar
    Make the page outline one physical pixel wide · a0bd9c4d
    Oliver Sander authored and Albert Astals Cid's avatar Albert Astals Cid committed
    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.
    a0bd9c4d