fix error

This commit is contained in:
邱博亞 2022-03-05 21:47:27 +08:00
parent 0d5c4174ca
commit 5a8859e6f1
3 changed files with 5 additions and 7 deletions

View File

@ -4710,7 +4710,7 @@ var defaultOptions = {
kind: OptionKind.VIEWER
};
defaultOptions.printResolution = {
value: 150,
value: 600,
kind: OptionKind.VIEWER
};
}

View File

@ -28,13 +28,11 @@ See https://github.com/adobe-type-tools/cmap-resources
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>PDF.js viewer</title>
<link rel="stylesheet" href="/assets/archive/pdf/viewer.css">
<%= stylesheet_link_tag "archive/download_file.css" %>
<!-- This snippet is used in production (included from viewer.html) -->
<link rel="resource" type="application/l10n" href="/assets/archive/locale/locale.properties">
<script src="/assets/archive/pdf/pdf.js"></script>
<%= javascript_include_tag "archive/pdf/pdf.js" %>
</head>
<body tabindex="1" class="loadingInProgress" data-url="<%=@url%>">
@ -388,6 +386,6 @@ See https://github.com/adobe-type-tools/cmap-resources
</div> <!-- outerContainer -->
<div id="printContainer"></div>
<script type="text/javascript" src="/assets/archive/pdf/viewer.js"></script>
<%= javascript_include_tag "archive/pdf/viewer.js" %>
</body>
</html>

View File

@ -5,7 +5,7 @@
<head>
<meta name="viewport" content="width=device-width, minimum-scale=0.1">
<title><%=@filename%></title>
<link href="/assets/archive/download_file.css" rel="stylesheet" media="all">
<%= stylesheet_link_tag "archive/download_file.css" %>
</head>
<body>
<h1 style="display: none;"><%=@filename%></h1>