summaryrefslogtreecommitdiffstats
path: root/vendor
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-04-30 05:58:15 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-04-30 05:58:15 +0000
commit46bd78aa210692ad75c2d2034e6091a6119c0159 (patch)
tree199f6b21e42f377ea4a3299573be770488a47613 /vendor
parent880e8e575a14ba51bdfe26d0c7a3cb5ef28b21dd (diff)
downloadredmine-46bd78aa210692ad75c2d2034e6091a6119c0159.tar.gz
redmine-46bd78aa210692ad75c2d2034e6091a6119c0159.zip
PDF: fix automatic line break in Chinese PDF (#5629).
Contributed by Jun NAITOH. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5605 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'vendor')
-rw-r--r--vendor/plugins/rfpdf/lib/fpdf/chinese.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/plugins/rfpdf/lib/fpdf/chinese.rb b/vendor/plugins/rfpdf/lib/fpdf/chinese.rb
index dca53c556..fe773e2bf 100644
--- a/vendor/plugins/rfpdf/lib/fpdf/chinese.rb
+++ b/vendor/plugins/rfpdf/lib/fpdf/chinese.rb
@@ -220,7 +220,7 @@ module PDF_Chinese
sep=-1
j=i
l=0
-# nl+=1
+ nl+=1
if(border and nl==2)
b=b2
end