Browse Source

render at 1.5x scale

Chris Jones 14 years ago
parent
commit
b82392f417
  1. 4
      test.css
  2. 5
      test.html

4
test.css

@ -26,8 +26,8 @@ span#info { @@ -26,8 +26,8 @@ span#info {
#viewer {
margin: auto;
border: 1px solid black;
width: 8.5in;
height: 11in;
width: 12.75in;
height: 16.5in;
}
#pageNumber {

5
test.html

@ -26,8 +26,9 @@ @@ -26,8 +26,9 @@
<div id="viewer">
<!-- Canvas dimensions must be specified in CSS pixels. CSS pixels
are always 96 dpi. These dimensions are 8.5x11in at 96dpi. -->
<canvas id="canvas" width="816" height="1056"></canvas>
are always 96 dpi. 816x1056 is 8.5x11in at 96dpi. -->
<!-- We're rendering here at 1.5x scale. -->
<canvas id="canvas" width="1224" height="1584"></canvas>
</div>
</body>
</html>

Loading…
Cancel
Save