Giter VIP home page Giter VIP logo

pdf-glyph-mapping's People

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

ujjvlh sabit

pdf-glyph-mapping's Issues

Segmentation fault

I am getting segfault at this line while dumping the Tjs. The page number on which this happens (sometimes on 1000+, sometimes on 10000+) is not deterministic, but out of ten times I have tried it, it has happened every single time.

lopdf::content::Content::decode(&content_u8).unwrap()

mutool extract output format not uniform

I get (with mupdf-tools 1.18.0-2, Arch Linux) .jpg output by this command instead of .png. So we need to explicitly specify the format in the command (if it is possible) for doit.sh to work.

Get this working again

I had abandoned this project in favour of https://github.com/shreevatsa/pdf-explorer but that itself seems abandoned so it may be good to resurrect one or both of them.

At minimum, it seems the Cargo.toml here needs to be changed to:

clap = "=3.0.0-beta.2"
clap_derive = "=3.0.0-beta.2"

per here. On top of that, may be good to clarify the API a bit, e.g. remove dependency on mupdf and have clear boundaries / separate binaries: one for just dumping the text content stream, etc?

Tjs-*.map files not generated

On running without making any changes to the code (other than .png being replaced with .jpg in doit.sh), no Tjs-*.map files were generated even after dump-tjs ran successfully.

cargo invocation problem

[vvasuki:~/shreevatsa/pdf-glyph-mapping/work:main]─[08:54:13]─$make
RUST_BACKTRACE=1 cargo +nightly run --release --bin dump-tjs -- /home/vvasuki/Documents/books/granthasangrahaH/purANam/unabridged_full.pdf font-usage/ --phase phase1
error: no such subcommand: `+nightly`
make: *** [Makefile:41: font-usage/] Error 101

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.