summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-10-01 07:49:48 +0100
committerSam James <sam@gentoo.org>2022-10-01 07:52:03 +0100
commitf7d3daf96af5d450b3f983df77129c5aeac3c376 (patch)
treece476223e220d10a089a9bc2ed01a3185bf0e869 /app-text/ghostscript-gpl
parentdev-lang/php: Stabilize 8.1.11 amd64, #873697 (diff)
downloadgentoo-f7d3daf96af5d450b3f983df77129c5aeac3c376.tar.gz
gentoo-f7d3daf96af5d450b3f983df77129c5aeac3c376.tar.bz2
gentoo-f7d3daf96af5d450b3f983df77129c5aeac3c376.zip
app-text/poppler-data: add additional cMaps files needed by ghostscript
Quoting John from the Bug; >Ghostscript's official binary is built with bundled CMaps; on Gentoo, these are unbundled >in favor of those provided by app-text/poppler-data. Ghostscript's CMaps include 3 files >missing from poppler-data: Identity-H, Identity-V, and Identity-UTF16-H (CMap >resources for the special-purpose Adobe Identity-0 ROS), and the lack of these files is causing this issue. > >Fedora and Arch avoid this problem by using GS-bundled CMaps, while Debian >(and older versions of Fedora) relies on CMaps from poppler-data (like Gentoo does) >and includes the missing files in their poppler-data package, installing them to >/usr/share/poppler/cMap. (According to Debian, upstream poppler-data refuses to include them.) > >Two of these files are provided by Adobe Type Tools: >https://github.com/adobe-type-tools/cmap-resources/tree/master/Adobe-Identity-0/CMap > >and the third is from Artifex themselves: >http://git.ghostscript.com/?p=ghostpdl.git;a=blob;f=Resource/CMap/Identity-UTF16-H;hb=HEAD > >You can copy these 3 files to /usr/share/poppler/cMaps for a quick-and-dirty verification that >they resolve the issue; by doing so, I was able to produce a match for gs-fail-good.jpg and >pass the WeasyPrint test suite using ghostscript-gpl-9.56.1 (and 10.0). Including >these files with poppler-data seems like the best approach. (As noted in >Ghostscript's LICENSE file, Identity-UTF16-H is licensed under AGPL-3+.) Bug: https://bugs.gentoo.org/844115 Thanks-to: John Wudrick <prochronism@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-text/ghostscript-gpl')
0 files changed, 0 insertions, 0 deletions