1
0
mirror of https://github.com/pdf2htmlEX/pdf2htmlEX.git synced 2024-12-22 04:50:09 +00:00

tidied up previous changes

This commit is contained in:
Stephen Gaito 2020-05-30 11:21:22 +00:00
parent be1d2079ac
commit e60bd3819e

View File

@ -59,7 +59,6 @@ SplashBackgroundRenderer::SplashBackgroundRenderer(const string & imgFormat, HTM
void SplashBackgroundRenderer::startPage(int pageNum, GfxState *state, XRef *xrefA) void SplashBackgroundRenderer::startPage(int pageNum, GfxState *state, XRef *xrefA)
{ {
SplashOutputDev::startPage(pageNum, state, xrefA); SplashOutputDev::startPage(pageNum, state, xrefA);
// clearModRegion();
} }
void SplashBackgroundRenderer::drawChar(GfxState *state, double x, double y, void SplashBackgroundRenderer::drawChar(GfxState *state, double x, double y,
@ -127,8 +126,7 @@ void SplashBackgroundRenderer::embed_image(int pageno)
{ {
// xmin->xmax is top->bottom // xmin->xmax is top->bottom
int xmin, xmax, ymin, ymax; int xmin, xmax, ymin, ymax;
// getModRegion(&xmin, &ymin, &xmax, &ymax); // poppler-0.84.0 hack to recover from the removal of *ModRegion tracking
// poppler-0.84.0 hack to recover from the removal of ModRegion tracking
// //
auto * bitmap = getBitmap(); auto * bitmap = getBitmap();
xmin = 0; xmin = 0;