diff options
author | Eric Hameleers <alien@slackware.com> | 2019-10-19 12:40:04 +0200 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2019-10-19 12:40:04 +0200 |
commit | da8bd0830301dae2ea93d359855e1928a2ba8c46 (patch) | |
tree | 16210ebc590146eb29d538267a9c1895e8938f5d /kde/patch/calligra/calligra3_poppler-0.72.patch | |
parent | 4fa63ebd172b1dbf542ce3e364b4241368a9cf3f (diff) | |
download | ktown-da8bd0830301dae2ea93d359855e1928a2ba8c46.tar.gz ktown-da8bd0830301dae2ea93d359855e1928a2ba8c46.tar.xz |
KDE applications-extra: rebuilt calligra and calligraplan
Calligra needed a rebuild against the new icu4c and calligraplan would
no longer start and needed a recompile against qt5 and kcalendarcore.
Diffstat (limited to 'kde/patch/calligra/calligra3_poppler-0.72.patch')
-rw-r--r-- | kde/patch/calligra/calligra3_poppler-0.72.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/kde/patch/calligra/calligra3_poppler-0.72.patch b/kde/patch/calligra/calligra3_poppler-0.72.patch new file mode 100644 index 0000000..2cab98f --- /dev/null +++ b/kde/patch/calligra/calligra3_poppler-0.72.patch @@ -0,0 +1,29 @@ +diff --git a/filters/karbon/pdf/SvgOutputDev.cpp b/filters/karbon/pdf/SvgOutputDev.cpp +index 80f01a5f76f..ea69228dbc1 100644 +--- a/filters/karbon/pdf/SvgOutputDev.cpp ++++ b/filters/karbon/pdf/SvgOutputDev.cpp +@@ -407,7 +407,7 @@ void SvgOutputDev::drawString(GfxState * state, const GooString * s) + + QString str; + +- const char * p = s->getCString(); ++ const char * p = s->c_str(); + int len = s->getLength(); + CharCode code; + Unicode *u = nullptr; +@@ -459,11 +459,11 @@ void SvgOutputDev::drawString(GfxState * state, const GooString * s) + *d->body << " y=\"" << y << "px\""; + + if (font && font->getFamily()) { +- *d->body << " font-family=\"" << QString::fromLatin1(font->getFamily()->getCString()) << "\""; +- //debugPdf << "font family:" << QString::fromLatin1( font->getFamily()->getCString() ); ++ *d->body << " font-family=\"" << QString::fromLatin1(font->getFamily()->c_str()) << "\""; ++ //debugPdf << "font family:" << QString::fromLatin1( font->getFamily()->c_str() ); + } else if (font && font->getName()) { +- *d->body << " font-family=\"" << QString::fromLatin1(font->getName()->getCString()) << "\""; +- //debugPdf << "font name:" << QString::fromLatin1( font->getName()->getCString() ); ++ *d->body << " font-family=\"" << QString::fromLatin1(font->getName()->c_str()) << "\""; ++ //debugPdf << "font name:" << QString::fromLatin1( font->getName()->c_str() ); + } + *d->body << " font-size=\"" << qMax(state->getFontSize(), state->getTransformedFontSize()) << "px\""; + |