jwilk-archive / pdf2djvu

PDF to DjVu converter
GNU General Public License v2.0
90 stars 15 forks source link

setting document outline is very slow for long documents #93

Closed jwilk closed 9 years ago

jwilk commented 9 years ago

Issue reported by keinspamhier at Google Code:

What steps will reproduce the problem?

  1. Convert a pdf with several thousand (3000-4000 upwards) pages

What is the expected output?

A converted and saved file.

What do you see instead?

Once pdf2djvu has reached/converted the last page, the cursor keeps blinking forever. The conversion is not being finished.

What version of the product are you using? On what operating system?

0.7.11 on Linux Mint Maya/13 (aka Ubuntu Lucid/12.04)

jwilk commented 9 years ago

Could you check if the --no-outline option helps?

jwilk commented 9 years ago

Ping?

jwilk commented 9 years ago

Comment submitted by keinspamhier at Google Code:

Wheps, sorry my lateness. Yes, it does help - under windows but not under Linux (same result as before).

jwilk commented 9 years ago

Comment submitted by keinspamhier at Google Code:

addendum: I haven't tried it with the big files yet, but with those that gave me the segmentation faults.

jwilk commented 9 years ago

Any news on this?

jwilk commented 9 years ago

Comment submitted by keinspamhier at Google Code:

sorry for not following up - you're right: It seems to work with the no-outline option. However. especially for files with so many pages (encyclopedias in my case), not having an outline is not an option.

jwilk commented 9 years ago

My understanding is that it is djvused that is very slow with setting document outline. I'll see if it's easily fixable, or if I can implement a work-around.

jwilk commented 9 years ago

Issue 54 has been merged into this issue.

jwilk commented 9 years ago

Should be fixed in 336f14a0e7e60aad207b78f69a9aa1c3a5040e07.

jwilk commented 9 years ago

Fixed in 0.7.20.