coolwanglu / pdf2htmlEX

Convert PDF to HTML without losing text or format.
http://coolwanglu.github.com/pdf2htmlEX/
Other
10.35k stars 1.84k forks source link

optimize text parameter not working #602

Open nagnath006 opened 8 years ago

nagnath006 commented 8 years ago

while giving input --optime-text==3 pdf2htmlEX.EXE not responding.. as u mentioned in the code..

void HTMLTextLine::optimize_aggressive(std::vector<HTMLTextLine*> & lines) {

HTMLLineState original_line_state = line_state;

while(true) 
{
}

// aggressive optimization
if(target > state_iter1->em_size() * (param.space_threshold) - EPS)
    out << ' ';
dx = 0;
lines.push_back(this);

}

but its not working....

coolwanglu commented 8 years ago

can you provide a sample pdf file?