diff --git a/qt5/src/ArthurOutputDev.cc b/qt5/src/ArthurOutputDev.cc index 7f1fe9d2..67485a2e 100644 --- a/qt5/src/ArthurOutputDev.cc +++ b/qt5/src/ArthurOutputDev.cc @@ -836,6 +836,11 @@ void ArthurOutputDev::drawChar(GfxState *state, double x, double y, return; } + // Don't do anything for type3 fonts -- they are not yet supported + if (state->getFont()->getType() == fontType3) { + return; + } + if (!(render & 1)) { quint32 glyphIndex = (m_codeToGID) ? m_codeToGID[code] : code; diff --git a/qt5/src/ArthurOutputDev.h b/qt5/src/ArthurOutputDev.h index 701a883a..0e68ac99 100644 --- a/qt5/src/ArthurOutputDev.h +++ b/qt5/src/ArthurOutputDev.h @@ -91,7 +91,7 @@ public: // Does this device use beginType3Char/endType3Char? Otherwise, // text in Type 3 fonts will be drawn with drawChar/drawString. - GBool interpretType3Chars() override { return gTrue; } + GBool interpretType3Chars() override { return gFalse; } //----- initialization and control