mirror of
https://github.com/pdf2htmlEX/pdf2htmlEX.git
synced 2024-12-22 13:00:08 +00:00
disable drawimage
This commit is contained in:
parent
d876a2319a
commit
bcde37feaf
12
lib/all.css
12
lib/all.css
@ -10,26 +10,26 @@
|
|||||||
/* for Chrome & Safari */
|
/* for Chrome & Safari */
|
||||||
-webkit-text-stroke-width:0.13px;
|
-webkit-text-stroke-width:0.13px;
|
||||||
}
|
}
|
||||||
.p {
|
#pdf-main .p {
|
||||||
position:relative;
|
position:relative;
|
||||||
margin:13px auto;
|
margin:13px auto;
|
||||||
background-color:white;
|
background-color:white;
|
||||||
overflow:hidden;
|
overflow:hidden;
|
||||||
display:none;
|
display:none;
|
||||||
}
|
}
|
||||||
.l {
|
#pdf-main .l {
|
||||||
position:absolute;
|
position:absolute;
|
||||||
white-space:pre;
|
white-space:pre;
|
||||||
}
|
}
|
||||||
._ {
|
#pdf-main ._ {
|
||||||
color:transparent;
|
color:transparent;
|
||||||
}
|
}
|
||||||
::selection{
|
#pdf-main ::selection{
|
||||||
background: rgba(127,255,255,1);
|
background: rgba(127,255,255,1);
|
||||||
}
|
}
|
||||||
::-moz-selection{
|
#pdf-main ::-moz-selection{
|
||||||
background: rgba(127,255,255,1);
|
background: rgba(127,255,255,1);
|
||||||
}
|
}
|
||||||
.i {
|
#pdf-main .i {
|
||||||
position:absolute;
|
position:absolute;
|
||||||
}
|
}
|
||||||
|
@ -20,6 +20,9 @@ using namespace boost::gil;
|
|||||||
|
|
||||||
void HTMLRenderer::drawImage(GfxState * state, Object * ref, Stream * str, int width, int height, GfxImageColorMap * colorMap, GBool interpolate, int *maskColors, GBool inlineImg)
|
void HTMLRenderer::drawImage(GfxState * state, Object * ref, Stream * str, int width, int height, GfxImageColorMap * colorMap, GBool interpolate, int *maskColors, GBool inlineImg)
|
||||||
{
|
{
|
||||||
|
return OutputDev::drawImage(state,ref,str,width,height,colorMap,interpolate,maskColors,inlineImg);
|
||||||
|
|
||||||
|
#if 0
|
||||||
if(maskColors)
|
if(maskColors)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
@ -62,4 +65,5 @@ void HTMLRenderer::drawImage(GfxState * state, Object * ref, Stream * str, int w
|
|||||||
|
|
||||||
|
|
||||||
++ image_count;
|
++ image_count;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user