Displaying 1 result from an estimated 1 matches for "pageobj".
2008 Mar 29
1
A patch for extending pdf device to embed popup text and web links
...MBCS
static double PDF_StrWidthUTF8(const char *str,
const pGEcontext gc,
***************
*** 5315,5320 ****
--- 5335,5348 ----
}
pd->pagemax = 100;
+ pd->annots = (char **) calloc(100, sizeof(char *));
+ if(!pd->annots) {
+ free(pd->pos); free(pd->pageobj); free(pd); free(dd);
+ error(_("cannot allocate pd->annots"));
+ }
+ pd->annotsmax = 100;
+ pd->annotspos = 0;
+
/* initialize PDF device description */
strcpy(pd->filename, file);
***************
*** 5328,5334 ****
if(strlen(encoding) > PA...