Accepting request 973193 from home:dspinella:branches:LibreOffice:Factory
OBS-URL: https://build.opensuse.org/request/show/973193 OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/libreoffice?expand=0&rev=1016
This commit is contained in:
parent
49fe9c47a1
commit
499a0048b6
@ -77,10 +77,22 @@ Index: libreoffice-7.3.3.1/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx
|
||||
if( it == m_aFontMap.end() )
|
||||
{
|
||||
+#if POPPLER_CHECK_VERSION(22, 04, 0)
|
||||
+ nEmbedSize = parseFont( fontID, gfxFont->get(), state );
|
||||
+ nEmbedSize = parseFont( fontID, gfxFont.get(), state );
|
||||
+#else
|
||||
nEmbedSize = parseFont( fontID, gfxFont, state );
|
||||
+#endif
|
||||
it = m_aFontMap.find( fontID );
|
||||
}
|
||||
|
||||
@@ -806,7 +837,11 @@ void PDFOutDev::updateFont(GfxState *sta
|
||||
|
||||
if (nEmbedSize)
|
||||
{
|
||||
+#if POPPLER_CHECK_VERSION(22, 04, 0)
|
||||
+ writeFontFile(gfxFont.get());
|
||||
+#else
|
||||
writeFontFile(gfxFont);
|
||||
+#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user