|
@@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') {
|
|
|
(typeof window !== 'undefined' ? window : this).PDFJS = {};
|
|
|
}
|
|
|
|
|
|
-PDFJS.version = '1.0.1167';
|
|
|
-PDFJS.build = '4c2640d';
|
|
|
+PDFJS.version = '1.0.1169';
|
|
|
+PDFJS.build = '00ee6bd';
|
|
|
|
|
|
(function pdfjsWrapper() {
|
|
|
// Use strict in our context only - users might not want it
|
|
@@ -1745,7 +1745,7 @@ PDFJS.verbosity = (PDFJS.verbosity === undefined ?
|
|
|
PDFJS.VERBOSITY_LEVELS.warnings : PDFJS.verbosity);
|
|
|
|
|
|
/**
|
|
|
- * The maximum supported canvas size in total pixels e.g. width * height.
|
|
|
+ * The maximum supported canvas size in total pixels e.g. width * height.
|
|
|
* The default value is 4096 * 4096. Use -1 for no limit.
|
|
|
* @var {number}
|
|
|
*/
|
|
@@ -2200,7 +2200,7 @@ var PDFDocumentProxy = (function PDFDocumentProxyClosure() {
|
|
|
* rendering call the function that is the first argument
|
|
|
* to the callback.
|
|
|
*/
|
|
|
-
|
|
|
+
|
|
|
/**
|
|
|
* PDF page operator list.
|
|
|
*
|
|
@@ -5395,7 +5395,6 @@ var CanvasGraphics = (function CanvasGraphicsClosure() {
|
|
|
})();
|
|
|
|
|
|
|
|
|
-
|
|
|
var WebGLUtils = (function WebGLUtilsClosure() {
|
|
|
function loadShader(gl, code, shaderType) {
|
|
|
var shader = gl.createShader(shaderType);
|
|
@@ -7014,7 +7013,7 @@ var SVGExtraState = (function SVGExtraStateClosure() {
|
|
|
this.lineJoin = '';
|
|
|
this.lineCap = '';
|
|
|
this.miterLimit = 0;
|
|
|
-
|
|
|
+
|
|
|
this.dashArray = [];
|
|
|
this.dashPhase = 0;
|
|
|
|
|
@@ -7241,7 +7240,7 @@ var SVGGraphics = (function SVGGraphicsClosure() {
|
|
|
}
|
|
|
return opListToTree(opList);
|
|
|
},
|
|
|
-
|
|
|
+
|
|
|
executeOpTree: function SVGGraphics_executeOpTree(opTree) {
|
|
|
var opTreeLen = opTree.length;
|
|
|
for(var x = 0; x < opTreeLen; x++) {
|
|
@@ -8189,7 +8188,6 @@ var NetworkManager = (function NetworkManagerClosure() {
|
|
|
})();
|
|
|
|
|
|
|
|
|
-
|
|
|
var ChunkedStream = (function ChunkedStreamClosure() {
|
|
|
function ChunkedStream(length, chunkSize, manager) {
|
|
|
this.bytes = new Uint8Array(length);
|
|
@@ -8729,7 +8727,6 @@ var ChunkedStreamManager = (function ChunkedStreamManagerClosure() {
|
|
|
})();
|
|
|
|
|
|
|
|
|
-
|
|
|
// The maximum number of bytes fetched per range request
|
|
|
var RANGE_CHUNK_SIZE = 65536;
|
|
|
|
|
@@ -8935,7 +8932,6 @@ var NetworkPdfManager = (function NetworkPdfManagerClosure() {
|
|
|
})();
|
|
|
|
|
|
|
|
|
-
|
|
|
var Page = (function PageClosure() {
|
|
|
|
|
|
var LETTER_SIZE_MEDIABOX = [0, 0, 612, 792];
|
|
@@ -9445,7 +9441,6 @@ var PDFDocument = (function PDFDocumentClosure() {
|
|
|
})();
|
|
|
|
|
|
|
|
|
-
|
|
|
var Name = (function NameClosure() {
|
|
|
function Name(name) {
|
|
|
this.name = name;
|
|
@@ -9978,7 +9973,7 @@ var Catalog = (function CatalogClosure() {
|
|
|
var isPrintAction = (isName(objType) && objType.name === 'Action' &&
|
|
|
isName(actionType) && actionType.name === 'Named' &&
|
|
|
isName(action) && action.name === 'Print');
|
|
|
-
|
|
|
+
|
|
|
if (isPrintAction) {
|
|
|
javaScript.push('print(true);');
|
|
|
}
|
|
@@ -10834,7 +10829,7 @@ var NameTree = (function NameTreeClosure() {
|
|
|
warn('Search depth limit for named destionations has been reached.');
|
|
|
return null;
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
var kids = kidsOrNames.get('Kids');
|
|
|
if (!isArray(kids)) {
|
|
|
return null;
|
|
@@ -10889,10 +10884,10 @@ var NameTree = (function NameTreeClosure() {
|
|
|
})();
|
|
|
|
|
|
/**
|
|
|
- * "A PDF file can refer to the contents of another file by using a File
|
|
|
+ * "A PDF file can refer to the contents of another file by using a File
|
|
|
* Specification (PDF 1.1)", see the spec (7.11) for more details.
|
|
|
* NOTE: Only embedded files are supported (as part of the attachments support)
|
|
|
- * TODO: support the 'URL' file system (with caching if !/V), portable
|
|
|
+ * TODO: support the 'URL' file system (with caching if !/V), portable
|
|
|
* collections attributes and related files (/RF)
|
|
|
*/
|
|
|
var FileSpec = (function FileSpecClosure() {
|
|
@@ -11222,7 +11217,6 @@ var ExpertSubsetCharset = [
|
|
|
];
|
|
|
|
|
|
|
|
|
-
|
|
|
var DEFAULT_ICON_SIZE = 22; // px
|
|
|
var SUPPORTED_TYPES = ['Link', 'Text', 'Widget'];
|
|
|
|
|
@@ -28377,7 +28371,6 @@ var FontRendererFactory = (function FontRendererFactoryClosure() {
|
|
|
})();
|
|
|
|
|
|
|
|
|
-
|
|
|
var GlyphsUnicode = {
|
|
|
A: 0x0041,
|
|
|
AE: 0x00C6,
|
|
@@ -36384,7 +36377,6 @@ var Metrics = {
|
|
|
};
|
|
|
|
|
|
|
|
|
-
|
|
|
var EOF = {};
|
|
|
|
|
|
function isEOF(v) {
|
|
@@ -40542,9 +40534,9 @@ if (typeof window === 'undefined') {
|
|
|
|
|
|
/* This class implements the QM Coder decoding as defined in
|
|
|
* JPEG 2000 Part I Final Committee Draft Version 1.0
|
|
|
- * Annex C.3 Arithmetic decoding procedure
|
|
|
+ * Annex C.3 Arithmetic decoding procedure
|
|
|
* available at http://www.jpeg.org/public/fcd15444-1.pdf
|
|
|
- *
|
|
|
+ *
|
|
|
* The arithmetic decoder is used in conjunction with context models to decode
|
|
|
* JPEG2000 and JBIG2 streams.
|
|
|
*/
|
|
@@ -43910,7 +43902,6 @@ var JpxImage = (function JpxImageClosure() {
|
|
|
})();
|
|
|
|
|
|
|
|
|
-
|
|
|
var Jbig2Image = (function Jbig2ImageClosure() {
|
|
|
// Utility data structures
|
|
|
function ContextCache() {}
|
|
@@ -45387,7 +45378,6 @@ var bidi = PDFJS.bidi = (function bidiClosure() {
|
|
|
return bidi;
|
|
|
})();
|
|
|
|
|
|
-
|
|
|
/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
|
|
/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
|
|
|
|