search for: pdffp

Displaying 2 results from an estimated 2 matches for "pdffp".

2008 Mar 29
1
A patch for extending pdf device to embed popup text and web links
...NULL; free(dd); ! free(pd->pos); free(pd->pageobj); PDF_free_annots(pd); free(pd); return 0; } *************** *** 6336,6341 **** --- 6368,6374 ---- static void PDF_endpage(PDFDesc *pd) { int here; + int i; if(pd->inText) textoff(pd); fprintf(pd->pdffp, "Q\n"); here = (int) ftell(pd->pdffp); *************** *** 6343,6348 **** --- 6376,6397 ---- pd->pos[++pd->nobjs] = (int) ftell(pd->pdffp); fprintf(pd->pdffp, "%d 0 obj\n%d\nendobj\n", pd->nobjs, here - pd->startstream); + pd-&g...
2010 Mar 06
0
thin grid lines, again (FAQ 7.36), a proposal
...ill commands, "re f", to fill and stroke commands, "re b". I think that this could be patched in devPS.c (untested) by something like devPS.c6945 if(R_VIS(gc->fill)) { PDF_SetFill(gc->fill, dd); PDF_SetLineColor(gc->fill, dd); fprintf(pd->pdffp, "0 0 %.2f %.2f re b\n", 72.0 * pd->width, 72.0 * pd->height); } or if the current behavior is desired under certain circumstances, perhaps an argument, StrokeandFill, could be added to the pdf device (postscript, too, I suppose) so that this behavior could be...