Nope using the CSV like if __name__ == "__main__": in the gluon/contrib/pyfpdf/template.py did not fix it. For some reason the rendering through web2py is breaking the display somewhere.
On Thu, Feb 16, 2012 at 10:41 AM, Bruce Wade <bruce.w...@gmail.com> wrote: > web2py.app.fpdf.w2p > > fpdfex application, controller default, action invoice. > > When running python template.py directly the invoice is created as > expected. However when using the invoice action it is incorrect. I think it > is a problem when pulling from the database. I am replacing the database > call with a csv file to see if it corrects the problem. > > > On Thu, Feb 16, 2012 at 10:33 AM, Mariano Reingart <reing...@gmail.com>wrote: > >> What examples? >> >> Mariano Reingart >> http://www.sistemasagiles.com.ar >> http://reingart.blogspot.com >> >> >> >> On Thu, Feb 16, 2012 at 2:42 PM, Bruce Wade <bruce.w...@gmail.com> wrote: >> > When using the examples provided for creating pdf's all whitespace >> between >> > words is removed. >> > >> > IE: Testing Change is rendered as TestingChange >> > >> > Some Address - somewhere - is rendered as SomeAddress-somewhere- >> > >> > Is there a solution to this that someone else has found? >> > >> > -- >> > -- >> > Regards, >> > Bruce Wade >> > http://ca.linkedin.com/in/brucelwade >> > http://www.wadecybertech.com >> > http://www.warplydesigned.com >> > http://www.fitnessfriendsfinder.com >> > > > > -- > -- > Regards, > Bruce Wade > http://ca.linkedin.com/in/brucelwade > http://www.wadecybertech.com > http://www.warplydesigned.com > http://www.fitnessfriendsfinder.com > -- -- Regards, Bruce Wade http://ca.linkedin.com/in/brucelwade http://www.wadecybertech.com http://www.warplydesigned.com http://www.fitnessfriendsfinder.com