# The textproc/mupdf,js port

## mupdf-1.27.1-js – graphic library, pdf parser, viewer and utilities

## Description

    MuPDF is a relatively lightweight PDF, XPS, and E-book viewer.

    Support includes PDF 1.7 (with transparency, encryption, hyperlinks,
    annotations, searching and more), epub, xps, cbz, mobi, fb2, various
    image types (including svg, png, jpg, bmp, jpeg, tiff), and has basic
    support for MSOffice XML formats (docx, xlsx, pptx).

    The renderer is tailored for high quality anti-aliased graphics. It
    renders text with metrics and spacing accurate to within fractions of a
    pixel for the highest fidelity in reproducing the look of a printed page
    on screen.

    The mutool command line tool supports multiple arguments, including
    "show" to print and examine objects in a PDF file, "clean" to decompress
    and pretty-print the streams and objects in PDF files and also to
    extract individual pages, "info" to display information about objects,
    "extract" to extract individual objects, "poster" to split a large
    page into many tiles, and "draw" to render documents to image files
    (pbm/pgm/ppm/pam/png/pcl and others).

    Flavours:
    	js - build with JavaScript support (using the MuJS interpreter)

WWW: https://mupdf.com/

Only for arches
  aarch64 aarch64 alpha amd64 amd64 arm arm hppa i386 i386 mips64 mips64 mips64el mips64el powerpc powerpc powerpc64 powerpc64 riscv64 riscv64 sparc64
Categories:
  textproc x11

## Library dependencies

- STEM->=15,<16:lang/gcc/15,-libs
- archivers/brotli
- devel/harfbuzz
- graphics/freeglut
- graphics/jbig2dec
- graphics/jpeg
- graphics/openjp2
- www/gumbo

## Build dependencies

- STEM->=15,<16:lang/gcc/15
- STEM->=15,<16:lang/gcc/15,-c++
- devel/gmake

## Run dependencies

- devel/desktop-file-utils
- devel/xdg-utils