Giter VIP home page Giter VIP logo

Comments (10)

DanBloomberg avatar DanBloomberg commented on July 17, 2024

I believe the problem is in pdfio2.c, lines 569-570.

        if (!cid)
            return ERROR_INT("cid not made from file", __func__, 1);

Please remove those two tlines and see if the test succeeds.

from leptonica.

swsch avatar swsch commented on July 17, 2024

Removing these lines allows processing of similar files without error, so the patch should be good.

Many thanks for quick response.

from leptonica.

DanBloomberg avatar DanBloomberg commented on July 17, 2024

Excellent. The fix is now in.

from leptonica.

swsch avatar swsch commented on July 17, 2024

Will there be a point release including the patch? If not, I'll suggest adding the patch to the gentoo package, so that 1.83.0 will be working there, too.

from leptonica.

DanBloomberg avatar DanBloomberg commented on July 17, 2024

@stweil

It's a bit of work to make a patch release. I'll follow the advice of the tesseract maintainers, which is why I left this issue open for now.

from leptonica.

stweil avatar stweil commented on July 17, 2024

Are you referring to a patch release 1.83.1? As the latest code is already prepared for 1.84.0, a patch release would need a branch 1.83 (I can add that if you want) and a list of patches which should be added.

Which commits after 1.83.0 should be included in the patch release, too? I'd suggest these commits:

Are there others?

from leptonica.

DanBloomberg avatar DanBloomberg commented on July 17, 2024

That's a nice offer, Stefan.

I can also do it without a branch, modifying 1.84.0 --> 1.83.1 and including all existing commits.
Then wait a few days before changing 1.83.1 --> 1.84.0.

from leptonica.

DanBloomberg avatar DanBloomberg commented on July 17, 2024

But on second thought, it might be easier for you. Those two commits are the only important ones.

from leptonica.

stweil avatar stweil commented on July 17, 2024

See pull request #660 which adds the required changes for 1.83.1 to the new branch 1.83.

from leptonica.

DanBloomberg avatar DanBloomberg commented on July 17, 2024

Much thanks, Stefan. Except for a patch on 1.81, this is the only patch that has been required for 5 years, since 1.75.

Closing this issue.

from leptonica.

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.