OSDN Git Service

PDF: add dummy 'fill' parameter at rfpdf CJK Write method (#8737).
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 2 Jul 2011 15:44:02 +0000 (15:44 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 2 Jul 2011 15:44:02 +0000 (15:44 +0000)
'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
vendor/plugins/rfpdf/lib/fpdf/japanese.rb
vendor/plugins/rfpdf/lib/fpdf/korean.rb

index 5ac279d..b21b234 100644 (file)
@@ -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
index 9ac3e27..c05e7d3 100644 (file)
@@ -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
index fbea998..7165c06 100644 (file)
@@ -205,7 +205,7 @@ UHC_widths={' ' => 333, '!' => 416, '"' => 416, '#' => 833, '$' => 625, '%' => 9
        @x=@l_margin\r
   end\r
 \r
-  def Write(h,txt,link='')\r
+  def Write(h,txt,link='',fill=0)\r
        if(@current_font['type']=='Type0')\r
                MBWrite(h,txt,link)\r
        else\r