A line after line 10112 in bool QCustomPlot::savePDF(const QString &fileName, bool noCosmeticPen, int width, int height)
could therefore be added, what do you think?
printer.setFullPage(true);
printer.setColorMode(QPrinter::Color);
QRect oldViewport = viewport();
(line of question bold)
It solves the problem for me.
Great Software by the way
Greetings
Wolfgang