scott1028 / pyfpdf

Automatically exported from code.google.com/p/pyfpdf
GNU Lesser General Public License v3.0
0 stars 0 forks source link

'(' doesn't work #1

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When i want to write the character '(' or ')' with Cell or MultiCell, pyfpdf 
shows '\(' instead 

Original issue reported on code.google.com by gabrielp...@gmail.com on 31 Aug 2010 at 8:58

GoogleCodeExporter commented 9 years ago
I wrote a patch that solve the issue for me.

Original comment by gabrielp...@gmail.com on 6 Sep 2010 at 5:05

Attachments:

GoogleCodeExporter commented 9 years ago
Please, can you test:

txt2=txt.replace('\\','\\\\').replace(')','\\)').replace('(','\\(')

Parenthesis seems to be special characters here.

Original comment by reingart@gmail.com on 8 Sep 2010 at 12:40

GoogleCodeExporter commented 9 years ago
Fixed in version 1.54b

Original comment by reingart@gmail.com on 10 Sep 2010 at 3:35