[web2py] pyfpdf rendering bug

2012-02-16 Thread Bruce Wade
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


Re: [web2py] pyfpdf rendering bug

2012-02-16 Thread Mariano Reingart
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


Re: [web2py] pyfpdf rendering bug

2012-02-16 Thread Bruce Wade
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.comwrote:

 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


Re: [web2py] pyfpdf rendering bug

2012-02-16 Thread Bruce Wade
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.comwrote:

 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


Re: [web2py] pyfpdf rendering bug

2012-02-16 Thread Mariano Reingart
Strange, are you using unicode?

Mariano Reingart
http://www.sistemasagiles.com.ar
http://reingart.blogspot.com



On Thu, Feb 16, 2012 at 3:45 PM, Bruce Wade bruce.w...@gmail.com wrote:
 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


Re: [web2py] pyfpdf rendering bug

2012-02-16 Thread Bruce Wade
I am using the sample text that came with the example. For some reason it
just removes the spaces between words looks like there may be a issue when
rendering dest='S'

On Thu, Feb 16, 2012 at 11:03 AM, Mariano Reingart reing...@gmail.comwrote:

 Strange, are you using unicode?

 Mariano Reingart
 http://www.sistemasagiles.com.ar
 http://reingart.blogspot.com



 On Thu, Feb 16, 2012 at 3:45 PM, Bruce Wade bruce.w...@gmail.com wrote:
  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




-- 
-- 
Regards,
Bruce Wade
http://ca.linkedin.com/in/brucelwade
http://www.wadecybertech.com
http://www.warplydesigned.com
http://www.fitnessfriendsfinder.com