Skip to content

Commit

Permalink
improved image scaling in PDF
Browse files Browse the repository at this point in the history
  • Loading branch information
rvdb committed Jan 9, 2025
1 parent 78c7f89 commit 13f1d1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion profiles/jtei/pdf/to.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@
</xsl:template>

<xsl:template match="tei:figure/tei:graphic">
<fo:external-graphic xsl:use-attribute-sets="imageblock.properties" content-height="scale-down-to-fit" scaling="uniform" src="{resolve-uri(@url, base-uri())}"/>
<fo:external-graphic xsl:use-attribute-sets="imageblock.properties" width="100%" content-width="scale-to-fit" content-height="scale-down-to-fit" scaling="uniform" src="{resolve-uri(@url, base-uri())}"/>
</xsl:template>

<xsl:template match="eg:egXML">
Expand Down

0 comments on commit 13f1d1e

Please sign in to comment.