@@ -52,6 +52,8 module IfpdfHelper | |||||
52 |
|
52 | |||
53 | def Cell(w,h=0,txt='',border=0,ln=0,align='',fill=0,link='') |
|
53 | def Cell(w,h=0,txt='',border=0,ln=0,align='',fill=0,link='') | |
54 | @ic ||= Iconv.new(l(:general_pdf_encoding), 'UTF-8') |
|
54 | @ic ||= Iconv.new(l(:general_pdf_encoding), 'UTF-8') | |
|
55 | # these quotation marks are not correctly rendered in the pdf | |||
|
56 | txt = txt.gsub(/[“”]/, '"') if txt | |||
55 | txt = begin |
|
57 | txt = begin | |
56 | # 0x5c char handling |
|
58 | # 0x5c char handling | |
57 | txtar = txt.split('\\') |
|
59 | txtar = txt.split('\\') |
General Comments 0
You need to be logged in to leave comments.
Login now