gs can't render some fonts. Example was created with 10.04

Bug #1042111 reported by ReimarBauer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
evince (Ubuntu)
Fix Released
Undecided
Unassigned
Precise
Invalid
Undecided
Unassigned
ghostscript (Ubuntu)
Fix Released
Undecided
Unassigned
Precise
Won't Fix
Medium
Unassigned

Bug Description

~/gs_bug$ gs example.ps
GPL Ghostscript 9.05 (2012-02-08)
Copyright (C) 2010 Artifex Software, Inc. All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Loading NimbusSanL-Regu font from /usr/share/fonts/type1/gsfonts/n019003l.pfb... 3570464 2174523 4095864 2794995 3 done.
GPL Ghostscript 9.05: Error: Font Renderer Plugin ( FreeType ) return code = -1
Error: /rangecheck in --.FAPIBuildChar--
Operand stack:
   --nostringval-- --nostringval-- --dict:17/19(ro)(L)-- 57
Execution stack:
   %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1910 1 3 %oparray_pop 1909 1 3 %oparray_pop 1893 1 3 %oparray_pop 1787 1 3 %oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- %finish_show --nostringval-- --nostringval-- 8 4 2 --nostringval-- (gs_show_enum) %op_show_continue
Dictionary stack:
   --dict:1160/1684(ro)(G)-- --dict:0/20(G)-- --dict:78/200(L)-- --dict:23/40(L)--
Current allocation mode is local
Current file position is 17648
GPL Ghostscript 9.05: Unrecoverable error, exit code 1

# I think the problem happens because of a freetype problem
# also evince, gv can't display this file
# We have tons of these scientific output files created in 10.04

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: ghostscript 9.05~dfsg-0ubuntu4.1
ProcVersionSignature: Ubuntu 3.2.0-29.46-generic 3.2.24
Uname: Linux 3.2.0-29-generic x86_64
ApportVersion: 2.0.1-0ubuntu12
Architecture: amd64
Date: Mon Aug 27 10:14:30 2012
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
Lpstat:
 device for MX700-series: usb://Canon/MX700%20series?serial=12707F&interface=1
 device for MX700-series-FAX: usb://Canon/MX700%20series%20FAX?serial=12707F&interface=3
MachineType: LENOVO 3323DBG
Papersize: a4
PpdFiles:
 MX700-series: Canon PIXMA MX700 - CUPS+Gutenprint v5.2.8-pre1
 MX700-series-FAX: Canon PIXMA MX700 - CUPS+Gutenprint v5.2.8-pre1
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.2.0-29-generic root=UUID=8a48bae5-46f2-4f8e-8354-7ffb351edacf ro quiet splash vt.handoff=7
SourcePackage: ghostscript
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 09/15/2010
dmi.bios.vendor: LENOVO
dmi.bios.version: 6QET53WW (1.23 )
dmi.board.name: 3323DBG
dmi.board.vendor: LENOVO
dmi.board.version: Not Available
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Not Available
dmi.modalias: dmi:bvnLENOVO:bvr6QET53WW(1.23):bd09/15/2010:svnLENOVO:pn3323DBG:pvrThinkPadX201:rvnLENOVO:rn3323DBG:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
dmi.product.name: 3323DBG
dmi.product.version: ThinkPad X201
dmi.sys.vendor: LENOVO

Revision history for this message
ReimarBauer (reimarbauer) wrote :
Revision history for this message
ReimarBauer (reimarbauer) wrote :
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Reimar, the fix you are linking to is from 2011, so it must be already there in 9.05. The reason why 9.06 solves your problem must be another one.

Revision history for this message
ReimarBauer (reimarbauer) wrote :

Hmm, ok, it sounded too similiar.

Another workaround was to user ps2ps with the example file
ps2ps example.ps fix.ps
evince fix.ps

It can be shown with evince but also I get many lines of
GPL Ghostscript 9.05: Error: Font Renderer Plugin ( FreeType ) return code = -1

with gs fix.ps works without error message

Revision history for this message
Felix Möller (felix-derklecks) wrote :

I can view the file with gs but not with evince on Quantal...

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

For me the file displays correctly in evince and gs on Quantal and fails in both evince and gs in Precise.

Marking as fixed in Quantal. I can ask the Ghostscript developers whether the change which solves this is a simple patch and if so, isuue an SRU for Precise.

Changed in evince (Ubuntu):
status: New → Fix Released
Changed in ghostscript (Ubuntu):
status: New → Fix Released
Revision history for this message
cliddell (cjl) wrote :

It seems that the fix for this was:

http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=8031fd57

For me (using git cherry-pick) the patch applies cleanly to the 9.05 sources.

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Chris, thank you very much.

Changed in evince (Ubuntu Precise):
status: New → Invalid
Changed in ghostscript (Ubuntu Precise):
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
Steve Langasek (vorlon) wrote :

The Precise Pangolin has reached end of life, so this bug will not be fixed for that release

Changed in ghostscript (Ubuntu Precise):
status: Triaged → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.