This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]