Giter Club home page Giter Club logo

pdfread's Introduction

# status

work in progress (though stalled now).  has three tools so far:
- pdf/text, converts a pdf to text (though does not implement character
  encoding/sets, and whitespace is often wrong).
- pdf/walk, a tk program for navigation the structure of a pdf.
- pdf/inflate, rewrites pdf file, reformatting pdf objects and
  decompressing text.

there is no code to render a pdf on a canvas.


# intro

this package contains a library & tools for reading pdf files.  in
the future, perhaps a pdf renderer can be build on top of this code.
there is no documentation since this is a work in progress.  feel
free to fix/improve!


# install

make sure you have $ROOT set, now "mk install" to compile and install
the files.

when building from within inferno, insert SYSHOST=Inferno and ROOT=
in the mk invocations to override the values in the mkconfig.


# download

the latest version can be found at:

	http://www.ueber.net/code/r/pdfread


# licence & author

appl/lib/pdfinflate.b is copyright & subject to the license from vitanuova.

all other files are in the public domain.  this code has been written by
mechiel lukkien, reachable at [email protected] or [email protected].


# todo

doc/syntax.txt has some random blurps on the syntax/structure of
pdf files.  todo.txt has a (probably outdated/inaccurate) list of
things to improve.

- lzw decoding sometimes breaks
- improve the parser appl/lib/pdfread.b, perhaps more proper
  tokenizer, and probably use exceptions for error propagation.
- implement DCTDecode filter.
- pdf/inflate: fix Prev byte offset in trailers
- pdf/inflate: fix remaining bugs.  like fonts that are wrong in the new file.
- pdf/inflate: if compressed data has non-ascii in it, just keep
  the original encoding?  image-specific encodings can probably be
  kept too, no need to make the file size huge with raw bitmaps.

pdfread's People

Contributors

mjl- avatar

Stargazers

 avatar  avatar Sean Hinchee avatar

Watchers

James Cloos avatar  avatar  avatar

Forkers

cephdon mennis

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.