Skip to content

Commit

Permalink
Merge pull request #725 from rvdb/jTEI-pdf-imagescaling
Browse files Browse the repository at this point in the history
improved image scaling in PDF
  • Loading branch information
trishaoconnor authored Jan 28, 2025
2 parents 40c26f1 + 13f1d1e commit 76a18b7
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 76a18b7

Please # to comment.