Bug 692297 - memory leakage in stringwidth operator with some type1 fonts if used with freetype
Summary: memory leakage in stringwidth operator with some type1 fonts if used with fre...
Status: RESOLVED FIXED
Alias: None
Product: Ghostscript
Classification: Unclassified
Component: Font API (show other bugs)
Version: 9.02
Hardware: PC Windows XP
: P4 normal
Assignee: Chris Liddell (chrisl)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-22 16:13 UTC by steve166
Modified: 2011-06-22 19:21 UTC (History)
0 users

See Also:
Customer:
Word Size: ---


Attachments
ps testfile with type1 font calling stringwidth repeatedly (108.08 KB, application/postscript)
2011-06-22 16:13 UTC, steve166
Details

Note You need to log in before you can comment on or make changes to this bug.
Description steve166 2011-06-22 16:13:55 UTC
Created attachment 7605 [details]
ps testfile with type1 font calling stringwidth repeatedly 

Hello,

During testing the fixes for Bug 692172 and 692127 (692290)
i noticed that since Ghostscript 9.02 the  gswin32c process
starts eating up all available memory when converting ps documents with
many pages using the pdfwrite or ps2write device.
I tracked this problem down to the stringwidth operator, when
used with some type1 fonts. This problem does not occur with Ghostcript
Versions <= 9.01 or if the -dDisableFAPI=true switch is used.
Please find attached a simple postcript program using one
of the problematic fonts and then calling repeatedly the
stringwidth operator.

Best regards,

steve166
Comment 1 Chris Liddell (chrisl) 2011-06-22 19:21:49 UTC
Fixed in commit:
3b3261eca08cd73ca355b28fe5125c98d411820d

You can see the diff:

http://ghostscript.com/pipermail/gs-cvs/2011-June/013035.html