1
0
mirror of https://github.com/pdf2htmlEX/pdf2htmlEX.git synced 2024-12-22 13:00:08 +00:00

disable drawimage

This commit is contained in:
Lu Wang 2012-08-17 02:09:19 +08:00
parent d876a2319a
commit bcde37feaf
2 changed files with 10 additions and 6 deletions

View File

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

View File

@ -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
} }