QPrinter fail in save pdf with japanese characters
-
Hi! Just tested it with Qt 5.7.1, and it works as expected. With what Qt version doesn't it work for you?
-
Hi
Thank you for your fast reply. I recently moved to new 5.8 and started to see the problem...
@Suppaman Okay. I don't have 5.8 at hand right now, but I will test it tomorrow.
-
-
@Wieland As already said you don't need to develop a specific software for make this test, the standard Qt "Text Editor" example show same problem as described. My platform is Windows 10, I'll try to test in different platform in the meanwhile.
-
Tested also on Windows 7 (the Qt "text edit" example) and same problem. The strange thing is if I remove the
Printer.setOutputFormat(QPrinter::PdfFormat);
line, that's mean paint on the printer, it work as expected and japanese characters are printed correctly.
-
Tested also on Windows 7 (the Qt "text edit" example) and same problem. The strange thing is if I remove the
Printer.setOutputFormat(QPrinter::PdfFormat);
line, that's mean paint on the printer, it work as expected and japanese characters are printed correctly.
-
Seem someother alredy report this bug: https://bugreports.qt.io/browse/QTBUG-58692
-
On Windows 7, it fails for me, too.