Added paintJpegXObject
This commit is contained in:
parent
d799a18b74
commit
7efd50e64d
2 changed files with 28 additions and 3 deletions
|
@ -53,7 +53,7 @@ PDFJS.getDocument(url).then(function(pdf) {
|
|||
};
|
||||
// the next page fetch will start only after this page rendering is done
|
||||
return page.getOperatorList().then(function (opList) {
|
||||
var svgGfx = new SVGGraphics(page.commonObjs);
|
||||
var svgGfx = new SVGGraphics(page.commonObjs, page.objs);
|
||||
return svgGfx.loadDependencies(opList).then(function (values) {
|
||||
return svgGfx.beginDrawing(renderContext.viewport,
|
||||
renderContext.pageNum, renderContext.container, opList);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue