|
@@ -11415,7 +11415,7 @@ function _fetchDocument(worker, source, pdfDataRangeTransport, docId) {
|
|
|
if (worker.destroyed) {
|
|
|
return Promise.reject(new Error('Worker was destroyed'));
|
|
|
}
|
|
|
- var apiVersion = '1.10.93';
|
|
|
+ var apiVersion = '1.10.95';
|
|
|
source.disableAutoFetch = (0, _dom_utils.getDefaultSetting)('disableAutoFetch');
|
|
|
source.disableStream = (0, _dom_utils.getDefaultSetting)('disableStream');
|
|
|
source.chunkedViewerLoading = !!pdfDataRangeTransport;
|
|
@@ -12719,8 +12719,8 @@ var _UnsupportedManager = function UnsupportedManagerClosure() {
|
|
|
}();
|
|
|
var version, build;
|
|
|
{
|
|
|
- exports.version = version = '1.10.93';
|
|
|
- exports.build = build = '4e66c69d';
|
|
|
+ exports.version = version = '1.10.95';
|
|
|
+ exports.build = build = '92fcfce6';
|
|
|
}
|
|
|
exports.getDocument = getDocument;
|
|
|
exports.LoopbackPort = LoopbackPort;
|
|
@@ -29835,8 +29835,8 @@ exports.SVGGraphics = SVGGraphics;
|
|
|
"use strict";
|
|
|
|
|
|
|
|
|
-var pdfjsVersion = '1.10.93';
|
|
|
-var pdfjsBuild = '4e66c69d';
|
|
|
+var pdfjsVersion = '1.10.95';
|
|
|
+var pdfjsBuild = '92fcfce6';
|
|
|
var pdfjsSharedUtil = __w_pdfjs_require__(0);
|
|
|
var pdfjsDisplayGlobal = __w_pdfjs_require__(133);
|
|
|
var pdfjsDisplayAPI = __w_pdfjs_require__(75);
|
|
@@ -36066,8 +36066,8 @@ if (!_global_scope2.default.PDFJS) {
|
|
|
}
|
|
|
var PDFJS = _global_scope2.default.PDFJS;
|
|
|
{
|
|
|
- PDFJS.version = '1.10.93';
|
|
|
- PDFJS.build = '4e66c69d';
|
|
|
+ PDFJS.version = '1.10.95';
|
|
|
+ PDFJS.build = '92fcfce6';
|
|
|
}
|
|
|
PDFJS.pdfBug = false;
|
|
|
if (PDFJS.verbosity !== undefined) {
|
|
@@ -39024,7 +39024,7 @@ var WorkerMessageHandler = {
|
|
|
var cancelXHRs = null;
|
|
|
var WorkerTasks = [];
|
|
|
var apiVersion = docParams.apiVersion;
|
|
|
- var workerVersion = '1.10.93';
|
|
|
+ var workerVersion = '1.10.95';
|
|
|
if (apiVersion !== null && apiVersion !== workerVersion) {
|
|
|
throw new Error('The API version "' + apiVersion + '" does not match ' + ('the Worker version "' + workerVersion + '".'));
|
|
|
}
|
|
@@ -44159,6 +44159,10 @@ var Font = function FontClosure() {
|
|
|
function int16(b0, b1) {
|
|
|
return (b0 << 8) + b1;
|
|
|
}
|
|
|
+ function writeSignedInt16(bytes, index, value) {
|
|
|
+ bytes[index + 1] = value;
|
|
|
+ bytes[index] = value >>> 8;
|
|
|
+ }
|
|
|
function signedInt16(b0, b1) {
|
|
|
var value = (b0 << 8) + b1;
|
|
|
return value & 1 << 15 ? value - 0x10000 : value;
|
|
@@ -44810,8 +44814,10 @@ var Font = function FontClosure() {
|
|
|
return glyphProfile;
|
|
|
}
|
|
|
var glyf = source.subarray(sourceStart, sourceEnd);
|
|
|
- var contoursCount = glyf[0] << 8 | glyf[1];
|
|
|
- if (contoursCount & 0x8000) {
|
|
|
+ var contoursCount = signedInt16(glyf[0], glyf[1]);
|
|
|
+ if (contoursCount < 0) {
|
|
|
+ contoursCount = -1;
|
|
|
+ writeSignedInt16(glyf, 0, contoursCount);
|
|
|
dest.set(glyf, destStart);
|
|
|
glyphProfile.length = glyf.length;
|
|
|
return glyphProfile;
|