#1148912 ITP: zotero-pdfjs-data -- CMap and standard font data files for the Zotero pdf.js fork

#1148912#5
Date:
2026-09-25 02:27:46 UTC
From:
To:
* Package name    : zotero-pdfjs-data
  Version         : 0.0~git20260914
  Upstream Author : Mozilla Foundation, PDFium Authors, Red Hat, Inc.,
                    Google Corporation, Adobe Systems Incorporated
* URL             : https://github.com/zotero/pdf.js
* License         : BSD-3-clause (Adobe bcmaps), Expat (PDFium Foxit fonts),
                    GPL-2+ with Liberation exception (Liberation fonts)
  Programming Lang: data files
  Description     : CMap and standard font data files for the Zotero pdf.js fork

This package ships the two data directories that the Zotero fork of pdf.js
provides for its PDF renderer:

 * bcmaps -- precompiled CMap files for CJK and other multi-byte encodings
 * standard_fonts -- the 14 standard PDF fonts (Foxit .pfb, Liberation .ttf)

Both zotero-reader and zotero-document-worker carry a copy of the same pdf.js
fork and need exactly these files at runtime.  The document-worker does not
even ship them: it asks the host application for them, and the host resolves
the "cmaps/" and "standard_fonts/" prefixes to the reader's asset directory.
Having them once, as an arch:all package, keeps a single copy of the data in
the archive and lets the two components be built and uploaded independently.

The files are taken verbatim from the Zotero fork of pdf.js at commit
3ec7e00205d95c512a8d74fefee5228611416d46.

The standard fonts cannot be replaced by a dependency on fonts-liberation:
these are Liberation 1.07.4 (681 glyphs) while the archive ships 2.1.5
(2620 glyphs), and pdf.js bakes the glyph order of these files into
src/core/liberationsans_widths.js, so a different font file shifts every
glyph index and every glyph width comes out wrong.  The 10 Foxit .pfb files
are not in the archive at all.

Part of the Zotero packaging effort (ITP #1125955).  I intend to maintain
this package within the Debian JavaScript team.

Thanks,
Emfox

#1148912#10
Date:
2026-09-25 11:00:14 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
zotero-pdfjs-data, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1148912@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Emfox Zhou <emfox@debian.org> (supplier of updated zotero-pdfjs-data package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Fri, 25 Sep 2026 10:40:00 +0800
Source: zotero-pdfjs-data
Binary: zotero-pdfjs-data
Architecture: source all
Version: 0.0~git20260914-1
Distribution: unstable
Urgency: medium
Maintainer: Emfox Zhou <emfox@debian.org>
Changed-By: Emfox Zhou <emfox@debian.org>
Description:
 zotero-pdfjs-data - CMap and standard font data files for the Zotero pdf.js fork
Closes: 1148912
Changes:
 zotero-pdfjs-data (0.0~git20260914-1) unstable; urgency=medium
 .
   * Initial release. (Closes: #1148912)
Checksums-Sha1:
 16f2d39340384ee0ff97a6dbb682e61e245df042 1995 zotero-pdfjs-data_0.0~git20260914-1.dsc
 c5aedae3c5655fae272c37d6e44af988de66103e 809756 zotero-pdfjs-data_0.0~git20260914.orig.tar.xz
 99b7505cd621472b98e18a2a68177717c22811ad 12860 zotero-pdfjs-data_0.0~git20260914-1.debian.tar.xz
 275e80bd863ec035682a848d9b193104582b0779 819016 zotero-pdfjs-data_0.0~git20260914-1_all.deb
 5aef8e9690375af5c1301ea08dacc9675fe5a878 5606 zotero-pdfjs-data_0.0~git20260914-1_amd64.buildinfo
Checksums-Sha256:
 71adb60269e757bb3e27e580bb35df4453a98cc4e4964a5098376e1a82e62e3c 1995 zotero-pdfjs-data_0.0~git20260914-1.dsc
 d30235e9307231ec41c0c19b11ddec2f442101c6bbb4cfaf0e45614ca44e5c71 809756 zotero-pdfjs-data_0.0~git20260914.orig.tar.xz
 d61c68640ce14cafef56c0cd2f9e0458cba998567c7d380deb2d4b9dc77eda7e 12860 zotero-pdfjs-data_0.0~git20260914-1.debian.tar.xz
 0cdcfc56884dff4d8be48a2da9655a4e6feb50ed579cf1963bdd30ae2d0ff628 819016 zotero-pdfjs-data_0.0~git20260914-1_all.deb
 4628b7144b4db1aac3865533882a23ecc6489e97e16e4d42fbf433d9427897fc 5606 zotero-pdfjs-data_0.0~git20260914-1_amd64.buildinfo
Files:
 0548254d64d22e8b31031431c0523537 1995 javascript optional zotero-pdfjs-data_0.0~git20260914-1.dsc
 36eba35513170474d094abe2085e6b78 809756 javascript optional zotero-pdfjs-data_0.0~git20260914.orig.tar.xz
 70961b238e26d7a50abb0a1dee31a3b1 12860 javascript optional zotero-pdfjs-data_0.0~git20260914-1.debian.tar.xz
 a4ce38a3ddd542c91b30e7f328e18c7b 819016 javascript optional zotero-pdfjs-data_0.0~git20260914-1_all.deb
 e066ef9ab5e37e52e6a2c283bd742a8c 5606 javascript optional zotero-pdfjs-data_0.0~git20260914-1_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEGSauJtItZVqOiaNpgImbv9t7vZQFAmq1/lgACgkQgImbv9t7
vZTckBAAzQiHmunaXfwrD6LM8qsm+5Q3kFTlyjKOE2baFIYHzD/+aiDOWBaP+Jw7
Nv+RA1VgMjgvDPy48D0KP1XJVpNjJ4bpLLFNSf5vxuU7Nq+W3WOCmSZZhfv3A3t7
NfCgVUFpjkjYAhRotyCZFOI9285lBYWidV75rYVGeRzaQACSOje5uZmY/ubHIWsN
isTDNVDUsG48/8NyYw34orR0/VUNhUN96rWSKmh+HaOXR/74P3fp1pOmcMkWAaJF
XgRObJ0lHbufwrV9mQY4whepiHPsZ8WyyOVZxlC2WuyRu6fgSMCazy9yaXY5YHub
H2mdpuWeogfOanBEvfVNwSGVQ5EH+9TEiCLH5Q/jXMxtZUlYeZYqzLuaarJVWidB
N3jhNQpG7abB8/PRFmKoQ/PcgRZ60crtT266DkXJ2j4SQsNSSTISDyBkqg6ky26t
aBF+cC72hck/fia/oxrco1rvjGi9bs1KZ0RtHKFylYuQSrI4o2GeDOuIetueNhBZ
FGFoN1IBF/DXn+LDH/M3Efm7mpYvLUS2oh1mIhhIRXXe6/6wNpdipYIZn0Uwl4RZ
wOkx+oxTHZraUadzdC8BbmSO4RpFeERwqnbYxLas4dsIx/Gd+Z2bJHbkB51k2VOr
JPWd3zKUS2/9U3BfCMppomtTErh16JE29s+IngQn9jceUlSOzbo=
=DNZA
-----END PGP SIGNATURE-----