Ignore:
Timestamp:
May 25, 2006, 4:09:55 PM (16 years ago)
Author:
Eugene Romanenko
Message:

poppler updated to version 0.5.2, also needed changes to be compatible with new poppler

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/poppler/mypoppler/poppler/GfxState.cc

    r2 r27  
    2222#include "Page.h"
    2323#include "GfxState.h"
     24#include "GfxFont.h"
    2425#include "UGooString.h"
    2526
     
    38503851    delete saved;
    38513852  }
     3853  if (font) {
     3854    font->decRefCnt();
     3855  }
    38523856}
    38533857
     
    38713875    memcpy(lineDash, state->lineDash, lineDashLength * sizeof(double));
    38723876  }
     3877  if (font)
     3878    font->incRefCnt();
     3879
    38733880  saved = NULL;
    38743881}
     
    40384045  }
    40394046  strokePattern = pattern;
     4047}
     4048
     4049void GfxState::setFont(GfxFont *fontA, double fontSizeA) {
     4050  if (font)
     4051    font->decRefCnt();
     4052
     4053  font = fontA;
     4054  fontSize = fontSizeA;
    40404055}
    40414056
Note: See TracChangeset for help on using the changeset viewer.