Changeset 255 for trunk


Ignore:
Timestamp:
Sep 2, 2008, 10:06:03 AM (13 years ago)
Author:
Eugene Romanenko
Message:

PDF plugin: Poppler library updated to version 0.8.7

Location:
trunk
Files:
4 edited

Legend:

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

    r254 r255  
    101101extern "C" char * EXPENTRY getDescription()
    102102{
    103     return "PDF plugin, based on poppler library v0.8.6";
     103    return "PDF plugin, based on poppler library v0.8.7";
    104104}
    105105
  • trunk/Lucide/changelog

    r254 r255  
    111.XX:
    2   - PDF plugin: Poppler (pdf rendering) library updated to version 0.8.6.
     2  - PDF plugin: Poppler (pdf rendering) library updated to version 0.8.7.
    33  - PDF plugin: freetype library updated to version 2.3.7.
    44
  • trunk/poppler/mypoppler/poppler/Annot.cc

    r254 r255  
    17111711    Annot(xrefA, dict, catalog, obj) {
    17121712  type = typeWidget;
     1713  widget = NULL;
    17131714  initialize(xrefA, catalog, dict);
    17141715  widget = NULL;
  • trunk/poppler/mypoppler/poppler/CairoOutputDev.cc

    r253 r255  
    123123  if (group)
    124124    cairo_pattern_destroy (group);
     125  if (mask)
     126    cairo_pattern_destroy (mask);
    125127  if (shape)
    126128    cairo_pattern_destroy (shape);
     
    819821void CairoOutputDev::setSoftMask(GfxState * state, double * bbox, GBool alpha,
    820822                                 Function * transferFunc, GfxColor * backdropColor) {
     823  cairo_pattern_destroy(mask);
     824
    821825  if (alpha == false) {
    822826    /* We need to mask according to the luminocity of the group.
     
    855859    cairo_set_source(maskCtx, group);
    856860    cairo_paint(maskCtx);
     861
     862    /* XXX status = cairo_status(maskCtx); */
     863    cairo_destroy(maskCtx);
    857864
    858865    /* convert to a luminocity map */
     
    885892
    886893    cairo_surface_destroy(source);
    887     cairo_surface_destroy(pats);
    888894  } else {
    889     cairo_pattern_reference(group);
    890     mask = group;
     895    mask = cairo_pattern_reference(group);
    891896  }
    892897
Note: See TracChangeset for help on using the changeset viewer.