Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-04-27 | Fix 696649: remove fz_rethrow_message calls. | Tor Andersson | |
2016-04-26 | Mudraw: Set AA level in context before cloning context. | Robin Watts | |
When we clone the context, we copy the AA levels from the base context into the cloned context. This means that we must set the AA levels in the base context BEFORE cloning if we want them to be the same everywhere (or set them explicitly in all contexts). | |||
2016-04-26 | Allow text/graphics aa levels to be controlled separately. | Robin Watts | |
2016-04-26 | murun: Don't use 'mupdf' object; make constructors and functions global. | Tor Andersson | |
It's a lot of extra typing to prefix everything with "mupdf.". | |||
2016-04-26 | murun: Print result of evaluating a line in interactive mode. | Tor Andersson | |
2016-04-26 | murun: Support 'lineCap' to set start, end and dash caps together. | Tor Andersson | |
2016-04-26 | murun: Automatically convert object argument to obj.writeObject(). | Tor Andersson | |
2016-04-26 | murun: Add wmode and bidi-level arguments to text walker callback. | Tor Andersson | |
2016-04-26 | Change order of arguments to pdf_add_page etc. | Tor Andersson | |
Resources are defined before they are used; so it's only logical to have the resource dictionary before the content buffer in the argument list. | |||
2016-04-26 | pdfmerge: Clean up error messages and fix try/catch variable error. | Tor Andersson | |
2016-04-26 | Add 'mutool convert' and new document writer interface. | Tor Andersson | |
Only supports CBZ writing for now. Also add a zip file writer. | |||
2016-04-22 | pdf: Remember to drop objects inserted into dicts. | Sebastian Rasmussen | |
2016-04-21 | Fix potential segfault when mapping JS strings to PDF. | Tor Andersson | |
2016-04-19 | Add mutool merge | Michael Vrhel | |
This commit adds a page merging tool. The tool demonstrates the use of object grafting. The object grafting function recursively goes through the object to add all referenced objects. A map is maintained to ensure that objects that have already been copied are not copied again. | |||
2016-04-05 | Add 'Low Memory' mode to Mutool draw. | Robin Watts | |
If used, PDF objects are cleared at the end of each page, and the store size is set to 1 byte, avoiding the caching of images. This trades repeated decoding of images/reading of file objects for memory usage. The purpose of this is to enable measurements to be made on the minimum possible memory level. | |||
2016-04-05 | Add threaded operation to mudraw. | Robin Watts | |
2016-04-05 | Clean up bidi enum names. | Tor Andersson | |
And use the same enum for both the internal bidi code and the layout code. | |||
2016-03-31 | Initialize pdf write options to zero in pdfclean. | Tor Andersson | |
2016-03-31 | Initialize disabled document writing flags to zero | Sebastian Rasmussen | |
Also remove redundant assignments. Fixes http://bugs.ghostscript.com/show_bug.cgi?id=695968 | |||
2016-03-25 | Fix PS output banded mode operation. | Robin Watts | |
2016-03-25 | Refactor pcl output to work in bands. | Robin Watts | |
2016-03-25 | Tweak the PCL page size handling/options. | Robin Watts | |
Introduce a 'generic' PCL setting (basically ljet4 with custom page sizes for now). Ensure we send explicit sizes before the custom page sizes, and don't use Ricoh page sizes unless we are allowed to. | |||
2016-03-25 | Add 24 bit RGB PCL output mode. | Robin Watts | |
Output uses adaptive compression mode. | |||
2016-03-23 | js: Create 'argv' global containing arguments passed to mutool run. | Tor Andersson | |
2016-03-23 | js: Add some low level document object access. | Tor Andersson | |
pdf.createObject() will create a new (blank) object and return an indirect reference to it. This wraps pdf_create_object. ref.writeObject(obj) will update the object pointed to. This wraps pdf_update_object. | |||
2016-03-23 | Compile embedded fonts in separate C files. | Tor Andersson | |
Also change unsigned char into const char for embedded data. | |||
2016-03-23 | Mudraw: Enable banded operation for pkm. | Robin Watts | |
All the groundwork was in place for this, I'd just forgotten to actually enable it. | |||
2016-03-22 | Add Google Perf Tools build. | Robin Watts | |
"make build=gperf" will now build and link the google perf tools library into mutool. When mutool is then run, a mutool.prof file is dropped into the current directory that can be analysed. | |||
2016-03-21 | Mudraw: Avoid reopening output files. | Robin Watts | |
It makes a strangely large difference in timings if we close and reopen the output file for every page. Only close and reopen the output file for each page if we really need to. | |||
2016-03-21 | Add .ps output to mutool draw. | Robin Watts | |
Simple PS wrapped images with flate compression. | |||
2016-03-21 | Fix compiler warnings in murun.c and pdf-js.c by tagging rethrow as noreturn. | Tor Andersson | |
2016-03-18 | Add 1bpp cmyk output to mutool draw. | Robin Watts | |
A request for a .pkm file will produce the same as a pamcmyk4 does on ghostscript. Ghostscripts pkmraw device does a 1bpp cmyk and then converts to rgb as writing to ppm, but that seems silly. | |||
2016-03-16 | mutool draw: Add banded mode output for pbm files. | Robin Watts | |
2016-03-15 | mudraw: Fix leak of fz_output in stdout case. | Robin Watts | |
2016-03-15 | Mutool draw: Simplify output handling code. | Robin Watts | |
At the moment we have the output file being opened in several different places, leading to several different places having to cope with the '-' handling. Simplify the code so that files are only opened in 1 place. | |||
2016-03-14 | Remove begin_page and end_page device calls. | Tor Andersson | |
To be moved into a new document writer interface later. | |||
2016-03-14 | mudraw: Print summary information to stderr. | Tor Andersson | |
2016-03-14 | js: Document password and metadata. | Tor Andersson | |
2016-03-14 | js: Add DisplayList and DisplayListDevice. | Tor Andersson | |
2016-03-14 | js: Fix some reference counting errors. | Tor Andersson | |
2016-03-14 | js: Add upcasting to fz_document from pdf_document. | Tor Andersson | |
2016-03-14 | js: More object accessor functions. | Tor Andersson | |
2016-03-14 | js: Add pdf.countPages and pdf.findPage. | Tor Andersson | |
2016-03-14 | js: Add buffer.save() to write contents of buffer to file. | Tor Andersson | |
2016-03-14 | js: Add obj.writeStream and writeRawStream to update stream contents. | Tor Andersson | |
2016-03-14 | js: Add obj.readStream and obj.readRawStream. | Tor Andersson | |
2016-03-14 | js: Add PDFObject.forEach(f) to iterate over dictionaries and arrays. | Tor Andersson | |
2016-03-14 | Take pdf_obj argument to pdf_is_stream. | Tor Andersson | |
2016-03-11 | Implement fz_text_language support functions. | Robin Watts | |
Add code to convert to and from fz_text_language codes from ISO 639 language strings. No validation is carried out. | |||
2016-03-11 | Rejig Bidirectional and Text code. | Robin Watts | |
We move to using bidirectional "levels" throughout. This should give us better behaviour vis-a-vis nested l2r/l2r text. This also allows us to carry xps levels throughout with no loss of information. This also avoids the need to special case numbers. We accordingly carry more information into fz_text. As well as wmode, also hold additional details about the text spans. We now include the directionality of the bidi level text (either as derived from bidi code, or from the original document (e.g. xps)), the directionality of text (as specified in the original document (e.g. html)), and the language of the text (if specified in the original document). |