#define PDFMAX 14400 /* Maximum size of PDF page */
#include "render.h"
-#include "ps.h"
#include "agxbuf.h"
#ifdef HAVE_LIBGD
void epsf_emit_body(ps_image_t *img, FILE *of);
extern void ps_freeusershapes(void);
extern ps_image_t *ps_usershape_to_image(char *shapeimagefile);
+extern char **ps_txt;
static int N_pages, Cur_page;
/* static point Pages; */
#include "gvplugin_render.h"
#include "graph.h"
-#if 0
-/* FIXME - gv_ps_txt collides in multiple ps renderers */
-#include "gv_ps.h"
-#endif
#ifdef HAVE_LIBGD
#include "gd.h"
#endif
extern void cat_libfile(FILE * ofp, char **arglib, char **stdlib);
extern void epsf_define(FILE * of);
extern char *ps_string(char *ins, int latin);
+extern char **ps_txt;
typedef enum { FORMAT_PS, FORMAT_PS2, } format_type;
if (job->common->show_boxes == NULL)
fprintf(job->output_file, "%%%%BoundingBox: (atend)\n");
fprintf(job->output_file, "%%%%EndComments\nsave\n");
-#if 0
-/* FIXME - gv_ps_txt collides in multiple ps renderers */
- cat_libfile(job->output_file, job->common->lib, gv_ps_txt);
-#endif
+ cat_libfile(job->output_file, job->common->lib, ps_txt);
epsf_define(job->output_file);
}
#ifdef FIXME