}
int charcounter = 0;
+int ciderror = 0;
void SWFOutputDev::drawChar(GfxState *state, double x, double y,
double dx, double dy,
double originX, double originY,
GfxFont*font = state->getFont();
Gfx8BitFont*font8;
if(font->isCIDFont()) {
- logf("<error> CID Font");
+ if(!ciderror)
+ logf("<error> Not drawing CID Font characters!");
+ ciderror++;
return;
}
if(font->getType() == fontType3) {
}
}
else {
- showFontError(gfxFont,0);
- fontname = substituteFont(gfxFont, fontname);
+ int newt1id = searchT1Font(fontname);
+ if(newt1id<0) {
+ showFontError(gfxFont,0);
+ fontname = substituteFont(gfxFont, fontname);
+ } else
+ this->t1id = newt1id;
}
} else {
if(fontname) {