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
This commit is contained in:
Toshi MARUYAMA 2011-11-18 14:57:20 +00:00
parent cf9c743846
commit c8bbcfbe47
1 changed files with 3 additions and 0 deletions

View File

@ -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")