1 From 704f3155cca2e1fb5ad071539b7f8b5e5522dd97 Mon Sep 17 00:00:00 2001
2 From: Ionut Biru <ibiru@archlinux.org>
3 Date: Sun, 13 May 2012 23:57:46 +0000
4 Subject: poppler 0.20 changed its api
6 Modification introduced in
7 http://cgit.freedesktop.org/poppler/poppler/commit/?id=c0affb1845c339f89ca67608cb9fd9134ff902f5
9 Signed-off-by: Ionut Biru <ibiru@archlinux.org>
11 diff --git a/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx b/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx
12 index 77e5896..c9ffed3 100644
13 --- a/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx
14 +++ b/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx
15 @@ -407,7 +407,11 @@ int PDFOutDev::parseFont( long long nNewId, GfxFont* gfxFont, GfxState* state )
17 GooString* pFamily = gfxFont->getName();
19 +#if POPPLER_CHECK_VERSION(0, 20, 0)
20 + pFamily = gfxFont->getName();
22 pFamily = gfxFont->getOrigName();
26 aNewFont.familyName.clear();