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

dont' draw hidden object

This commit is contained in:
Lu Wang 2012-08-08 21:13:29 +08:00
parent d8dc5fbceb
commit 8fd6eb1bd8

View File

@ -241,6 +241,12 @@ void HTMLRenderer::drawString(GfxState * state, GooString * s)
return; return;
} }
//hidden
if(state->getRender() & 3 == 3)
{
return;
}
// see if the line has to be closed due to state change // see if the line has to be closed due to state change
check_state_change(state); check_state_change(state);