[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] avt's
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|