• Oliver Sander's avatar
    Make the page outline one physical pixel wide · a0bd9c4d
    Oliver Sander authored
    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
pageview.cpp 217 KB