File: index.html

package info (click to toggle)
pdf.js 1.0.907%2Bdfsg-1%2Bdeb8u1
  • links: PTS, VCS
  • area: main
  • in suites: jessie
  • size: 36,472 kB
  • ctags: 8,197
  • sloc: makefile: 41
file content (39 lines) | stat: -rw-r--r-- 1,045 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<!DOCTYPE html>
<html>

<head>
  <!-- In production, only one script (pdf.js) is necessary -->
  <!-- In production, change the content of PDFJS.workerSrc below -->
  <script src="../../src/shared/util.js"></script>
  <script src="../../src/display/api.js"></script>
  <script src="../../src/display/metadata.js"></script>
  <script src="../../src/display/pattern_helper.js"></script>
  <script src="../../src/display/font_loader.js"></script>
  <script src="../../src/display/svg.js"></script>

  <script>
    // Specify the main script used to create a new PDF.JS web worker.
    // In production, leave this undefined or change it to point to the
    // combined `pdf.worker.js` file.
    PDFJS.workerSrc = '../../src/worker_loader.js';
  </script>
  <script src="viewer.js"></script>
  <style>
    body {
      background-color: gray;
    }

    .pageContainer {
      border : 1px solid black;
      margin : 5px auto;
      background-color : white;
    }
    </style>

  <title>SVG Viewer Example</title>
</head>

<body>
</body>

</html>