summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-11-18 14:57:20 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-11-18 14:57:20 +0000
commitc8bbcfbe479d35fd6c6a3aefb357216c3e51be7c (patch)
tree9d2750beb9fe1539d9016bf5f32d3f45c4ceaf1f /lib
parentcf9c743846dc830f41a1fab5b236c3573c926aa0 (diff)
downloadredmine-c8bbcfbe479d35fd6c6a3aefb357216c3e51be7c.tar.gz
redmine-c8bbcfbe479d35fd6c6a3aefb357216c3e51be7c.zip
pdf: lib: set image scale at issue_to_pdf method (#3261)
wiki_to_pdf method has already done. Contributed by Jun NAITOH. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7827 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib')
-rw-r--r--lib/redmine/export/pdf.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/redmine/export/pdf.rb b/lib/redmine/export/pdf.rb
index eab537231..612939341 100644
--- a/lib/redmine/export/pdf.rb
+++ b/lib/redmine/export/pdf.rb
@@ -355,6 +355,9 @@ module Redmine
pdf.SetFontStyle('B',9)
pdf.RDMCell(35+155, 5, l(:field_description), "LRT", 1)
pdf.SetFontStyle('',9)
+
+ # Set resize image scale
+ pdf.SetImageScale(1.6)
pdf.RDMwriteHTMLCell(35+155, 5, 0, 0,
Redmine::WikiFormatting.to_html(
Setting.text_formatting, issue.description.to_s),"LRB")