summaryrefslogtreecommitdiff
path: root/poppler
diff options
context:
space:
mode:
authorJeff Muizelaar <jeff@infidigm.net>2006-05-27 17:27:37 +0000
committerJeff Muizelaar <jeff@infidigm.net>2006-05-27 17:27:37 +0000
commit84861800dad3649d4757d5c5539b9e86e2b2c644 (patch)
treed007d3a8f487816c27cb9b72d50117447d09a1ba /poppler
parent6f5a89a0a2cf17d45d1c31ce105829be8c7ac456 (diff)
2006-05-27 Jeff Muizelaar <jeff@infidigm.net>
* poppler/CairoOutputDev.cc: * poppler/CairoOutputDev.h: Back out the rest of krh's type3 font work. This fixes type3 fonts in CairoOutputDevice.
Diffstat (limited to 'poppler')
-rw-r--r--poppler/CairoOutputDev.cc3
-rw-r--r--poppler/CairoOutputDev.h2
2 files changed, 4 insertions, 1 deletions
diff --git a/poppler/CairoOutputDev.cc b/poppler/CairoOutputDev.cc
index 4b1c2841..8348fb16 100644
--- a/poppler/CairoOutputDev.cc
+++ b/poppler/CairoOutputDev.cc
@@ -258,6 +258,9 @@ void CairoOutputDev::updateFont(GfxState *state) {
needFontUpdate = gFalse;
+ if (state->getFont()->getType() == fontType3)
+ return;
+
currentFont = fontEngine->getFont (state->getFont(), xref);
state->getFontTransMat(&m11, &m12, &m21, &m22);
diff --git a/poppler/CairoOutputDev.h b/poppler/CairoOutputDev.h
index e3100630..7300fc49 100644
--- a/poppler/CairoOutputDev.h
+++ b/poppler/CairoOutputDev.h
@@ -52,7 +52,7 @@ public:
// Does this device use beginType3Char/endType3Char? Otherwise,
// text in Type 3 fonts will be drawn with drawChar/drawString.
- virtual GBool interpretType3Chars() { return gFalse; }
+ virtual GBool interpretType3Chars() { return gTrue; }
//----- initialization and control