CHANGES 36 KB

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