Files
ports/graphics/openboard/files/patch-src_pdf_XPDFRenderer.cpp
T
Luigi Arone 490927c30b graphics/openboard: New port: Interactive whiteboard
OpenBoard is an open source cross-platform interactive whiteboard
application designed primarily for use in schools. It was originally
forked from Open-Sankore, which was itself based on Uniboard. It
supports digital pens, virtual keyboards, PDF import, web browsing,
video playback, and screen annotations.

WWW: https://www.openboard.org/
https://github.com/OpenBoard-org/OpenBoard/

Patches reported to upstream:
https://github.com/OpenBoard-org/OpenBoard/pull/1489
https://github.com/OpenBoard-org/OpenBoard/pull/1490

PR:		295104
Sponsored by:	UNIS Labs
2026-05-13 03:10:41 +03:00

14 lines
616 B
C++

--- src/pdf/XPDFRenderer.cpp.orig 2026-03-23 11:30:46 UTC
+++ src/pdf/XPDFRenderer.cpp
@@ -178,7 +178,9 @@ QString XPDFRenderer::title() const
#endif
if (title.isString())
{
-#if POPPLER_VERSION_MAJOR > 0 || POPPLER_VERSION_MINOR >= 72
+#if POPPLER_VERSION_MAJOR > 26 || (POPPLER_VERSION_MAJOR == 26 && POPPLER_VERSION_MINOR >= 4)
+ return QString(title.getString().c_str());
+#elif POPPLER_VERSION_MAJOR > 0 || POPPLER_VERSION_MINOR >= 72
return QString(title.getString()->c_str());
#else
return QString(title.getString()->getCString());