|
|
|
@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') {
@@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') {
|
|
|
|
|
(typeof window !== 'undefined' ? window : this).PDFJS = {}; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
PDFJS.version = '1.0.1183'; |
|
|
|
|
PDFJS.build = 'dc82ace'; |
|
|
|
|
PDFJS.version = '1.0.1185'; |
|
|
|
|
PDFJS.build = 'c69ad58'; |
|
|
|
|
|
|
|
|
|
(function pdfjsWrapper() { |
|
|
|
|
// Use strict in our context only - users might not want it
|
|
|
|
@ -22990,8 +22990,6 @@ var Font = (function FontClosure() {
@@ -22990,8 +22990,6 @@ var Font = (function FontClosure() {
|
|
|
|
|
if (subtype === 'CIDFontType0C' && type !== 'CIDFontType0') { |
|
|
|
|
type = 'CIDFontType0'; |
|
|
|
|
} |
|
|
|
|
// XXX: Temporarily change the type for open type so we trigger a warning.
|
|
|
|
|
// This should be removed when we add support for open type.
|
|
|
|
|
if (subtype === 'OpenType') { |
|
|
|
|
type = 'OpenType'; |
|
|
|
|
} |
|
|
|
@ -24398,7 +24396,8 @@ var Font = (function FontClosure() {
@@ -24398,7 +24396,8 @@ var Font = (function FontClosure() {
|
|
|
|
|
var isTrueType = !tables['CFF ']; |
|
|
|
|
if (!isTrueType) { |
|
|
|
|
// OpenType font
|
|
|
|
|
if (!tables.head || !tables.hhea || !tables.maxp || !tables.post) { |
|
|
|
|
if (header.version === 'OTTO' || |
|
|
|
|
!tables.head || !tables.hhea || !tables.maxp || !tables.post) { |
|
|
|
|
// no major tables: throwing everything at CFFFont
|
|
|
|
|
cffFile = new Stream(tables['CFF '].data); |
|
|
|
|
cff = new CFFFont(cffFile, properties); |
|
|
|
|