Skip to content

Commit

Permalink
PRESSGANG-44 Documentation: large images should scale to print for PD…
Browse files Browse the repository at this point in the history
…F output => Document override properly
  • Loading branch information
ge0ffrey committed Feb 23, 2012
1 parent f891c27 commit 0a87dbb
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 5 additions & 1 deletion pressgang-xslt-ns/src/main/resources/xslt/org/jboss/pdf.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -1745,7 +1745,11 @@
</xsl:if>
</xsl:template>

<!-- Change fo:external-graphic to do content-width="scale-down-to-fit" content-height="scale-down-to-fit" -->
<!--
From: fo/graphics.xsl
Reason: Scale PDF images down to fit the page (content-width="scale-down-to-fit" content-height="scale-down-to-fit").
Version: 1.74.0
-->
<xsl:template name="process.image">
<!-- When this template is called, the current node should be -->
<!-- a graphic, inlinegraphic, imagedata, or videodata. All -->
Expand Down
6 changes: 5 additions & 1 deletion pressgang-xslt/src/main/resources/xslt/org/jboss/pdf.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -1745,7 +1745,11 @@
</xsl:if>
</xsl:template>

<!-- Change fo:external-graphic to do content-width="scale-down-to-fit" content-height="scale-down-to-fit" -->
<!--
From: fo/graphics.xsl
Reason: Scale PDF images down to fit the page (content-width="scale-down-to-fit" content-height="scale-down-to-fit").
Version: 1.74.0
-->
<xsl:template name="process.image">
<!-- When this template is called, the current node should be -->
<!-- a graphic, inlinegraphic, imagedata, or videodata. All -->
Expand Down

0 comments on commit 0a87dbb

Please sign in to comment.