Ignore:
Timestamp:
Oct 19, 2008, 4:08:46 PM (13 years ago)
Author:
Eugene Romanenko
Message:

PDF plugin: Poppler library updated to version 0.10.0

File:
1 edited

Legend:

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

    r255 r257  
    6161#include "cpconv.h"
    6262
     63#define WORKAROUND_RGB4
     64
    6365#ifdef __GNUC__
    6466#define __min(a,b)  (((a) < (b)) ? (a) : (b))
     
    101103extern "C" char * EXPENTRY getDescription()
    102104{
    103     return "PDF plugin, based on poppler library v0.8.7";
     105    return "PDF plugin, based on poppler library v0.10.0";
    104106}
    105107
     
    295297        dst = pixbuf_data + i * pixbuf_rowstride;
    296298        src = ((char *)color_ptr) + j * splash_rowstride;
     299       
     300#if !defined( WORKAROUND_RGB4 )
    297301        memcpy( dst, src, rowstride );
    298 
     302#else
    299303        // source 4 Bpp, dest 3 Bpp
    300304        for ( k = 0, l = 0, m = 0; k < width; k++ ) {
     
    304308            m++;
    305309        }
     310#endif
    306311    }
    307312
Note: See TracChangeset for help on using the changeset viewer.