]> git.pld-linux.org Git - packages/libreoffice.git/blob - libreoffice-poppler.patch
- rel 3; poppler build fix
[packages/libreoffice.git] / libreoffice-poppler.patch
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
5
6 Modification introduced in
7 http://cgit.freedesktop.org/poppler/poppler/commit/?id=c0affb1845c339f89ca67608cb9fd9134ff902f5
8
9 Signed-off-by: Ionut Biru <ibiru@archlinux.org>
10 ---
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 )
16  
17      GooString* pFamily = gfxFont->getName();
18      if( ! pFamily )
19 +#if POPPLER_CHECK_VERSION(0, 20, 0)
20 +        pFamily = gfxFont->getName();
21 +#else
22          pFamily = gfxFont->getOrigName();
23 +#endif
24      if( pFamily )
25      {
26          aNewFont.familyName.clear();
27 --
28 cgit v0.9.0.2-2-gbebe
This page took 0.030311 seconds and 4 git commands to generate.