Code Monkey home page Code Monkey logo

Comments (7)

kjk avatar kjk commented on June 13, 2024 1

It doesn't work in latest mupdf, I opened an issue https://bugs.ghostscript.com/show_bug.cgi?id=707750

from sumatrapdf.

GitHubRulesOK avatar GitHubRulesOK commented on June 13, 2024 1

@user1823
press A bottom right "save as pdf" > deselect incremental and then the cleanup commands should be at the bottom
Save as must be a new name and needs click not enter !!
image

from sumatrapdf.

kjk avatar kjk commented on June 13, 2024

According to mupdf this pdf file is malformed:

Bad or missing prev pointer in outline tree, repairing
format error: Outline last pointer still bad or missing despite repair
Couldn't load outline for 'C:\Users\kjk\Downloads\David.Freedman_.Robert.Pisani_.Roger.Purves.-.Statistics.pdf'

from sumatrapdf.

GitHubRulesOK avatar GitHubRulesOK commented on June 13, 2024

Hmm in such cases I try different tricks to fix but Acrobat Reader and Pdfium Edge will often reshuffle contents but the bookmarks are still the same even though one file is now bigger and one now smaller!

The best of the Lot is MuPDF-GL and again it sees the bookmarks as working yet offers a fix, but I have to fiddle with settings to ensure it alters to include the bookmarks.

Uploading David.Freedman_.Robert.Pisani_.Roger.Purves.-.Statistics - Copya.pdf…

We can see the signature is now Mupdf compatible too (%µ¶)

from sumatrapdf.

user1823 avatar user1823 commented on June 13, 2024

According to mupdf this pdf file is malformed:

But, MuPDF-GL (v1.23.0) displays the bookmarks correctly. So, I think that the issue is in SumatraPDF.

(I am not saying that the PDF doesn't have any issues. But, if MuPDF can display it correctly, SumatraPDF should also do the same.)

The best of the Lot is MuPDF-GL and again it sees the bookmarks as working yet offers a fix, but I have to fiddle with settings to ensure it alters to include the bookmarks.

@GitHubRulesOK, how did you use MuPDF-GL to repair the PDF? I know about mutool clean. Are you talking about that?

from sumatrapdf.

GitHubRulesOK avatar GitHubRulesOK commented on June 13, 2024

@user1823
No MuPDF viewer is also a format editor you can do many things such as draw annotation with or without incremental save or in this case resave with corrected syntax. similar to command line clean but inside a gui. the flag that there is a problem is a very small asterix in title bar but simple "Save as" did not clear the problem and acrobat or tracker did not grumble either as they could also work within any error tolerance!

@kjk FWIW the poor file worked in 1.20 Mu.PDF-GL (last official 32bit) but agreed NOT my compiled 1.25 which also causes me other issues ?

from sumatrapdf.

user1823 avatar user1823 commented on June 13, 2024

resave with corrected syntax. similar to command line clean but inside a gui.

Exactly how? I couldn't find any reference online.

Sorry if I am diverging from the main issue too much.

from sumatrapdf.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.