Re: [xsl] How to specify the range of possible values for font-size attribute

Subject: Re: [xsl] How to specify the range of possible values for font-size attribute
From: Liam R E Quin <liam@xxxxxx>
Date: Sat, 12 Feb 2011 13:51:26 -0500
On Sat, 2011-02-12 at 14:01 +0200, Alexander Chingarev wrote:
> Hello!
> 
> We're working on a simple copyfitting implementation based on FOP1.0
> and XSL-FO 2.0 specification.And we want our extension to fit
> completely to the specification.

There's already a FOP implementation of it done at the University of
Bologna. But please do understand that the "specification" is only a
working draft, and is very much subject to change.

> Due to copyfitting task we need to use font-size and line-height as
> adjustable-attributes and we need to limit both of them by minimum and
> maximum values.
> 
> It's fine for line-height - it's possible to use line-height.minimum
> and line-height.maximum. But font-size is not defined as range(space)
> attribute in specification, so if we want our implementation fit to
> specification we cannot use font-size.minimum and font-size.maximum.
> 
> Are there any ways to set range of values for font-size attribute?

The copyfitting will probably need to add minimum and maximum to all
properties that could be used, you're right.  There are a lot of details
not yet worked out.

Liam

-- 
Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
Pictures from old books: http://fromoldbooks.org/
W3C staff participant: XSL-FO, XQuery, XML, ...

Current Thread