Changeset 251 for trunk/Lucide


Ignore:
Timestamp:
Jun 30, 2008, 6:26:14 PM (13 years ago)
Author:
Eugene Romanenko
Message:

PDF plugin: freetype library updated to version 2.3.5

Location:
trunk/Lucide
Files:
2 edited

Legend:

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

    r250 r251  
    9696extern "C" LuSignatureCheck * EXPENTRY getSignatureCheck()
    9797{
    98         return &lsc;
     98    return &lsc;
    9999}
    100100
     
    295295        dst = pixbuf_data + i * pixbuf_rowstride;
    296296        src = ((char *)color_ptr) + j * splash_rowstride;
    297         //memcpy( dst, src, rowstride );
    298        
     297        memcpy( dst, src, rowstride );
     298
    299299        // source 4 Bpp, dest 3 Bpp
    300300        for ( k = 0, l = 0, m = 0; k < width; k++ ) {
    301                 dst[ l++ ] = src[ m++ ];
    302                 dst[ l++ ] = src[ m++ ];
    303                 dst[ l++ ] = src[ m++ ];
    304                 m++;
     301            dst[ l++ ] = src[ m++ ];
     302            dst[ l++ ] = src[ m++ ];
     303            dst[ l++ ] = src[ m++ ];
     304            m++;
    305305        }
    306306    }
     
    798798    PDFDoc *doc = ((PopplerDocument *)somThis->data)->doc;
    799799
    800     PSOutputDev *out = new PSOutputDev( filename, doc->getXRef(), doc->getCatalog(), "",
     800    PSOutputDev *out = new PSOutputDev( filename, doc->getXRef(), doc->getCatalog(), NULL,
    801801                                (first_page <= last_page) ? (first_page + 1) : (last_page + 1),
    802802                                (first_page <= last_page) ? (last_page + 1) : (first_page + 1),
    803                                         psModePS, (int)width, (int)height,
    804                                         gFalse, 0, 0, 0, 0, gFalse );
     803                                        psModePS, (int)width, (int)height, gFalse );
    805804
    806805    if ( !out->isOk() ) {
     
    13391338}
    13401339
     1340
     1341// TODO: currently unused, must be fixed as bpp and internal bpp is different
    13411342SOM_Scope LuPixbuf*  SOMLINK getThumbnail(LuPopplerDocument *somSelf,
    13421343                                           Environment *ev, long pagenum,
  • trunk/Lucide/changelog

    r250 r251  
    111.XX:
    22  - PDF plugin: Poppler (pdf rendering) library updated to version 0.8.3.
     3  - PDF plugin: freetype library updated to version 2.3.7.
    34
    451.20:
Note: See TracChangeset for help on using the changeset viewer.