From 7ecc86429ce9b59148bba17dc2aecaeede4f186c Mon Sep 17 00:00:00 2001 From: Norman Walsh Date: Sun, 15 Jul 2001 23:22:00 +0000 Subject: [PATCH] Fixed graphic height/width calculations --- xsl/fo/graphics.xsl | 63 ++++++++++++++++++++++++++++++++++++--------- 1 file changed, 51 insertions(+), 12 deletions(-) diff --git a/xsl/fo/graphics.xsl b/xsl/fo/graphics.xsl index e6b32a97b..1a1b7fdb8 100644 --- a/xsl/fo/graphics.xsl +++ b/xsl/fo/graphics.xsl @@ -19,6 +19,7 @@ Contributors: Colin Paul Adams, + Paul Grosso, ******************************************************************** --> @@ -144,27 +145,65 @@ FIXME: make is.graphic.* work correctly depending on the backend! - + + + + + + + + 0 + + + + + + + + + + + scale-to-fit + auto + + + + + + + + + scale-to-fit + auto + + + width="$width" + height="$height" + content-width="{$content-width}" + content-height="{$content-height}"/> + width="$width" + height="$height" + content-width="{$content-width}" + content-height="{$content-height}"/> -- 2.40.0