Commit e36f60ea authored by tmaruyama's avatar tmaruyama
Browse files

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: https://svn.redmine.org/redmine/trunk@7827 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 0ea4cfb2
......@@ -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")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment