After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 121697 - gs-errors while trying to print with many ttf-fonts
gs-errors while trying to print with many ttf-fonts
Status: RESOLVED FIXED
Product: gnome-print
Classification: Deprecated
Component: Postscript backend
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Chema Celorio
Chema Celorio
Depends on:
Blocks:
 
 
Reported: 2003-09-07 19:51 UTC by mpol
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.3/2.4


Attachments
Font with space in the postscript name (32.20 KB, application/octet-stream)
2003-09-07 19:54 UTC, mpol
  Details
postscript output with good font (90.30 KB, application/postscript)
2003-09-07 19:55 UTC, mpol
  Details
postscript file with "wrong" postscript name (take care with viewing) (85.56 KB, application/postscript)
2003-09-07 19:58 UTC, mpol
  Details
Patch made by Frederic Crozat in mandrake's package (8.38 KB, patch)
2003-09-08 13:22 UTC, mpol
none Details | Review

Description mpol 2003-09-07 19:51:05 UTC
When trying to print with a font that has a space in the postscript name,
gnome-print generates a "wrong" ps output.
I'm using Gnome 2.3/2.4 with gnome-print 2.3.1 on Mandrake cooker/9.2rc1

$ ftdump ~/.fonts/stylus.ttf |grep postscript
   postscript: Stylus Regular

In the postscript file, it takes over that space, which makes that
ghostscript interpretates that (Regular) as a new postscript command.
[...]
%%+ font GnomeUni-Stylus Regular
[...]

There is a bugzilla thread at Mandrake, which has more details.
http://qa.mandrakesoft.com/show_bug.cgi?id=3931
I will attach a fontfile (Stylus.ttf), and 2 postscript files, one in which
a correct font is used, and one which uses a font with a space in the
postscript name.
Comment 1 mpol 2003-09-07 19:54:37 UTC
Created attachment 19800 [details]
Font with space in the postscript name
Comment 2 mpol 2003-09-07 19:55:57 UTC
Created attachment 19801 [details]
postscript output with good font
Comment 3 mpol 2003-09-07 19:58:10 UTC
Created attachment 19802 [details]
postscript file with "wrong" postscript name (take care with viewing)
Comment 4 mpol 2003-09-08 13:22:49 UTC
Created attachment 19811 [details] [review]
Patch made by Frederic Crozat in mandrake's package
Comment 5 Andreas J. Guelzow 2003-11-13 13:51:10 UTC
patched in cvs HEAD (post 2.5.0)