[gs-devel] graphics library separation

Ralph Giles ralph.giles at artifex.com
Wed Apr 4 15:42:27 PDT 2007


Hi Tim,

I'm splitting the graphics library and the ps interpreter into separate 
source directories for cleaner integration with the other front ends. 
We've traditionally tried to keep the two separate, with $(PSSRC) and 
$(GLSRC) in int.mak and lib.mak, for example.

Your gsncdemo.c violates that by including both the graphics library 
hooks and a postscript operator definition. Could you split that into
two files (gsncdummy.c might be a better name?) with a separate z*.c 
file with the operator definition?

If you want me to go ahead and do this, let me know.

Also, Henry asked me to make ENABLE_CUSTOM_COLOR_CALLBACK 0 by default. 
I'm not sure if that's because of the ps interpreter dependency, or
because the hooks aren't useful for the other languages. If the former
the ifdef should probably go away entirely. Is there a performance
penalty?

 -r



More information about the gs-devel mailing list