]> source.dussan.org Git - redmine.git/commitdiff
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 5ac279d70b5d84d7ef4ab71b120d91b5d5034640..b21b234877de6b6b9458859503d36e57259804c8 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 9ac3e2778b80d295350c4c00781145c8f1a6092c..c05e7d367370266a2608ac271cc4e830a6b3b6c6 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 fbea998e72b9911c32d52f48e06299140abf2817..7165c0666643583744ed43d426f3e73e7f1027d8 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