mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-20 07:08:08 +02:00
render at 1.5x scale
This commit is contained in:
parent
fd269facbc
commit
370303f005
2 changed files with 5 additions and 4 deletions
4
test.css
4
test.css
|
@ -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 {
|
||||
|
|
|
@ -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…
Add table
Add a link
Reference in a new issue