Ticket #2338: 2338.patch
| File 2338.patch, 612 bytes (added by , 17 years ago) |
|---|
-
mappdf.c
1303 1303 1304 1304 /*set up font handling*/ 1305 1305 /*set an alias for the font outline file*/ 1306 nFontOutlineLen = strlen(fontPath + 3);1307 fontOutlineAlias = (char *)malloc(sizeof(char)*(nFontOutlineLen ));1306 nFontOutlineLen = strlen(fontPath); 1307 fontOutlineAlias = (char *)malloc(sizeof(char)*(nFontOutlineLen+4)); 1308 1308 sprintf(fontOutlineAlias, "f1=%s",fontPath); 1309 1309 PDF_set_parameter(pdf, "FontOutline", fontOutlineAlias); 1310 1310 free(fontOutlineAlias);
