[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

avt's


Subject: avt's
From: "Pawson, David" <DPawson@xxxxxxxxxxx>
Date: Mon, 21 Feb 2000 14:26:17 -0000

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



Current Thread