Re: [PythonReports-users] Font size issue
Brought to you by:
a1s
From: alexander s. <al...@go...> - 2013-03-14 09:29:47
|
On 14.03.2013 11:03, Werner F. Bruhin wrote: > > I am working on reports again and got quit confused that printing from > the preview results are totally incorrect, e.g. Alignment and font size > on the custom form I am doing. > > It works fine for a report which is A4, but the one I am working on is a > 10 x 15 cm card, so none standard size. That is what I meant in the wxPrint module docstring. I tried to find workarounds, but AFAIR success was partial. Tk-based preview works Ok, but of course it would be weird (if at all possible) to use Tk-based window in wx-based application. Another possibility would be to implement HTML renderer for printouts and use wxHtmlWindow to preview output. > What about making use of "wx.lib.pdfviewer" as an alternative to the wx > print preview? Is it cross-platform yet? Last I knew it was based on ActiveX. Anyhow, it would be welcome addition to the package. Please explore the possibility if you are interested. Best wishes, alex. |