this->user_clipy1 = 0;
this->user_clipx2 = 0;
this->user_clipy2 = 0;
+ this->current_gfxfont = 0;
this->current_fontinfo = 0;
this->current_text_stroke = 0;
this->current_text_clip = 0;
gfxcolor_t col = getFillColor(state);
if(getLogLevel() >= LOGLEVEL_TRACE) {
- msg("<trace> %sfill %02x%02x%02x%02x%s", evenodd?"eo":"", col.r, col.g, col.b, col.a);
+ msg("<trace> %sfill %02x%02x%02x%02x", evenodd?"eo":"", col.r, col.g, col.b, col.a);
dump_outline(line);
}
device->fill(device, line, &col);
}
if(states[statepos].state!=state) {
msg("<fatal> bad state nesting");
+ if(verbose) {
+ int t;
+ for(t=0;t<=statepos;t++) {
+ printf("%08x ", states[t].state);
+ }
+ printf("\n");
+ }
exit(1);
}
states[statepos].state=0;
this->device = states[statepos].olddevice;
if(!this->device) {
- msg("<fatal> Bad state nesting in transparency group");
- msg("<fatal> Notice: this is a known problem, which will be fixed in 0.9.1");
- msg("<fatal> In the meantime, please convert the file with -s poly2bitmap");
- restoreState(state);
- this->device = states[statepos].olddevice;
+ msg("<error> Invalid state nesting");
}
states[statepos].olddevice = 0;