PDF.js: Difference between revisions

96 bytes added ,  25 June 2011
Line 129: Line 129:
Somewhat pervasive mode switch in text-drawing code.  Is it just a matter of transform hackery to put glyphs in the right place, or do we need canvas support?  Canvas support might be a big project.
Somewhat pervasive mode switch in text-drawing code.  Is it just a matter of transform hackery to put glyphs in the right place, or do we need canvas support?  Canvas support might be a big project.


=== Utils ===
=== Testing ===


To run tests
To run tests
* Read [https://github.com/andreasgal/pdf.js/commit/f7aa14977849488616ed3d3890198b75034bba94 this]
* Have a look at [https://github.com/andreasgal/pdf.js/tree/master/test this directory]
* Do what it says
* Then,
* Then,
  pdf.js$ python test.py
  pdf.js/test$ python test.py --help
 
That script will spin up one or more browsers, and a little web server to serve up test cases.
 
=== Utils ===


To uncompress a PDF
To uncompress a PDF
546

edits