This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
avt's
- To: xsl-list at mulberrytech dot com
- Subject: avt's
- From: "Pawson, David" <DPawson at rnib dot org dot uk>
- Date: Mon, 21 Feb 2000 14:26:17 -0000
- Reply-To: xsl-list at mulberrytech dot com
I would like to specify a font size,
min optimum and max, with respect to
a global variable.
Only option that I have is (horrible)
<fo:block font-size="{$hd-size}"
space-before.minimum="{concat(round(0.8 * $hd-size),'pt')}"
space-before.maximum="{concat(round(1.2 * $hd-size),'pt')}"
space-before.optimum="{concat ($hd-size,'pt')}" >
<xsl:apply-templates/>
</fo:block>
Am I just being nice to the processor in attempting to round
out the sizes?
Objective is to provide everything in relative sizes,
such that I can provide a variant (font size) for any users
preference.
Regards, DaveP
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list