comparison vendor/plugins/rfpdf/lib/fpdf/chinese.rb @ 507:0c939c159af4 redmine-1.2

Update to Redmine 1.2.1 on 1.2-stable branch (Redmine SVN rev 6270)
author Chris Cannam
date Thu, 14 Jul 2011 10:32:19 +0100
parents cbce1fd3b1b7
children cbb26bc654de
comparison
equal deleted inserted replaced
441:cbce1fd3b1b7 507:0c939c159af4
140 end 140 end
141 end 141 end
142 return l*@font_size/1000 142 return l*@font_size/1000
143 end 143 end
144 144
145 def MultiCell(w,h,txt,border=0,align='L',fill=0) 145 def MultiCell(w,h,txt,border=0,align='L',fill=0,ln=1)
146 if(@current_font['type']=='Type0') 146 if(@current_font['type']=='Type0')
147 MBMultiCell(w,h,txt,border,align,fill) 147 MBMultiCell(w,h,txt,border,align,fill)
148 else 148 else
149 super(w,h,txt,border,align,fill) 149 super(w,h,txt,border,align,fill)
150 end 150 end
234 end 234 end
235 Cell(w,h,s[j,i-j],b,2,align,fill) 235 Cell(w,h,s[j,i-j],b,2,align,fill)
236 @x=@l_margin 236 @x=@l_margin
237 end 237 end
238 238
239 def Write(h,txt,link='') 239 def Write(h,txt,link='',fill=0)
240 if(@current_font['type']=='Type0') 240 if(@current_font['type']=='Type0')
241 MBWrite(h,txt,link) 241 MBWrite(h,txt,link)
242 else 242 else
243 super(h,txt,link) 243 super(h,txt,link)
244 end 244 end