[gs-devel] Performances and NOBIND parameter

Patrick Magon pmagon at gmail.com
Wed Feb 27 05:52:01 PST 2008


Hello,

I'm using ghostscript to convert postscript files to pdf. As we have a lot
of documents
to convert every days, I'm trying to improve the performances by tuning some
parameters.
I have found that adding the "-dNOGC" and "-c 3000000 setvmthreshold"
parameters, I can win a couple of ms. by document.

I also found that using the "-dNOBIND" parameter I can dramatically improve
the performances (200ms instead of 400ms !!).

My problem is that I don't really know what can be the impact of this option
on the produced pdf (so far, I don't see any).
I tested with gs version 7.07: the NOBIND parameter doesn't improve much.
With version 8.15: very big gain. Unfortunately
with version 8.61 (last) I'm not able to produce the pdf file: I get the
following error:

GPL Ghostscript 8.61 (2007-11-21)
Copyright (C) 2007 Artifex Software, Inc.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Loading NimbusSanL-Regu font from /home/pmg/fonts/n019003l.pfb... Error:
/undefined in /findfont
Operand stack:
   (GPL Ghostscript)   basefontdict   Helvetica
Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--
--nostringval--   2   %stopped_push   --nostringval--   --nostringval--
--nostringval--   false   1   %stopped_push   1904   1   3   %oparray_pop
1903   1   3   %oparray_pop   1887   1   3   %oparray_pop   1771   1   3
%oparray_pop   --nostringval--   %errorexec_pop   .runexec2
--nostringval--   --nostringval--   --nostringval--   2   %stopped_push
--nostringval--   --nostringval--   1863   3   5   %oparray_pop
Dictionary stack:
   --dict:1155/1684(ro)(G)--   --dict:0/20(G)--   --dict:70/200(L)--
--dict:98/500(L)--   --dict:3/12(L)--
Current allocation mode is local
GPL Ghostscript 8.61: Unrecoverable error, exit code 1


No problem without the NOBIND option. I am really not a postscript
specialist... :( the loaded font exist.

My questions:
What can be the impact of using the NOBIND option on the generated pdf file
?
Why this option doesn't works with the latest version of ghostscript ? What
could I do about that ?
Do you have another solution to improve conversion time ?


Thank you for your help !

Patrick

PS: sorry for bad english
PS2: I didn't find any user mailing list or forum (only dev ?)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ghostscript.com/pipermail/gs-devel/attachments/20080227/ed2273f5/attachment.htm


More information about the gs-devel mailing list