[gs-bugs] [Bug 692632] New: clist logic wastes BufferSpace when doing transparency.

bugzilla-daemon at ghostscript.com bugzilla-daemon at ghostscript.com
Thu Oct 27 03:37:57 UTC 2011


           Summary: clist logic wastes BufferSpace when doing
           Product: Ghostscript
           Version: master
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P4
         Component: Graphics Library
        AssignedTo: ray.johnston at artifex.com
        ReportedBy: ray.johnston at artifex.com
         QAContact: gs-bugs at ghostscript.com

The band_height calculation divides up the BufferSpace into n bands, but when
the page has transparency, the band_height is reduced to try and keep the
pdf14 transparency buffers within the BufferSpace, but since the buffers are
not allocated from the printer device's 'base' memory (BufferSpace size), the
space in the base memory past the reduced band_height is just wasted.

Probably we should free and re-allocate the BufferSpace to the size needed for
the reduced band_height during rendering, then free and reallocate the original
size again after rendering the page. At least this would keep to total RAM
needed closer to what was intended with the BufferSpace parameter and the
pdf14 clist implementation.

This could be a critical issue in an embedded implementation.

Configure bugmail: http://bugs.ghostscript.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the gs-bugs mailing list