|
|
@ -21,8 +21,8 @@ if (typeof PDFJS === 'undefined') { |
|
|
|
(typeof window !== 'undefined' ? window : this).PDFJS = {}; |
|
|
|
(typeof window !== 'undefined' ? window : this).PDFJS = {}; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
PDFJS.version = '1.0.179'; |
|
|
|
PDFJS.version = '1.0.182'; |
|
|
|
PDFJS.build = '2acb40f'; |
|
|
|
PDFJS.build = 'a27f51e'; |
|
|
|
|
|
|
|
|
|
|
|
(function pdfjsWrapper() { |
|
|
|
(function pdfjsWrapper() { |
|
|
|
// Use strict in our context only - users might not want it
|
|
|
|
// Use strict in our context only - users might not want it
|
|
|
@ -3241,7 +3241,12 @@ var Annotation = (function AnnotationClosure() { |
|
|
|
|
|
|
|
|
|
|
|
// TODO: implement proper support for annotations with line dash patterns.
|
|
|
|
// TODO: implement proper support for annotations with line dash patterns.
|
|
|
|
var dashArray = borderArray[3]; |
|
|
|
var dashArray = borderArray[3]; |
|
|
|
if (data.borderWidth > 0 && dashArray && isArray(dashArray)) { |
|
|
|
if (data.borderWidth > 0 && dashArray) { |
|
|
|
|
|
|
|
if (!isArray(dashArray)) { |
|
|
|
|
|
|
|
// Ignore the border if dashArray is not actually an array,
|
|
|
|
|
|
|
|
// this is consistent with the behaviour in Adobe Reader.
|
|
|
|
|
|
|
|
data.borderWidth = 0; |
|
|
|
|
|
|
|
} else { |
|
|
|
var dashArrayLength = dashArray.length; |
|
|
|
var dashArrayLength = dashArray.length; |
|
|
|
if (dashArrayLength > 0) { |
|
|
|
if (dashArrayLength > 0) { |
|
|
|
// According to the PDF specification: the elements in a dashArray
|
|
|
|
// According to the PDF specification: the elements in a dashArray
|
|
|
@ -3263,6 +3268,7 @@ var Annotation = (function AnnotationClosure() { |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
this.appearance = getDefaultAppearance(dict); |
|
|
|
this.appearance = getDefaultAppearance(dict); |
|
|
|
data.hasAppearance = !!this.appearance; |
|
|
|
data.hasAppearance = !!this.appearance; |
|
|
|