Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
None
-
5.10.1
-
None
Description
Hi!
I'm trying to generate a pdf file with QPrinter and QPainter. I create a QPainterPath, and I call the painter.fillPath(path, brush) function. It creates the pdf file successfully, and when i open it in Google Chrome, it looks perfect, but when I open the file in Acrobat Reader, there is an extra diagonal line. The problem occurs only when I set the brush style to Qt::SolidPattern and set a color to it. When I use the brush with the Qt::TexturePattern style, the extra line disappears even in Acrobat Reader. Is there any solution for this?
Thanks!