lazreport with gtk2 and gtk2 widgetset could not print Chinese
Original Reporter info from Mantis: liangby
-
Reporter name:
Original Reporter info from Mantis: liangby
- Reporter name:
Description:
test.lrf is designed with lazreport, include english and chinese text. If use gtk2 and gtk2 widgetset, and print the report, is could not print Chinese , only english. But if use qt widgetset, the prinr result is OK.
I traceed lcl/postscriptunicode.pas , lcl/postscriptcanvas.pas and lcl/postscriptprinter.pas, It could not fond the font, so text with chinese is blank.
I attached 3 files:
- test.lrf, included english and chinese text
- qtwidgetset_printed,pdf, the print result with qt widgetset, Chinese is showed
3.gtk(2)_printed.pdf, the print result with gtk or gtk2 widgetset, Chinese is showed as blank
Mantis conversion info:
- Mantis ID: 15161
- Version: 0.9.28.2
- Fixed in version: 1.1 (SVN)
- Fixed in revision: 40667 (#e4fb6907)
- Monitored by: » liangby (liangby)
- Target version: 1.2.0
- LazTarget: 1.2