From: Toshi MARUYAMA Date: Tue, 5 Apr 2011 14:13:03 +0000 (+0000) Subject: PDF: Ruby 1.9 compatibility for FPDF ANSI (#61). X-Git-Tag: 1.2.0~517 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=47dccc53b36265a9b552a2c15e44e4d8b0b89acd;p=redmine.git PDF: Ruby 1.9 compatibility for FPDF ANSI (#61). Contributed by Jun NAITOH. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5331 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/vendor/plugins/rfpdf/lib/fpdf/chinese.rb b/vendor/plugins/rfpdf/lib/fpdf/chinese.rb index 94f8ee49d..dca53c556 100644 --- a/vendor/plugins/rfpdf/lib/fpdf/chinese.rb +++ b/vendor/plugins/rfpdf/lib/fpdf/chinese.rb @@ -130,7 +130,7 @@ module PDF_Chinese nb=s.length i=0 while(i 333, '!' => 416, '"' => 416, '#' => 833, '$' => 625, '%' => 9 nb=s.length i=0 while(i 333, '!' => 416, '"' => 416, '#' => 833, '$' => 625, '%' => 9 nl=1 while(i 333, '!' => 416, '"' => 416, '#' => 833, '$' => 625, '%' => 9 nl=1 while(i