Package: wnpp
Severity: wishlist
Owner: Emfox Zhou <[email protected]>
X-Debbugs-Cc: [email protected]

* Package name    : pdfjs-jbig2
  Version         : 0.0~git<date>
  Upstream Author : Mozilla Foundation
* URL             : https://github.com/mozilla/pdf.js.jbig2
* License         : Apache-2.0 (the code taken from PDFium is BSD-3-clause)
  Programming Lang: C++ (compiled to WebAssembly), JavaScript
  Description     : JBIG2 decoder for pdf.js, compiled to WebAssembly

The JBIG2 decoder pdf.js uses for bitonal images, built from the
corresponding part of PDFium with Emscripten.  As with openjpeg, upstream
also ships a JavaScript fallback built from the same sources.

I need it as a build-dependency of the zotero-reader package I am working
on.  It is not zotero specific: it is a general JBIG2 decoder compiled to
WebAssembly.

Of the four modules, this one needs the most care: only a handful of PDFium
source files are compiled, but they pull in headers from elsewhere in
PDFium, so the minimal set of files to ship has to be determined from the
actual build.

I intend to package the sibling modules (pdf.js.openjpeg, pdf.js.quickjs)
the same way.  pdfjs-qcms is already ITP'd as #1149220.

Thanks,
Emfox

Reply via email to