Workaround for missing 'Rect' entry in annotation dictionaries (issue 4537)
This commit is contained in:
parent
7d5bf83ce8
commit
772df5e0cb
@ -80,7 +80,7 @@ var Annotation = (function AnnotationClosure() {
|
|||||||
var data = this.data = {};
|
var data = this.data = {};
|
||||||
|
|
||||||
data.subtype = dict.get('Subtype').name;
|
data.subtype = dict.get('Subtype').name;
|
||||||
var rect = dict.get('Rect');
|
var rect = dict.get('Rect') || [0, 0, 0, 0];
|
||||||
data.rect = Util.normalizeRect(rect);
|
data.rect = Util.normalizeRect(rect);
|
||||||
data.annotationFlags = dict.get('F');
|
data.annotationFlags = dict.get('F');
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user