root# dpkg -S gs_fonts.ps
libgs9-common: /usr/share/ghostscript/9.10/Resource/Init/gs_fonts.ps
root# dpkg -l | grep libgs9-common
ii  libgs9-common        9.10~dfsg-0ubun all             interpreter for the 
PostScript language and f
root# dpkg -l | grep libgs9-common
ii  libgs9-common                         9.10~dfsg-0ubuntu10     all           
          interpreter for the PostScript language and for PDF - common files


Looks like that's the problem.  I upgraded ghostscript and it didn't install 
dependencies?  

root# apt-get install libgs9-common
Reading package lists... Done
Building dependency tree       
Reading state information... Done
libgs9-common is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 16 not upgraded.

No change here.  But:

root# apt-get install libgs9-common/trusty-proposed
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Selected version '9.10~dfsg-0ubuntu10.1' (Ubuntu:14.04/trusty-proposed [all]) 
for 'libgs9-common'
The following packages will be upgraded:
  libgs9-common
1 upgraded, 0 newly installed, 0 to remove and 16 not upgraded.
Need to get 2,066 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com/ubuntu/ trusty-proposed/main libgs9-common 
all 9.10~dfsg-0ubuntu10.1 [2,066 kB]
Fetched 2,066 kB in 0s (2,571 kB/s)        
(Reading database ... 361884 files and directories currently installed.)
Preparing to unpack .../libgs9-common_9.10~dfsg-0ubuntu10.1_all.deb ...
Unpacking libgs9-common (9.10~dfsg-0ubuntu10.1) over (9.10~dfsg-0ubuntu10) ...
Setting up libgs9-common (9.10~dfsg-0ubuntu10.1) ...
root# dpkg -l | grep libgs9-common
ii  libgs9-common                         9.10~dfsg-0ubuntu10.1   all           
          interpreter for the PostScript language and for PDF - common files

After this the file is patched and gs finds the font.

-- 
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     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to