Debian Codegraph @

CHANGES

raw
1 List of changes in MuPDF 1.27
2
3 New and updated documentation! Build local HTML and Markdown versions from source with sphinx.
4
5 New (experimental) search API that supports matching results across pages and regular expressions.
6
7 Build system:
8 Optimize thirdparty dependency submodules to reduce size of git clone and release tarballs.
9 Allow conditional compilation for html, xps, svg, extract modules.
10 Visual Studio project added an arm64 configuration.
11 WASM bindings folded back into main git repository.
12 Makefile added new "install-tools" target.
13
14 General:
15 More robust document type recognition.
16 Many new classes and functions to both WASM and mutool run Javascript bindings.
17 Changes to mutool run to bring it into sync with WASM library -- if you stick to ES5 syntax, scripts can run in both environments.
18 Improve dehyphenation behavior in structured text extraction.
19 Several optimizations when encountering JPEG2000 images in PDF files.
20 Fixed many bugs with OCG handling (more improvements to come in a future release).
21
22 HTML and EPUB:
23 Hyphenation!
24 Set HTML lang attribute and CSS style hyphens:auto to enable.
25 CSS non-static positioning:
26 position: absolute and relative
27 inset/top/right/bottom/left
28 HTML tables:
29 colgroup and col
30 rowspan and colspan
31 width, height, valign, and border-collapse
32 Legacy HTML attributes:
33 width, height, valign, align, bgcolor, border, hidden
34 CSS border-style: double, dotted, dashed, outset, inset, ridge, groove
35 CSS tree-structural pseudo-selectors (:root, :empty, :first-child, :nth-child, etc)
36 CSS :link pseudo-class
37 Improved BiDi support with direction:rtl CSS property and dir=rtl HTML attribute
38 Recognize all CSS named colors!
39 Improved fallback font detection.
40 EPUB 3 table of contents.
41
42 PDF Forms & Annotations:
43 Respect AcroForm/NeedAppearances flag -- widgets may look different if this flag is set!
44 Changed Text (aka Note) annotation sizing and positioning to conform better with the PDF reference.
45 Respect NoZoom and NoRotate flags.
46 Fixed bug with some checkboxes not toggling as they should.
47
48 Tools & Programs:
49 mutool:
50 Handle output to stdout more reliably in all tools.
51 mutool run:
52 allow import statements for mupdf and fs modules
53 script compatibility tweaks with node
54 process.argv
55 process.exit
56 mutool clean:
57 vectorize text (turn text objects into paths) with -v flag
58 mutool draw:
59 behavior tweaked to be more consistent across output formats
60 mutool poster:
61 improve behavior when pages have been rotated
62 mutool merge:
63 preserve external (only) links when merging documents
64 mutool extract:
65 extract embedded files and attachments
66 mutool grep:
67 new tool to search for text in documents
68 mupdf-gl:
69 confirm before opening potentially dangerous external links.
70 mupdf-x11:
71 refuse to open potentially dangerous external links.
72
73 API changes:
74 Use fz_quad in fz_warp_pixmap, fz_autowarp_pixmap, and fz_detect_document.
75
76 API news:
77 - special redaction mode PDF_TEXT_REMOVE_INVISIBLE to strip only invisible text.
78 - pdf_check_document (PDFDocument.check in JS and Java) function to scan the file for errors.
79 - pdf_set_page_tree_cache to allow faster first-page loads at the cost of slower loading of all other pages.
80 - fz_stext_page_details -- stext can now represent text from multiple pages.
81
82 List of changes in MuPDF 1.26
83
84 Removed PDF linearization support:
85
86 See https://artifex.com/blog/mupdf-removes-linearisation for
87 more information.
88
89 Object labels:
90
91 Write a comment before numbered objects listing the possible
92 ways it can be reached from the document root.
93
94 Enable with mutool show -L, mutool clean -L, and PDF write
95 option "labels".
96
97 Library functions pdf_load_object_labels and pdf_label_object.
98
99 Brotli compression:
100
101 Experimental feature from latest PDF specification proposal.
102
103 Optional barcode support:
104
105 Build with "make barcode=yes".
106 Uses zxing-cpp (zebra crossing) C++ as a third party dependency.
107 Adds mutool barcode sub-command.
108
109 To detect barcodes in a PDF:
110 mutool barcode -d barcode.pdf
111
112 To create barcode images as PNG file:
113 mutool barcode -c -o barcode.png -F qrcode "Hello, world!"
114
115 Library functions fz_new_barcode_image and
116 fz_decode_barcode_from_pixmap.
117
118 New Structured Text extraction passes:
119
120 Paragraph Breaking: Detect paragraphs from first-line
121 indentation and other heuristics.
122
123 Table Hunt: Scan text and try to assemble it into tables with
124 rows and columns.
125
126 New Structured Text extraction options:
127 - allow reading raw character or glyph index when unicode is not available
128 - collect styles to detect fake bold, underlines, strike-through, etc.
129 - clip-rect to only extract text inside the specified area
130 - accurate-ascenders to measure ascender data from font outline
131 - accurate-side-bearings to measure glyph widths from font outline
132
133 CSV output format (using "Table Hunt" pass on input document).
134
135 Core library additions:
136
137 JSON parser, object model, and printer.
138
139 Activity logger API.
140
141 Support "overlong null" characters in utf-8 (using "\xC0\x80"
142 to represent \x00 in C strings, without being misconstrued as a
143 string terminator).
144
145 Build system changes:
146
147 Cleaned up Makefile cruft and refactored how shared libraries
148 are built.
149
150 Removed bit-rotted sections of the Makefile that have not been
151 maintained and no longer work (primarily iOS and MinGW).
152
153 Don't build example tools muraster and mupdf-x11-curl by
154 default. These examples can be built with "make extra-apps".
155
156 Miscellaneous improvements and new behavior:
157
158 Include more data in structured text XML dumps.
159
160 Ignore junk at the start of a PDF file (such as PJL commands)
161 without needing to perform a full repair pass.
162
163 Support non-latin/greek/cyrillic/CJK languages in annotations
164 and widgets (requires HTML layout engine).
165
166 Use system font callback to look for missing fonts in HTML
167 layout.
168
169 Support CSS text fill and stroke properties:
170 -webkit-text-fill-color
171 -webkit-stroke-color
172 -webkit-stroke-width
173
174 Updated unicode line breaking (UAX 14) and upper/lowercase
175 tables to Unicode 16.0.
176
177 Bug fixes and stability improvements:
178
179 Many improvements to font subsetting.
180
181 Fixed several bugs with undo/redo journal affecting the cache
182 of open pages.
183
184 Improved calculation of font ascender/descender values when
185 presented with bad values from font files or PDF files.
186
187 Improved logic when repairing broken PDF files.
188
189 Improve Type3 font rendering compliance with specification in
190 some edge cases.
191
192 Command line tool additional options:
193
194 mutool poster: new option -m (margin)
195
196 mutool show: new option -r (force repair)
197
198 mutool clean: --structure=keep to keep tagged content when
199 subsetting pages. WARNING: This option will prevent the file
200 from shrinking, because we must still keep all the objects from
201 deleted pages around.
202
203 mutool clean: -t option will always write compact objects
204 mutool clean: -tt option will always pretty-print objects
205
206 Useful new C functions and fields:
207 - fz_stext_char field "color" renamed to "argb" to include alpha channel.
208 - fz_outline_item: new "flags" and r,g,b color fields.
209 - pdf_clip_page to filter page contents.
210 - pdf_add_colorspace to create ICC colorspace object.
211 - fz_load_user_css to load and set user css in one go.
212 - fz_new_bitmap_from_image
213 - fz_new_buffer_from_image_as_pbm
214 - fz_new_buffer_from_pixmap_as_pbm
215 - fz_strverscmp
216 - fz_strcasestr
217 - fz_format_string %> to output a hex encoded string
218 - fz_format_string %q and %Q write surrogate pairs
219
220 Java/JNI and mutool run JavaScript bindings have many new functions and features.
221
222 List of changes in MuPDF 1.25
223
224 New logo!
225
226 Redaction options:
227 - New "don't redact text" option
228 - New "redact line art" option
229
230 Structured Text options:
231 - Use "Tagged PDF" structure information
232 - Detect underlines and strikeouts
233 - Mark automatically inserted spaces
234 - Mark areas where line art (vectors) are present
235 - Use accurate glyph bounding boxes
236 - Ignore ActualText tags
237 - Scan page for 'grid' lines
238 - Segment page into areas (headers, columns, etc)
239
240 Annotation features:
241 - Intent property accessors.
242 - Rich Content styling on FreeText annotations.
243 - Callout arrows on FreeText annotations.
244 - Leader Line and Caption on Line annotations.
245 - Improved handling of Rect and RD.
246
247 Low level FDF format support.
248 - See docs/examples/import-fdf.js for how to use.
249
250 Improved FileSpec handling with new functions.
251
252 Functions for listing document and page Associated Files (AF).
253
254 Functions to create and write XML DOM trees (fz_xml).
255
256 Skew detection and deskew algorithms on pixmaps and PDFOCR device.
257
258 Document area detection in scanned images.
259
260 ZUGFeRD support.
261
262 New tool "mutool audit" to create summary of PDF file composition.
263
264 Noteworthy API changes:
265 - New "wants_file" member for fz_document_handler.
266 - fz_text_item now has an explicit pen "advance" member.
267 - mutool recolor can now be used as a function.
268 - pdf_annot_rect works with the "design" rectangle.
269 - structured text "color" field renamed to "argb" and now includes alpha channel
270
271 Important bug fixes:
272 - More robust font subsetting.
273 - More robust handling of page and annotation objects during
274 undo and redo.
275 - Updated "gray.icc" profile to actual sGray gamma ramp.
276
277 Support for "SmartOffice" commercially licensed plugin to load office
278 documents.
279
280 List of changes in MuPDF 1.24
281
282 Error handling changes:
283
284 You must call pdf_report_error in the final fz_catch. Any
285 unreported errors will be automatically reported when a new
286 error is raised, or when closing the fitz context.
287
288
289 New formats:
290
291 Read Office (XML) files! We internally open and convert
292 docx/pptx/xlsx documents to HTML to allow reading the plain
293 text content. The exact layout will NOT be preserved.
294
295 Optional compile time option to use libarchive for reading CBR
296 and other archive formats.
297
298 Read plain text documents.
299
300 Read gzipped files directly.
301
302 Open and read FDF files to support importing annotations or
303 form data using the low-level PDF functions. There are no tools
304 for this yet.
305
306 Read CFB (Compound File Binary) format archives -- used for the
307 Office formats.
308
309 Write images as JPEG2000.
310
311 New tools and features:
312
313 mutool bake (and associated functions) to bake appearance of
314 annotations and forms into static content.
315
316 Font subsetting flag to mutool clean (EXPERIMENTAL FEATURE).
317
318 Option to use ObjStms when writing PDF files.
319
320 Compression effort option when writing PDF files.
321
322 Add option to control how line art is affected by redaction.
323 Add more options to control how images are affected by
324 redaction (remove-unless-invisible).
325
326 Fix up q/Q gstate balance when cleaning content streams.
327
328 New functions and types:
329
330 pdf_rearrange_pages to subset or re-order pages in a PDF file.
331
332 fz_invert_bitmap to invert monochrome bitmaps.
333
334 fz_compressed_image_type to query the format of a compressed
335 image.
336
337 fz_text_decoder to convert various legacy and CJK encodings
338 into UTF-8.
339
340 More helper functions to easily manipulate PDF objects in C.
341
342 Add flag to control fz_place_story overflow behavior when the
343 text doesn't fit into the box.
344
345 New archive handlers can be added at runtime.
346
347 Major bug fixes and improvements:
348
349 Support using Art, Bleed, Media, and Trim boxes for PDF page
350 size.
351
352 Support ActualText in PDF! No more strange text extraction when
353 the file uses ActualText to patch over bad font encodings.
354
355 Add special TrueType fallback encoding CMap for a specific
356 flavor of broken PDF files that use an "identity" encoding
357 without embedding the font.
358
359 Limited "transfer function" support in PDF. Transfer functions
360 are a deprecated legacy PDF feature that predates proper color
361 management. They were intended to provide limited color
362 management such as applying a gamma curve. Transfer functions
363 have often been (ab)-used to invert images, and many PDF
364 creators use them when writing softmask images. We have added
365 support for this case only.
366
367 Box drawing characters added to fonts for HTML and plain text
368 documents.
369
370 Write more compact PDF files (removed some unneccessary
371 whitespace).
372
373 Improved selection behavior for non-axis aligned text.
374
375 Improved heuristics for detecting the logical and visual order
376 of RTL text in PDF.
377
378 Improved heuristics for inserting missing spaces in PDF text.
379
380 Improved handling of CMYK JPEG files (which ones are inverted
381 and which are not).
382
383 Improved content type detection. Don't assume everything is PDF
384 when we can't recognize it.
385
386 Removed deprecated functions:
387 pdf_check_signature
388
389 List of changes in MuPDF 1.23.0
390
391 New features:
392 New WASM library with same API as mutool run and Java, for both browser and Node environments.
393 Support CropBox, TrimBox, BleedBox, and ArtBox in PDF tools and viewers.
394 PhotoShop PSD image support.
395 mupdf-gl: Custom ICC display profile support.
396 mutool poster: Option to split in RTL direction.
397
398 Miscellaneous improvements and notable bug fixes:
399 EPUB: Fix table cell height calculations.
400 EPUB: Inherit table cell background color from table row.
401 EPUB: Support files with partial encryption (only read unencrypted parts).
402 EPUB: Support files with incorrect directory prefixes.
403 TIFF: Stability improvements.
404 MOBI: Stability improvements.
405 PDF: Support old style border dash patterns.
406 PDF: Support GoToR links to remote PDF documents.
407 PDF: Improve link parsing and creation.
408 ZIP: Improve unicode file name handling.
409 Fall back to unhinted fonts if hints are broken.
410 Recognize document types by sniffing contents (don't need to rely on mimetype or file extension).
411
412 New APIs:
413 More PDF document permission flags.
414 Tweaked exception error logging.
415 pdf_minimize_document to squeeze amount of memory used by an open document.
416
417 Incompatible API changes:
418 pdf_field_name renamed to pdf_load_field_name.
419 mutool run -- changed many methods to match Java and new WASM library.
420
421 New and improved documentation.
422
423 List of changes in MuPDF 1.22.0
424
425 New command line "mutool recolor" to change colorspace of PDF files.
426 New command line "mutool trim" to remove content outside mediabox.
427 New flag to "mutool draw": -KK to remove all non-textual content.
428
429 Support PDF page labels.
430
431 Layout HTML tables with variable column widths.
432
433 Added JPEG output format. JPEG should be used with care due to its
434 lossy nature (if in doubt, use PDF instead).
435
436 Added PDF filter factories.
437 Added PDF color filter.
438 Added "culler" to sanitize filter.
439 Added flags to control embedding fonts in output.
440 New device methods for structured tags.
441 Increased maximum allowed image size.
442 Add magic flag to temporarily hide annotations when editing them.
443
444 Support RD in Square and Circle annotations.
445 Support dashed borders in annotations.
446 Support cloudy borders in annotations.
447 Improved layers in PDF files.
448 Fix performance issue with large PDF files and outlines.
449
450 Updated multi-threading examples.
451
452 Moved WASM project into separate repository.
453
454 Added Java and "mutool run" bindings for many more functions.
455
456 List of changes in MuPDF 1.21.0
457
458 Added MOBI input format support.
459 Added Story API for creating PDF documents from formatted text.
460 Added API to create, edit, and delete links.
461
462 Support custom images for Stamp annotations.
463 Support interior color on Polygon annotations.
464 Support line endings on PolyLine annotations.
465
466 Improved SVG output.
467
468 C++/Python/C# binding:
469 Changes to naming of wrapper functions and classes.
470 Added limited support for callbacks into Python, using SWIG Directors.
471
472 List of changes in MuPDF 1.20.0
473
474 Experimental C# bindings.
475 Cross compilation should no longer need a host compiler.
476 Major additions to JNI bindings.
477
478 New API to edit outline
479 New API to resolve and create links
480 New API to toggle individual layers in PDF
481 Layer panel in mupdf-gl
482 Layer option in mutool draw
483 New API to add a Javascript console
484 Console panel in mupdf-gl
485
486 Text search API extended to be able to distinguish between separate search hits.
487
488 Command line tool improvements:
489 all: Negative page numbers to index from the last page
490 mutool draw: Add option to render document without text
491 mutool draw and convert: Support DPI option in text and HTML output
492
493 New hybrid HTML output format using "scripts/pdftohtml" script:
494 Graphics in a background image
495 Text on top
496
497 Improved WASM viewer demo
498 Support high DPI screens
499 Progressive loading
500
501 Update to zlib 1.2.12 for security fix.
502
503 Too many bug fixes to list.
504
505 List of changes in MuPDF 1.19.0
506
507 Removed support for Luratech JBIG2 and JPEG2000 decoders.
508
509 Added 'extract' library for more output options:
510 Added DOCX output format
511 Added ODT output format
512
513 Notable new features:
514 Journal for undo and redo
515 Snapshot for auto-save and restore (for backgrounding mobile apps)
516 Reflow document wrapper
517 Rollover appearance for annotations and widgets
518 Customize appearance of signed digital signatures
519 Progress and cancel callbacks to OCR functions
520 Create signature form fields
521
522 Minor new features:
523 Support CJK fonts in pdfwrite output
524 Support JBIG2 images in pdfwrite output
525 Support opacity for all markup annotation types
526 High-DPI aware UI in mupdf-gl
527 mutool extract -a option to embed SMasks as alpha channel
528
529 API changes:
530 Removed pdf_widget type alias (was always same as pdf_annot)
531 Updated annotation 'dirty' logic
532 Fix typo in function and type names: designated name -> distinguished name
533 More functions available to 'mutool run'
534 More functions available to Java library
535
536 New unicode scripts and fonts for EPUB:
537 Dogra, Elymaic, Gondi, Hanifi Rohingya, Masaram Gondi,
538 Medefaidrin, Nushu, Nyiakeng Puachue Hmong, Old Sogdian,
539 Sogdian, Soyombo, Wancho, Yezidi, and Zanabazar Square.
540
541 C++ and Python bindings:
542 C++ and Python bindings now work on Windows.
543 Python bindings are available as pre-built binaries on pypi.org.
544 Added demo PDF viewer using the Python MuPDF bindings and PyQt.
545
546 Better access to data in generated wrapper classes.
547 Improved handling of out-parameters in generated Python.
548 Text representation of POD types via C++ operator<< and Python str().
549 Fixed ref-counting bug in iterators.
550 Updates for new MuPDF functions.
551
552 List of changes in MuPDF 1.18.0
553
554 mutool draw: bbox output format.
555 mutool draw: structured text extraction in JSON format.
556 mutool run: StructuredText.walk()
557 mutool run: PDFPage.process() and PDFAnnotation.process()
558
559 mupdf-gl: Added IBM Common User Access shortcuts for copy & paste.
560 mupdf-gl: Improved redaction UI.
561
562 java: Example desktop Java viewer.
563
564 wasm: WebAssembly viewer that runs in a browser.
565
566 api: Dehyphenation option in structured text extraction, to improve
567 searching for words that are hyphenated across lines.
568 api: pdf_new_date, pdf_to_date, pdf_dict_put_date and pdf_dict_get_date.
569 api: Added choice of image redaction algorithms: none, full, partial.
570 api: Optional use of Tesseract to use OCR to extract text.
571
572 svg: Many small parsing fixes.
573 svg: Parse inline CSS style attributes.
574 svg: Text elements (simple text layout only).
575
576 html: Added HTML5 parser.
577
578 pdf: High security redaction -- save redacted PDF as flattened bitmap,
579 guaranteed to not leak any sensitive redacted information.
580
581 Experimental C++ bindings.
582 Experimental Python bindings.
583
584 List of changes in MuPDF 1.17.0
585
586 api: Improved accessors for markup/ink/polygon annotation data.
587 api: Chapter based API for faster EPUB loading.
588 api: Add more documentation to header files.
589 api: Improved digital signature signing and verification.
590 api: Validate changes in a signed PDF file.
591
592 build: Moved windows build to VS2019 solution.
593
594 pdf: Redaction now works on images and links as well as text.
595 pdf: Greek, Cyrillic, Chinese, Japanese, and Korean scripts in forms and annotations.
596 pdf: File attachment annotations.
597 pdf: Use CCITT Fax compression for 1-bit images when creating PDF files.
598
599 epub: More forgiving XHTML parsing.
600 epub: Accelerator files to cache chapter data for faster EPUB loading.
601 epub: Optimized memory use.
602
603 mutool run: Edit Markup, Ink, and Polygon annotation data.
604 mutool run: Fill out form fields.
605 viewer: Ask for confirmation before closing a PDF with unsaved changes.
606 viewer: Embed and extract file attachment annotations.
607
608 library: Miscellaneous bugfixes.
609 library: Fixes to store operation.
610
611 thirdparty: Updated Harfbuzz to 2.6.4.
612 thirdparty: Updated jbig2dec to 0.18.
613 thirdparty: Updated MuJS to 1.0.7.
614 thirdparty: Updated OpenJPEG to 2.3.1.
615 thirdparty: Updated cURL to 7.66.0 (windows only).
616
617 List of changes in MuPDF 1.16.1
618
619 mupdf-x11: Changed key bindings to match mupdf-gl.
620 mupdf-x11: Invert by luminance for dark mode.
621 android: Fix compilation error.
622
623 List of changes in MuPDF 1.16.0
624
625 api: Major overhaul of color management architecture.
626 api: Improved functions to verify/sign PDF documents.
627 api: Number tree accessor function pdf_lookup_number.
628 api: Parse and handle more options for PWG output.
629 api: Removed obsolete gproof document type.
630 api: User callbacks for warning and error messages.
631
632 epub: Changed default page size to A5.
633 epub: Draw embedded SVG documents in EPUB/XHTML.
634 epub: New Noto fonts covering more unicode scripts.
635 epub: Support small-caps font-variant.
636 pdf: Add Redact annotation type and function to apply redactions.
637 pdf: Add/remove/change encryption and password when saving PDF files.
638 pdf: Improvements to text handling in PDF filter processor.
639 pdf: MP and DP operators now call begin/end_layer device methods.
640 pdf: New and improved progressive loading.
641 svg: Draw external images in SVG documents.
642
643 mutool show: Add 'form' selector to list PDF form fields.
644 mutool sign: Sign PDF documents from the command line.
645 mutool sign: Verify signatures in PDF documents from the command line.
646 viewer: Option to save a script of user actions for replay with mutool run.
647 viewer: Runtime toggle for ICC and spot rendering.
648 viewer: Tooltip when hovering over a link in mupdf-gl.
649
650 List of changes in MuPDF 1.15.0
651
652 General improvements:
653 * WebAssembly build target and examples.
654 * Improved forms API in both C and Java bindings.
655 * Improved forms JavaScript support.
656 * Create appearance streams for more form field types.
657 * Fixed many bugs in ICC color management.
658 * Fixed many memory leaks in error cleanup.
659 * Fixed bugs in pdfwrite output.
660 * Improved text extraction from LaTeX documents with math symbols.
661 * Improved trace device formatting.
662 * Support CBZ and CBT files larger than 2Gb.
663 * Show table of contents for FB2 and XHTML documents.
664 * Show embedded raster images in SVG and XHTML documents.
665 * Show FB2 cover page.
666 * Add option to save PDF files without encryption.
667 * Add inhibit-spaces option to stext device to turn off missing space detection.
668 * Simplified fz_try/fz_always/fz_catch macros.
669
670 mupdf-gl improvements:
671 * Automatically open annotation editor when selecting an annotation.
672 * Full page color tinting option in mupdf-gl.
673 * Show/hide table of contents sections.
674 * Trigger a reload with sighup.
675 * Toggle spot color mode with 'e'.
676
677 mutool improvements:
678 mutool show $PDF outline -- show outline with open/closed state indicator.
679 mutool show $PDF js -- show document level javascript.
680 mutool clean -A -- create appearance streams when missing.
681 mutool clean -AA -- recreate all appearance streams.
682 mutool run docs/examples/portfolio.js -- extract embedded files from PDF document.
683 mutool run docs/examples/pdf-dejpx.js -- decompress JPEG2000 images in PDF document.
684 mutool run docs/examples/fix-s22pdf.js -- fix fonts in documents generated by S22PDF.
685
686 Significant API changes:
687 * New and improved forms API.
688 * Renamed -DNO_ICC to -DFZ_ENABLE_ICC=0
689 * Removed fz_annot superclass. Use pdf_annot and pdf_widget directly instead.
690 * Annotations and Widgets now have separate enumerators.
691 * Added optional separations argument to pixmap rendering utility functions.
692
693 Various cleanups:
694 Per-function documentation comments moved to the source file.
695 Hopefully they will stay up to date more often than when they
696 were hidden away in the header file.
697
698 Removed unused internal testing tools: mjsgen and jstest.
699
700 Removed TGA output support. Use one of the more common and useful PAM,
701 PNM, PNG, or TIFF formats instead.
702
703 Removed support for PDF portfolios. This work-in-progress feature was
704 never completed, and only worked for a small subset of files.
705
706 Removed support for progressive loading. This rarely used feature added
707 a lot of complexity and was an unending source of bugs and strange
708 behaviour. Removing this feature has allowed us to clean up and
709 simplify large amounts of code, and fix dozens of bugs in one fell
710 swoop.
711
712 List of changes in MuPDF 1.14.0
713
714 * New features:
715 * Added "Source Han Serif" CJK fallback font.
716 * Added more scripts to the Noto fallback fonts.
717 * Multi-page PNM support.
718 * "mutool show" now supports a path syntax for selecting objects to show.
719
720 * Build system simplifications:
721 * Auto-generated CMap, ICC, and JS source files are checked in to git.
722 * Embedded CMap resources are now generated by a python script.
723 * Embedded font resources are linked directly if using GNU ld or windows.
724 * Namegen tool replaced by use of C macros.
725 * Simplified Makefile.
726
727 * Annotation editing:
728 * New annotation editing mode in mupdf-gl.
729 * Can create, edit, and delete most annotation types.
730 * Can create appearance streams for most annotation types.
731 * Can create appearance streams for Tx form fields.
732 * Can create appearance streams for Ch form fields.
733
734 * Form filling in mupdf-gl:
735 * Can click buttons, checkboxes, and radioboxes.
736 * Can fill out text fields using dialog box.
737 * Can select choice options using dialog box.
738 * Can verify and sign digital signatures.
739
740 * Improved UI for mupdf-gl:
741 * Password dialog.
742 * Error dialog.
743 * Open/save file dialog.
744 * Snap selection to words or lines by holding control or control+shift.
745 * Save and restore current location, bookmarks, and navigation history.
746
747 * Bug fixes:
748 * Improved CJK character fallback handling in EPUB.
749
750 * API changes:
751 * Pass rectangle and matrix structs by value.
752 * Replaced PDF_NAME_Xxx macros with PDF_NAME(Xxx).
753 * Added PDF_TRUE, PDF_FALSE, and PDF_NULL constant pdf_obj* macros.
754 * Added helper functions: pdf_dict_get_int, etc.
755 * Removed 'doc' argument in pdf_new_int, etc.
756 * Quads instead of rects when highlighting and searching text.
757 * mutool run: Pass arguments to script in scriptArgs global.
758
759 List of changes in MuPDF 1.13.0
760
761 * This is primarily a bugfix release.
762
763 * New "mutool sign" tool for showing and verifying digital signatures.
764 * Chinese, Japanese, Korean, Cyrillic, and Greek font support in mutool create.
765 * Improvements to annotation editing API.
766
767 List of changes in MuPDF 1.12.0
768
769 * New Android SDK:
770 New git repositories for the SDK projects:
771 * mupdf-android-fitz.git has the JNI bindings in a library.
772 * mupdf-android-viewer.git has the viewer as an activity in a library.
773 * mupdf-android-viewer-mini.git has the minimalist viewer as an activity in a library.
774 Binary packages in our Maven repository at http://maven.ghostscript.com:
775 * com.artifex.mupdf:fitz:1.12.+
776 * com.artifex.mupdf:viewer:1.12.+
777 * com.artifex.mupdf:mini:1.12.+
778
779 * Color management:
780 * LCMS2 library for color management.
781 * CMYK rendering with overprint simulation.
782 * Spot color rendering.
783 * Transparency rendering fixes.
784
785 * Structured text output improvements:
786 * Reworked structured text API.
787 * Faster text searching.
788 * Highlight and copy text by selecting lines instead of by area.
789 * New semantic XHTML output format.
790 * New layout preserving HTML output format.
791
792 * Features and improvements:
793 * Improved non-AA rendering with new scan converter.
794 * Improved LARGEFILE support.
795 * Improved TIFF support.
796 * Improved documentation.
797 * PCLm output.
798 * PSD output.
799 * New "mutool trace" tool.
800 * New "mutool sign" tool (work in progress).
801 * Text redaction (work in progress).
802
803 * Lots of bug fixes.
804
805 List of changes in MuPDF 1.11
806
807 * This is primarily a bug fix release.
808
809 * Split Android and iOS viewers into separate projects:
810 * mupdf-viewer-ios.git has the iOS viewer.
811 * mupdf-viewer-android-old.git has the Android viewer.
812 * mupdf-viewer-android-nui.git has a new advanced Android viewer.
813 * mupdf-viewer-android-mini.git has a new minimalist Android viewer.
814
815 * PDF portfolio support with command line tool "mutool portfolio".
816 * Add callbacks to load fallback fonts from the system.
817 * Use system fonts in Android to reduce install size.
818 * Flag to disable publisher styles in EPUB layout.
819 * Improved SVG output.
820
821 List of changes in MuPDF 1.10
822
823 * Headline changes:
824 * FictionBook (FB2) e-book support.
825 * Simple SVG parser (a small subset of SVG only).
826 * mutool convert: a new document conversion tool and interface.
827 * Multi-threaded rendering in mudraw.
828 * Luratech decoders for JBIG2 and JPEG2000 (commercial releases only).
829 * Optional JPEG-XR support (not included by default for security reasons).
830 * Updated base 14 fonts from URW.
831 * New CJK font with language specific variants.
832 * Hyperlink support in EPUB.
833
834 * Reduced memory use:
835 * New tool muraster: example printer driver with limited RAM usage and automatic banding.
836 * Alpha channel is now optional in pixmaps.
837 * More aggressive purging of cached objects.
838 * Partial image decoding for lower memory use when banding.
839
840 * Reduced code size when building with a subset of features:
841 * Reduced default set of built-in CMap tables to the minimum required.
842 * FZ_ENABLE_PDF, _XPS, _JS, to disable features at compile time.
843 * Function level linking.
844
845 * Interface changes and cleanups:
846 * Dropped pdf object generation numbers from public interfaces.
847 * Simplified PDF page, xobject, and annotation internals.
848 * Closing and freeing devices and writers are now separate steps.
849 * Improved PDF annotation editing interface (still a work in progress).
850 * Document writer interface.
851 * Banded image writer interface.
852
853 * Mobile viewers:
854 * New JNI interfaces to match capabilities of 'mutool run' javascript.
855 * New android and desktop java examples using new JNI interface.
856
857 List of changes in MuPDF 1.9
858
859 * Headline changes:
860 * New command line tools: create and run.
861 * New low-level Java interface for desktop and android.
862 * Bidirectional layout for Arabic and Hebrew scripts.
863 * Shaping complex scripts for EPUB text layout.
864 * Noto fallback fonts for EPUB layout.
865
866 * mutool create
867 Create new PDF files from scratch.
868 Read an annotated content stream in a text file and write a PDF file,
869 automatically embedding font and image resources.
870
871 * mutool run
872 Run javascript scripts with MuPDF bindings.
873 The interface is similar to the new Java interface.
874
875 * mutool draw
876 Optional multi-threaded operation (Windows and pthreads).
877 Optional low memory mode (primarily for testing).
878
879 List of changes in MuPDF 1.8
880
881 * Headline changes:
882 * New OpenGL-based barebones desktop viewer.
883 * New URW fonts with greek and cyrillic.
884 * 64-bit file support.
885 * Ghostscript proofing mode (source only; not in shipped binaries).
886
887 * EPUB improvements:
888 * User style sheets.
889 * GIF images (also for CBZ).
890 * Table of contents.
891 * CJK text.
892 * Page margins.
893 * Many bug fixes.
894
895 * Bug fixes:
896 * Updated FreeType to version 2.6.1.
897 * Various font substitution bug fixes.
898 * Fix setjmp/longjmp behaviour which could cause optimizing compilers to misbehave.
899
900 List of changes in MuPDF 1.7a
901
902 * Bugfixes
903 * Fixed bug that allocated too much memory when packing paths.
904 * Fixed EPUB font scaling bug.
905 * Fixed EPUB file type handling in viewers.
906 * Improved tolerance for broken and unsupported CSS.
907
908 * Features
909 * Added mudraw -z option to compress output streams.
910
911 List of changes in MuPDF 1.7
912
913 * Headline changes:
914 * New 'Indie dev' licensing options - contact [email protected] for more details.
915 * New HTML layout engine, and (DRM-free) EPUB viewer.
916 * Reduced memory usage - displaylists and internal PDF representation take much less memory, reducing total memory use on some files by over 60%.
917
918 * Important API changes:
919 * Bound contexts have been removed; we now pass fz_contexts explicitly.
920 * Reference counting of paths and text structures.
921
922 * Features:
923 * Add mutool pages option.
924 * Tweaked rendering to prevent feature dropout in common cases.
925 * Viewer tweaks
926 * Better mouse wheel handling
927 * Shift-space support
928 * Mouse button control of presentation mode
929
930 * Internal changes:
931 * Removal of bound contexts; fz_contexts now passed explicitly everywhere.
932 * PDF filter revamp - simpler interface.
933 * Devices use derived structures rather than user pointer.
934 * Sparse PDF xrefs held in more compact form.
935 * New gsview viewer split out to its own repository.
936
937 * Bug fixes
938 * Improved handling of broken files.
939 * Fix BBoxes of Type 3 fonts.
940 * Updated fonts (including greek and cyrillic).
941 * Various memory leaks and crashes.
942 * And many more.
943
944
945 List of changes in MuPDF 1.6
946
947 * Features:
948 * Color detection device (mudraw -T).
949 * Sepia mode full-page color tinting in X11 and win32 viewer (keybinding: shift-C).
950 * Re-implement printf and strtod due to portability issue with locales and number formatting.
951 * Add 'gsview' project: a Windows Modern UI viewer.
952 * Improve XML parser interface.
953 * Bug fixes:
954 * CBZ page ordering
955 * ZIP64 support
956 * iOS and Android bug fixes
957 * Miscellaneous minor fixes
958
959
960 List of changes in MuPDF 1.5
961
962 * Bug fixes.
963
964
965 List of changes in MuPDF 1.4
966
967 * Headline changes:
968 * CMYK rendering (mudraw PWG and PAM formats)
969 * TIFF viewer (with multi-page support).
970 * Added MuJS Javascript interpreter.
971 * MuJS is the default, V8 and JavaScriptCore are compile time options.
972 * Javascript support has to be explicitly enabled with pdf_enable_js.
973 * All viewers now have JavaScript enabled in the default builds.
974 * Viewers:
975 * X11: Horizontal scroll wheel support.
976 * X11: Status bar display with warnings.
977 * Android: Digital signatures.
978 * iOS: Links, form filling, annotation editing, and javascript.
979 * iOS: Reflow mode.
980 * WinRT: Printing.
981 * WinRT: Improved zooming behaviour.
982 * Tools:
983 * mudraw: Banded rendering with -B /band-height/.
984 * mudraw: Select output format with -F /format/.
985 * mudraw: Write to stdout if you use '-' as the output file name.
986 * mudraw: Add TGA output format.
987 * mudraw: Improved SVG output.
988 * mutool show: Write output to file instead of stdout with -o /filename/.
989 * mutool clean: Clean content streams with -s option.
990 * Annotations:
991 * Improved font handling.
992 * Form fields.
993 * Free text.
994 * Sticky notes.
995 * Optimizations:
996 * glyph cache: Partial eviction.
997 * glyph cache: Run-length compressed glyphs.
998 * Smarter handling of subpixel metrics in text rendering.
999 * Optimized blitting functions.
1000 * Optimized gradient mesh drawing.
1001 * API changes and additions:
1002 * fz_stream API reworked: replace "read" function with "next".
1003 * "Rebind" functions to associate context bound objects with another context:
1004 fz_output, fz_stream, fz_device and fz_document.
1005 * Introduce "document handlers" to detect and open different file types.
1006 * Must now call fz_register_document_handlers() to register the defaults.
1007 * May register your own handlers as well to work with fz_open_document.
1008 * Hook to load system fonts: fz_install_load_system_font_funcs.
1009 * PDF xref cache flushing functions (mark/clear/clear-to-mark).
1010 * Add our own "printf" set of functions to format strings and write to fz_output:
1011 * Format %f as short as possible while preserving precision.
1012 * Has %C for formatting a unicode character as UTF-8.
1013 * Has %M to format fz_matrix.
1014 * Has %R to format fz_rect.
1015 * Has %q and %( to format strings with escaped characters.
1016 * PDF process interface: allow PDF interpreter to do more than just draw!
1017 * Content stream state cleaning filter.
1018 * Content stream rewriting filter.
1019 * PDF digital signatures.
1020 * Stroke states may now be stored on the stack.
1021 * Improved fz_path internals.
1022 * Gradient mesh drawing interface has been improved.
1023 * Save files with incremental updates.
1024
1025
1026 List of changes in MuPDF 1.3
1027
1028 * Windows RT viewer app for MuPDF.
1029 * Library changes to support progressive loading (display PDF files as
1030 they download). Windows/Linux/MacOS viewer supports this using curl.
1031 * Incremental updates to PDF files are now (optionally) preserved on
1032 loading/saving.
1033 * Prototype support for checking PDF Digital Signatures.
1034 * Initial annotation support (strike-out, underline, highlight and ink)
1035 (library and android builds only).
1036 * Fix operation on Android API level 8.
1037 * Android redraw optimisations.
1038 * Android app now supports Google Cloud Print.
1039 * Android app translated into many languages.
1040 * Android support for more architectures.
1041 * Improvements to store (avoid collisions causing unnecessary evictions).
1042 * Windows apps use Unicode filenames now.
1043 * PDF function handling improved; functions can now be passed to devices
1044 without 'sampling'.
1045 * PDF image handling improved; images can now be passed to devices
1046 without decompression.
1047 * Indexed images are no longer uncompressed at load time, saving memory.
1048 * Caching of rendered tiles for speed.
1049 * Improved text analysis mode, capable of spotting columns/indents,
1050 right-to-left text etc.
1051 * HTML output mode now includes image output.
1052 * PDF password encoding handling improved.
1053 * MuPDF now opens Jpeg, Tiff and PNG files directly.
1054 * Bug preventing OpenXPS files from being opened fixed.
1055 * Initial (feature incomplete) SVG and PDF output devices.
1056 * PWG raster (mono/grey/RGB) and PCL (mono) output devices.
1057 * Various performance improvements (including tilings and mesh based
1058 shadings).
1059 * Revamped directory structure to reflect recent changes.
1060 * Various potential SEGV, SoftMask and rendering fixes.
1061 * Many potential crashes in Jpeg2000 and JBIG2 images fixed.
1062
1063
1064 List of changes in MuPDF 1.2
1065
1066 * Important API changes:
1067 * fz_bbox is now fz_irect.
1068 * APIs (including fz_device) now pass fz_rect/fz_matrix by reference.
1069 * fz_device API is now more consistent with regards to use of
1070 fz_rect rather than fz_bbox.
1071 * Add support for Javascript and forms handling.
1072 * Fix many SEGVs with out of spec files. Many thanks to Mateusz "j00ru"
1073 Jurczyk and Gynvael Coldwind of the Google Security team, zeniko,
1074 Sebastian Rasmussen and all other contributors.
1075 * Add fz_open_document_with_stream to allow non-file based operation.
1076 * Move to using git submodules for third party libraries.
1077 * Much enhanced Android application. Now on Google Play!
1078 * Oversized and stroke text clipping implemented.
1079 * Change shadings to decompose at render times; massive memory savings.
1080 * Renamed 'mubusy' to 'mutool'.
1081 * PDF 1.7 Extension Level 8 encryption implemented.
1082 * Added consts to various parts of the API to help C++ interworking.
1083 * Prototype transition support.
1084 * Text searching API moved to fitz.
1085 * Highlight and copy text selections.
1086 * Performance enhancements for color conversion and fax decompression.
1087 * ARM optimisations for color conversion and bitmap scaling.
1088 * Bitmap subsampling stage introduced, with ARM optimisations.
1089 * Type 3 fonts; glyphs are now handled as display lists.
1090 * Scan converter performance improvements.
1091 * Various rendering fixes.
1092
1093
1094 List of changes in MuPDF 1.1
1095
1096 * Rendering bugs fixed (text clipping, stroked text etc).
1097 * Better handling of 'large' (uncachable) glyphs.
1098 * Added a delete button to the library view on the iOS port.
1099 * Minor speed optimisations.
1100 * Shading bug fixes.
1101 * Move to using dynamically allocated parsing buffers (more resilient).
1102 * Support for UserUnits.
1103 * Fix bugs with image predictors (including with 16 bit images).
1104 * More resilient to out of spec files.
1105 * Extract pdf writing capability into the library from pdfclean, and
1106 expand on it to allow for linearisation. Bug fixes in the garbage
1107 collection of unused objects.
1108 * Improve pdf writing recognition of images.
1109 * Improved font matching.
1110 * Start to move away from macros to inline functions (helpful for
1111 applications requiring certification).
1112 * Many bugs fixed.