Changeset 470 for trunk/Lucide/plugins


Ignore:
Timestamp:
Mar 6, 2011, 12:41:38 AM (11 years ago)
Author:
Silvan Scherrer
Message:

poppler, jpeg, freetype lib updates

Location:
trunk/Lucide/plugins
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Lucide/plugins/lujpeg/lujpeg.cpp

    r381 r470  
    5959#include <string.h>
    6060#include <setjmp.h>
     61#include "jversion.h"
    6162
    6263// jpeglib defines boolean as int while SOM defines it as unsigned char,
     
    103104}
    104105
    105 
     106static char version[256];
    106107extern "C" char * EXPENTRY getDescription()
    107108{
    108     return "Jpeg plugin, based on IJG JPEG Library v7";
     109   strcpy(version, "Jpeg plugin, based on IJG JPEG library ");
     110   strcat(version, JVERSION);
     111   return version;
    109112}
    110113
  • trunk/Lucide/plugins/lupoppler/lupoppler.cpp

    r461 r470  
    5959#include <Link.h>
    6060#include <Form.h>
     61#include <config.h>
    6162
    6263#include "lupoppler.xih"
     
    102103}
    103104
     105static char version[256];
    104106extern "C" char * EXPENTRY getDescription()
    105107{
    106     return "PDF plugin, based on poppler library v0.14.2";
     108    strcpy(version, "PDF plugin, based on poppler library ");
     109    strcat(version, VERSION);
     110    return version;
    107111}
    108112
     
    804808    PDFDoc *doc = ((PopplerDocument *)somThis->data)->doc;
    805809
    806     PSOutputDev *out = new PSOutputDev( filename, doc->getXRef(), doc->getCatalog(), NULL,
     810    PSOutputDev *out = new PSOutputDev( filename, doc, doc->getXRef(), doc->getCatalog(), NULL,
    807811                                (first_page <= last_page) ? (first_page + 1) : (last_page + 1),
    808812                                (first_page <= last_page) ? (last_page + 1) : (first_page + 1),
Note: See TracChangeset for help on using the changeset viewer.