[gs-bugs] [Bug 690931] consider not passing large generated C files to compiler to save memory

bugs.ghostscript.com-bugzilla-daemon at ghostscript.com bugs.ghostscript.com-bugzilla-daemon at ghostscript.com
Wed Nov 18 16:19:28 PST 2009


http://bugs.ghostscript.com/show_bug.cgi?id=690931





------- Additional Comments From ralph.giles at artifex.com  2009-11-18 16:19 -------
This is font data required for display of documents which don't embed their own
fonts. The normal build process converts the binary font data to C code and
compiles that into the executable. Something similar is done with the CMap files.

If there's a portable way to ask the linker to embed the binary data directly in
the executable, that might work around the problem. I'm not aware of one.

On a system like maemo where software is always installed by a package manager,
it's reasonable to store associated resources in the filesystem and mmap() them
instead. I don't know if Tor would take a patch to optionally do that. Currently
we compile everything together for convenience.



------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.


More information about the gs-bugs mailing list