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:
parent
cf9c743846
commit
c8bbcfbe47
|
@ -355,6 +355,9 @@ module Redmine
|
||||||
pdf.SetFontStyle('B',9)
|
pdf.SetFontStyle('B',9)
|
||||||
pdf.RDMCell(35+155, 5, l(:field_description), "LRT", 1)
|
pdf.RDMCell(35+155, 5, l(:field_description), "LRT", 1)
|
||||||
pdf.SetFontStyle('',9)
|
pdf.SetFontStyle('',9)
|
||||||
|
|
||||||
|
# Set resize image scale
|
||||||
|
pdf.SetImageScale(1.6)
|
||||||
pdf.RDMwriteHTMLCell(35+155, 5, 0, 0,
|
pdf.RDMwriteHTMLCell(35+155, 5, 0, 0,
|
||||||
Redmine::WikiFormatting.to_html(
|
Redmine::WikiFormatting.to_html(
|
||||||
Setting.text_formatting, issue.description.to_s),"LRB")
|
Setting.text_formatting, issue.description.to_s),"LRB")
|
||||||
|
|
Loading…
Reference in New Issue