Comment 4 for bug 743931

Revision history for this message
K. Dermitzakis (dermitza) wrote :

- (open the attached document, zoom in (800%), turn on the grid and compare the edges to the scaled bitmap to the 1-px-spaced grid lines).

What am i looking for here?

For the original, each sub-square size is 27.2 grid units (are these pixels ?)
While the bitmap copy is 28.

So load the original and scale it to 44x44 px, bitmap copy works fine.
Now scale it to 42x42. Each square is 1.9 pixels, bitmap copy gets clamped at 2px at 90 dpi, ok.

Change dpi to 120. Not clamped any more, square is now of size 2.20px
Change dpi to 140. 1.95px
Change dpi to 160. 2.30px
Change dpi to 180, 2.00px.

Reducing dpi:

80: 2.25px
60: 3.00px
40: 2.30px
20: 4.68px
10: 10.5px

Are the above results as expected?