head 1.1; access; symbols pkgsrc-2026Q1:1.1.0.4 pkgsrc-2026Q1-base:1.1 pkgsrc-2025Q4:1.1.0.2 pkgsrc-2025Q4-base:1.1; locks; strict; comment @// @; 1.1 date 2025.11.10.13.54.53; author wiz; state Exp; branches; next ; commitid hyzMB6cB0jFgP0iG; desc @@ 1.1 log @print/scribus: import scribus-1.7.0 This is the qt6 version of scribus, previously in scribus-qt5. Scribus is a publishing layout program for X using the QT interface. It can be used to create stationery, small posters and brochures and to layout newsletters and other documents. It can export in Postscript and PDF formats; and the data is saved in XML format. Scribus aims to be similar to Adobe PageMaker and Quark XPress. It can do typical tasks like kerning text and placing and rotating text and images. @ text @$NetBSD$ Fix build with qt 6.9. https://github.com/scribusproject/scribus/commit/f553dce73905d11b301901dc039e973c18adf0a5 --- scribus/util_text.cpp.orig 2025-01-25 21:57:41.000000000 +0000 +++ scribus/util_text.cpp @@@@ -100,10 +100,12 @@@@ QString stringToUnicode(const QString &t QString out; for (auto c : text) - out += QString("U+%1,").arg(c.unicode(), 4, 16, QChar('0')).toUpper(); - - return out.mid(0, out.length() -1); + { + auto u = static_cast(c.unicode()); + out += QString("U+%1,").arg(u, 4, 16, QChar('0')).toUpper(); + } + return out.mid(0, out.length() - 1); } QString unicodeToString(const QString &text) @