aboutsummaryrefslogtreecommitdiffstats
path: root/lib/erl_docgen/priv/xsl/db_pdf.xsl
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2012-04-24 20:47:09 +0200
committerBjörn-Egil Dahlberg <[email protected]>2012-04-27 19:11:57 +0200
commit806798d6beda18ddec29b7f4ed09b3ea6d75c532 (patch)
treebba3769ccaef5b763d2c68ea915cc569ee25f634 /lib/erl_docgen/priv/xsl/db_pdf.xsl
parent27e4df2c33e7eef843254438aef8a3901a299dab (diff)
downloadotp-806798d6beda18ddec29b7f4ed09b3ea6d75c532.tar.gz
otp-806798d6beda18ddec29b7f4ed09b3ea6d75c532.tar.bz2
otp-806798d6beda18ddec29b7f4ed09b3ea6d75c532.zip
erl_docgen: Do not overflow images for pdf doc gen
Diffstat (limited to 'lib/erl_docgen/priv/xsl/db_pdf.xsl')
-rw-r--r--lib/erl_docgen/priv/xsl/db_pdf.xsl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/erl_docgen/priv/xsl/db_pdf.xsl b/lib/erl_docgen/priv/xsl/db_pdf.xsl
index 4ed4fa14c4..bf17406d84 100644
--- a/lib/erl_docgen/priv/xsl/db_pdf.xsl
+++ b/lib/erl_docgen/priv/xsl/db_pdf.xsl
@@ -1564,7 +1564,7 @@
</xsl:variable>
<fo:block xsl:use-attribute-sets="image">
- <fo:external-graphic content-width="60%" src="{@file}"/>
+ <fo:external-graphic content-width="scale-down-to-fit" inline-progression-dimension.maximum="100%" src="{@file}"/>
<xsl:apply-templates>
<xsl:with-param name="chapnum" select="$chapnum"/>