mirror of
https://github.com/pdf2htmlEX/pdf2htmlEX.git
synced 2024-12-22 04:50:09 +00:00
clipbox fix
This commit is contained in:
parent
26eba18e83
commit
c30bc8a353
@ -154,9 +154,11 @@ void HTMLRenderer::check_state_change(GfxState * state)
|
||||
|
||||
if(all_changed || clip_changed)
|
||||
{
|
||||
//TODO: compare with current clip box
|
||||
double x1, x2, y1, y2;
|
||||
state->getClipBBox(&x1, &y1, &x2, &y2);
|
||||
html_text_page.clip(x1, y1, x2, y2);
|
||||
new_line_state = NLS_NEWLINE;
|
||||
}
|
||||
|
||||
bool need_recheck_position = false;
|
||||
|
Loading…
Reference in New Issue
Block a user