pdffs

A read-only mirror of https://git.kyotam.com/sigrid. It updates only from there.

NameLast commit messageLast commit date
.gitignorejust put it out6 years ago
array.cpdfeval: cleaner caching layout5 years ago
buffer.cconvert image streams to plan 9 Memimage5 years ago
dict.cpdfeval: cleaner caching layout5 years ago
eval.cpdfeval: cleaner caching layout5 years ago
f_ascii85.cascii85: support z, validate each character, do NOT change the input buffer5 years ago
f_asciihex.cadd TODO to the readme5 years ago
f_ccittfax.cccittfax: use malloc since memmoving directly after5 years ago
f_crypt.cadd TODO to the readme5 years ago
f_dct.cconvert image streams to plan 9 Memimage5 years ago
f_flate.cadd TODO to the readme5 years ago
f_jbig2.cconvert image streams to plan 9 Memimage5 years ago
f_jpx.cconvert image streams to plan 9 Memimage5 years ago
f_lzw.cadd TODO to the readme5 years ago
f_runlength.cRunLengthDecode: forgot to inc5 years ago
filter.ckeep filters in their own files5 years ago
LICENSEadd license6 years ago
main.cpdfeval: cleaner caching layout5 years ago
misc.cSignificantly improved text output5 years ago
mkfilemkfile: add "deps" rule to install 3rd party stuff5 years ago
name.cfix tons of bugs, use proper streaming6 years ago
object.cpdfeval: cleaner caching layout5 years ago
op.cop: recognize more glyph names.5 years ago
pdf.csort out integers and store the top of the document, not just the root5 years ago
pdf.hpdfeval: cleaner caching layout5 years ago
pdf2txtadd pdf2txt rc script5 years ago
pdffs.crename to pdffs6 years ago
pdfpages.rcmerge AGAIN???5 years ago
predict.clzw and flate filters: use common predict logic5 years ago
README.mdtodo: jp2 CMYK5 years ago
stream.cpdfeval: cleaner caching layout5 years ago
string.cfix tons of bugs, use proper streaming6 years ago
xref.cxref: missed a newline on error printing5 years ago
README.md

PDF as a file system

Yeah. WIP.

There is nothing to look at yet. You can build it and run things like ./6.out my.pdf Root Pages Kids 0 Kids 0 Kids 0 Contents . to dump a specific object (text, images, fonts, etc).

Installation

mk deps    # install additional decoders (jbig2, jpeg2000)
mk install

TODO

  • ASCIIHexDecode filter
  • CryptDecode filter
  • does DCTDecode filter need to deal with ColorTransform?
  • do we need predictor 5 ("optimum")?
  • object stream dictionary doesn't support Extends
  • jp2: CMYK color space support needs to be added

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t