I'm a little confused.  I reverted my patch to
/usr/share/ghostscript/9.10/Resource/Init/gs_fonts.ps and then I
installed the proposed package, I think.

[code]
% dpkg -l | grep ghost 
ii  ghostscript                          9.10~dfsg-0ubuntu10.1   amd64          
         interpreter for the PostScript language and for PDF
[/code]

But it still fails.

[code]
adrian> gs out.ps
GPL Ghostscript 9.10 (2013-08-30)
Copyright (C) 2013 Artifex Software, Inc.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Loading NimbusMonL-Bold font from 
/usr/share/fonts/type1/gsfonts/n022004l.pfb... 3892772 2351788 3934520 2576164 
1 done.
Can't find (or can't open) font file 
/usr/share/ghostscript/9.10/Resource/Font/DejaVuSansMono.
Can't find (or can't open) font file DejaVuSansMono.
Querying operating system for font files...
Error: /typecheck in /findfont
Operand stack:
   fontdict   DejaVuSansMono
Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--   
--nostringval--   2   %stopped_push   --nostringval--   --nostringval--   
--nostringval--   false   1   %stopped_push   1916   1   3   %oparray_pop   
1915   1   3   %oparray_pop   1899   1   3   %oparray_pop   1787   1   3   
%oparray_pop   --nostringval--   %errorexec_pop   .runexec2   --nostringval--   
--nostringval--   --nostringval--   2   %stopped_push   --nostringval--   
--nostringval--   1868   2   3   %oparray_pop
Dictionary stack:
   --dict:1171/1684(ro)(G)--   --dict:0/20(G)--   --dict:110/200(L)--
Current allocation mode is local
Current file position is 10735
GPL Ghostscript 9.10: Unrecoverable error, exit code 1
[/code]

When I took a look at gs_fonts.ps it appears that it is still the
version I had before that did not work.  In other words, it does not
appear to have been patched.  I reapplied the patch I used before and
the patch applied, and then ghostscript started working again.  So I'm
not sure what's going on.


** Attachment added: "gspatch"
   
https://bugs.launchpad.net/ubuntu/trusty/+source/ghostscript/+bug/1313223/+attachment/4106797/+files/gspatch

** Tags removed: verification-needed
** Tags added: verification-failed

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to ghostscript in Ubuntu.
https://bugs.launchpad.net/bugs/1313223

Title:
  Error: /typecheck in /findfont

Status in “ghostscript” package in Ubuntu:
  Fix Released
Status in “ghostscript” source package in Trusty:
  Fix Committed

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://bugs.ghostscript.com/show_bug.cgi?id=695031

  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
  ProcVersionSignature: Ubuntu 3.13.0-24.46-generic 3.13.9
  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/MG5300_series
   device for medium: tpu://Canon/MG5300_series
   device for photo: tpu://Canon/MG5300_series
  Papersize: letter
  PpdFiles:
   medium: Canon_PIXMA_MG5300series TurboPrint
   photo: Canon_PIXMA_MG5300series TurboPrint
   fast: Canon_PIXMA_MG5300series TurboPrint
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.13.0-24-generic 
root=UUID=438c04e7-515a-40e7-9d34-abb723b52200 ro quiet splash vt.handoff=7
  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.86A.0076.2010.1115.1959
  dmi.board.asset.tag: To be filled by O.E.M.
  dmi.board.name: DH67CL
  dmi.board.vendor: Intel Corporation
  dmi.board.version: AAG10212-203
  dmi.chassis.type: 3
  dmi.modalias: 
dmi:bvnIntelCorp.:bvrBLH6710H.86A.0076.2010.1115.1959:bd11/15/2010:svn:pn:pvr:rvnIntelCorporation:rnDH67CL:rvrAAG10212-203:cvn:ct3:cvr:

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ghostscript/+bug/1313223/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to