Changeset 278 for trunk/Lucide


Ignore:
Timestamp:
Dec 30, 2009, 7:23:48 PM (12 years ago)
Author:
rbri
Message:

PDF plugin: Poppler library updated to version 0.12.3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Lucide/SOURCE/plugins/lupoppler/lupoppler.cpp

    r271 r278  
    103103extern "C" char * EXPENTRY getDescription()
    104104{
    105     return "PDF plugin, based on poppler library v0.10.5";
     105    return "PDF plugin, based on poppler library v0.12.3";
    106106}
    107107
     
    297297        dst = pixbuf_data + i * pixbuf_rowstride;
    298298        src = ((char *)color_ptr) + j * splash_rowstride;
    299        
     299
    300300#if !defined( CONV_RGB_4TO3 )
    301301        memcpy( dst, src, rowstride );
     
    12581258
    12591259    char *format = (char *)SOMMalloc( 16 );
    1260     snprintf( format, 16, "PDF-%.2f", doc->getPDFVersion() );
     1260    snprintf( format, 16, "PDF-%d.%d", doc->getPDFMajorVersion(), doc->getPDFMinorVersion() );
    12611261    info->format = format;
    12621262    info->fields_mask |= LU_DOCUMENT_INFO_FORMAT;
Note: See TracChangeset for help on using the changeset viewer.