Who is the renderer for printer (gtk2/linux/arm) used in fpreport ? The printer itself is cupsprinters (found in OSPrinters). But i have not the glue which renderer is used, because the output in cupsprinters is postscript.
Have somebody a hint for the used renderer for me? Or should i file a bug ? With qtprinters it is correct rendered. Andi Andreas Frieà via lazarus wrote: > I have created a report with fpreport (in code) and it works on > Windows (32-bit app) with Rendering to LCLCanvas, PDF and Printer > without problems. > > On a RasPi with rasbian (on Jessy, Wheezy the same) rendering to > LCLCanvas and PDF works, but on printer it shows not the text. > pictures are correct rendered. The text is not rendered or only some > points, except the footerband. It looks in some test like the drawn > text is overwritten. > > I have dived a little into fpreport and found out, it must have to do > with Canvas.Textout in TFPReportExportCanvas.RenderMemo. The > parameters of Canvas.TextOut are imho correct, but not the rendered > result. If i change Canvas.TextOut to Canvas.TextRect (as in > designmode) and use the same parameters, the text is written to the > printer, it looks like something goes wrong on arm-linux with > Canvas.TextOut. >
-- _______________________________________________ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus