comparison vendor/plugins/rfpdf/lib/fpdf/japanese.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
116 end 116 end
117 end 117 end
118 return l*@font_size/1000 118 return l*@font_size/1000
119 end 119 end
120 120
121 def MultiCell(w,h,txt,border=0,align='L',fill=0) 121 def MultiCell(w,h,txt,border=0,align='L',fill=0,ln=1)
122 if(@current_font['type']=='Type0') 122 if(@current_font['type']=='Type0')
123 SJISMultiCell(w,h,txt,border,align,fill) 123 SJISMultiCell(w,h,txt,border,align,fill)
124 else 124 else
125 super(w,h,txt,border,align,fill) 125 super(w,h,txt,border,align,fill)
126 end 126 end
222 end 222 end
223 Cell(w,h,s[j,i-j],b,2,align,fill) 223 Cell(w,h,s[j,i-j],b,2,align,fill)
224 @x=@l_margin 224 @x=@l_margin
225 end 225 end
226 226
227 def Write(h,txt,link='') 227 def Write(h,txt,link='',fill=0)
228 if(@current_font['type']=='Type0') 228 if(@current_font['type']=='Type0')
229 SJISWrite(h,txt,link) 229 SJISWrite(h,txt,link)
230 else 230 else
231 super(h,txt,link) 231 super(h,txt,link)
232 end 232 end