Added paintJpegXObject

This commit is contained in:
pramodhkp 2014-06-25 01:54:00 +05:30
parent d799a18b74
commit 7efd50e64d
2 changed files with 28 additions and 3 deletions

View file

@ -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);