Skip to content

Commit

Permalink
Scale images correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
adamretter committed Oct 24, 2024
1 parent eff40ab commit 377fff2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@

<xsl:template match="image" mode="body">
<fo:block>
<fo:external-graphic src="{com:abs-uri(., @href)}"/>
<fo:external-graphic src="{com:abs-uri(., @href)}" width="100%" content-height="100%" content-width="scale-to-fit" scaling="uniform"/>
<xsl:apply-templates select="alt" mode="body"/>
</fo:block>
</xsl:template>
Expand Down

0 comments on commit 377fff2

Please sign in to comment.