mirror of
https://github.com/pdf2htmlEX/pdf2htmlEX.git
synced 2024-12-22 13:00:08 +00:00
fix build for g++ 4.4.6
This commit is contained in:
parent
a82996eeb7
commit
daece48bd7
@ -29,10 +29,15 @@ void HTMLTextPage::dump_text(ostream & out)
|
||||
if(param.optimize_text)
|
||||
optimize();
|
||||
|
||||
//push a dummy entry for convenience
|
||||
clips.emplace_back(HTMLClipState{0, 0, page_width, page_height}, text_lines.size());
|
||||
HTMLClipState page_box;
|
||||
page_box.xmin = page_box.ymin = 0;
|
||||
page_box.xmax = page_width;
|
||||
page_box.ymax = page_height;
|
||||
|
||||
Clip cur_clip(HTMLClipState{0, 0, page_width, page_height}, 0);
|
||||
//push a dummy entry for convenience
|
||||
clips.emplace_back(page_box, text_lines.size());
|
||||
|
||||
Clip cur_clip(page_box, 0);
|
||||
bool has_clip = false;
|
||||
|
||||
auto text_line_iter = text_lines.begin();
|
||||
|
Loading…
Reference in New Issue
Block a user