Error: /typecheck in /findfont
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ghostscript (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Trusty |
Fix Released
|
High
|
Unassigned |
Bug Description
When searching for fonts ghostscript issues the error "Error: /typecheck in /findfont:" and aborts.
This appears to be a bug in ghostscript having to do with .woff files.
http://
I applied the patch given above and it fixed the problem.
[Impact]
Ghostscript gets unusable when fonts which are incompatible with Ghostscript are installed. This makes printing not working for nearly all printers and displaying PostScript files gets impossible.
[Test Case]
Install a package with .woff fonts:
sudo apt-get install fonts-font-awesome
Then try to print or display PostScript files, or call Ghostscript directly:
gs file.pdf
Current Ghostscript will error and your printing or file display will not work. The proposed patch will make Ghostscript immune against the .woff fonts so that everything will work again.
[Regression Potential]
It is a small and simple patch to make Ghostscript ignore incompatible fonts. Every non-.woff font will work as before and the ,woff fonts get ignored but also are not needed by Ghostscript.
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: ghostscript 9.10~dfsg-0ubuntu10
ProcVersionSign
Uname: Linux 3.13.0-24-generic x86_64
ApportVersion: 2.14.1-0ubuntu3
Architecture: amd64
CupsErrorLog:
Date: Sat Apr 26 20:25:23 2014
InstallationDate: Installed on 2014-04-19 (7 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
Lpstat:
device for fast: tpu://Canon/
device for medium: tpu://Canon/
device for photo: tpu://Canon/
Papersize: letter
PpdFiles:
medium: Canon_PIXMA_
photo: Canon_PIXMA_
fast: Canon_PIXMA_
ProcKernelCmdLine: BOOT_IMAGE=
SourcePackage: ghostscript
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 11/15/2010
dmi.bios.vendor: Intel Corp.
dmi.bios.version: BLH6710H.
dmi.board.
dmi.board.name: DH67CL
dmi.board.vendor: Intel Corporation
dmi.board.version: AAG10212-203
dmi.chassis.type: 3
dmi.modalias: dmi:bvnIntelCor
Changed in ghostscript (Ubuntu): | |
status: | New → In Progress |
This bug was fixed in the package ghostscript - 9.10~dfsg-0ubuntu11
--------------- 0ubuntu11) utopic; urgency=low
ghostscript (9.10~dfsg-
* debian/ patches/ 020140428- f4584b0- skip-unsupporte d-font- files.patch:
When Ghostscript is scanning through available font files let it skip
the ones which it does not understand. Before Ghostscript got totally
blocked by having one broken or incompatible font installed
(LP: #1313223, Upstream bug #695031).
-- Till Kamppeter <email address hidden> Mon, 28 Apr 2014 17:28:33 +0200