From edc4f6d54b9990d43e39c52748e8535869ab954b Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Sat, 2 Jul 2011 15:44:02 +0000 Subject: [PATCH] PDF: add dummy 'fill' parameter at rfpdf CJK Write method (#8737). 'fill' parameter is already added in trunk by r6131, r6132, r6133. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/1.2-stable@6156 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- vendor/plugins/rfpdf/lib/fpdf/chinese.rb | 2 +- vendor/plugins/rfpdf/lib/fpdf/japanese.rb | 2 +- vendor/plugins/rfpdf/lib/fpdf/korean.rb | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/vendor/plugins/rfpdf/lib/fpdf/chinese.rb b/vendor/plugins/rfpdf/lib/fpdf/chinese.rb index 5ac279d70..b21b23487 100644 --- a/vendor/plugins/rfpdf/lib/fpdf/chinese.rb +++ b/vendor/plugins/rfpdf/lib/fpdf/chinese.rb @@ -236,7 +236,7 @@ module PDF_Chinese @x=@l_margin end - def Write(h,txt,link='') + def Write(h,txt,link='',fill=0) if(@current_font['type']=='Type0') MBWrite(h,txt,link) else diff --git a/vendor/plugins/rfpdf/lib/fpdf/japanese.rb b/vendor/plugins/rfpdf/lib/fpdf/japanese.rb index 9ac3e2778..c05e7d367 100644 --- a/vendor/plugins/rfpdf/lib/fpdf/japanese.rb +++ b/vendor/plugins/rfpdf/lib/fpdf/japanese.rb @@ -224,7 +224,7 @@ module PDF_Japanese @x=@l_margin end - def Write(h,txt,link='') + def Write(h,txt,link='',fill=0) if(@current_font['type']=='Type0') SJISWrite(h,txt,link) else diff --git a/vendor/plugins/rfpdf/lib/fpdf/korean.rb b/vendor/plugins/rfpdf/lib/fpdf/korean.rb index fbea998e7..7165c0666 100644 --- a/vendor/plugins/rfpdf/lib/fpdf/korean.rb +++ b/vendor/plugins/rfpdf/lib/fpdf/korean.rb @@ -205,7 +205,7 @@ UHC_widths={' ' => 333, '!' => 416, '"' => 416, '#' => 833, '$' => 625, '%' => 9 @x=@l_margin end - def Write(h,txt,link='') + def Write(h,txt,link='',fill=0) if(@current_font['type']=='Type0') MBWrite(h,txt,link) else -- 2.39.5