On Sun Feb 17 22:33:33 CST 2008, L Peter Deutsch <ghost@major2nd.com> wrote: > * gdevpdtf.h includes an executable statement > gs_private_st_basic(...) at > line 188. This causes a redundant copy of the st_pdf_base_font > data > structure to be included in every .c file that #includes > gdevpdtf.h, of > which there are 12. > > * gdevpdtv.h has no comments it whatsoever. Furthermore, it's > only used in > one .c file (gdevpdtw.c), so its contents probably shouldn't be > in a .h > file at all.
The files gdevpdtv.c, gdevpdtv.h has been generated with encs2c.ps . Alex did this enhancement to encs2c.ps upon my request.
This patch: http://ghostscript.com/pipermail/gs-cvs/2008-April/008207.html resolves the problem. Includes additional commenting from the auto-generator encs2c.ps in an attempt to ensure this does problem not recur.