{"id":6370,"date":"2016-11-12T11:36:02","date_gmt":"2016-11-12T11:36:02","guid":{"rendered":"http:\/\/ubuntuhandbook.org\/?p=6370"},"modified":"2016-11-12T11:36:02","modified_gmt":"2016-11-12T11:36:02","slug":"mupdf-1-10-adds-fictionbook-fb2-e-book-support","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2016\/11\/mupdf-1-10-adds-fictionbook-fb2-e-book-support\/","title":{"rendered":"MuPDF 1.10 Adds FictionBook (FB2) e-book Support"},"content":{"rendered":"<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2016\/04\/mupdf-icon1.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2016\/04\/mupdf-icon1.png\" alt=\"MuPDF Ubuntu 16.04\" width=\"245\" height=\"250\" class=\"alignleft size-full wp-image-5810\" \/><\/a><\/p>\n<p>MuPDF, a lightweight PDF, XPS, and E-book viewer, has reached the release candidate for version 1.10.<\/p>\n<p>MuPDF 1.10 features <b>FictionBook (FB2) e-book support<\/b>, <b>simple SVG parser<\/b>, <b>mutool convert<\/b> (a new document conversion tool and interface), <b>multi-threaded rendering in mudraw<\/b>, <b>luratech decoders for JBIG2 and JPEG2000<\/b>, <b>optional JPEG-XR support<\/b> (not included by default for security reasons), <b>updated base 14 fonts from URW<\/b>, <b>new CJK font<\/b> with language specific variants, <b>hyperlink support in EPUB<\/b>.<\/p>\n<p>There are also interface changes and cleanups, code size and memory usage improvements:<\/p>\n<ul>\n<li>New tool muraster: example printer driver with limited RAM usage and automatic banding.<\/li>\n<li>Alpha channel is now optional in pixmaps.<\/li>\n<li>More aggressive purging of cached objects.<\/li>\n<li>Partial image decoding for lower memory use when banding.<\/li>\n<li>Reduced default set of built-in CMap tables to the minimum required.<\/li>\n<li>FZ_ENABLE_PDF, _XPS, _JS, to disable features at compile time.<\/li>\n<li>Function level linking.<\/li>\n<li>Dropped pdf object generation numbers from public interfaces.<\/li>\n<li>Simplified PDF page, xobject, and annotation internals.<\/li>\n<li>Closing and freeing devices and writers are now separate steps.<\/li>\n<li>Improved PDF annotation editing interface (still a work in progress).<\/li>\n<li>Document writer interface.<\/li>\n<li>Banded image writer interface.<\/li>\n<\/ul>\n<h4>Install MuPDF 1.10 RC in Ubuntu:<\/h4>\n<p>Besides building the new release from <a href=\"http:\/\/mupdf.com\/downloads\/\" target=\"_blank\">source<\/a>, there&#8217;s an unofficial PPA available for Ubuntu 16.10, Ubuntu 16.04, Ubuntu 14.04 and derivatives.<\/p>\n<p>Open terminal from the Dash \/ Launcher \/ or via Ctrl+Alt+T shortcut keys, then do following steps to install it:<\/p>\n<p>1. Run command to add the PPA:<\/p>\n<pre style=\"border:None;\">sudo add-apt-repository ppa:ubuntuhandbook1\/apps<\/pre>\n<p>Type in password (no visual feedback) when it asks and hit Enter.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2016\/04\/mupdf-unofficial-ppa.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2016\/04\/mupdf-unofficial-ppa-600x76.jpg\" alt=\"mupdf-unofficial-ppa\" width=\"600\" height=\"76\" class=\"aligncenter size-large wp-image-5811\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2016\/04\/mupdf-unofficial-ppa-600x76.jpg 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2016\/04\/mupdf-unofficial-ppa-450x57.jpg 450w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2016\/04\/mupdf-unofficial-ppa.jpg 737w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p>2. To upgrade from a previous release, launch Software Updater and install updates after checking for updates.<\/p>\n<p>Or run command in terminal to install \/upgrade mupdf:<\/p>\n<pre style=\"border:none;\">sudo apt install mupdf mupdf-tools<\/pre>\n<p>Once installed, right-click on your PDF file and select open with MuPDF PDF Viewer.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2015\/06\/mupdf.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2015\/06\/mupdf-450x229.jpg\" alt=\"mupdf\" width=\"450\" height=\"229\" class=\"aligncenter size-medium wp-image-5038\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2015\/06\/mupdf-450x229.jpg 450w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2015\/06\/mupdf-600x305.jpg 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2015\/06\/mupdf.jpg 865w\" sizes=\"auto, (max-width: 450px) 100vw, 450px\" \/><\/a><\/p>\n<p>You can set MuPDF as the default viewer from PDF file&#8217;s Properties window -> Open With tab.<\/p>\n<h4>Uninstall:<\/h4>\n<p>To restore MuPDF to the stock version available in your Ubuntu&#8217;s main archive, run command in terminal to purge the PPA:<\/p>\n<pre style=\"border:none;\">sudo apt install ppa-purge && sudo ppa-purge ppa:ubuntuhandbook1\/apps<\/pre>","protected":false},"excerpt":{"rendered":"<p>MuPDF, a lightweight PDF, XPS, and E-book viewer, has reached the release candidate for version 1.10. MuPDF 1.10 features FictionBook (FB2) e-book support, simple SVG parser, mutool convert (a new document conversion tool and interface), multi-threaded rendering in mudraw, luratech decoders for JBIG2 and JPEG2000, optional JPEG-XR support (not included by default for security reasons), [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[1264,1265],"class_list":["post-6370","post","type-post","status-publish","format-standard","hentry","category-howtos","tag-mupdf","tag-pdf-viewer"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/6370","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/comments?post=6370"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/6370\/revisions"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=6370"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=6370"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=6370"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}