[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: How to specify the range of possible values for f
Thank you Liam. It's interesting to know that copyfitting is already implemented by someone else. When we started working on it we did search for FOP solutions but found nothing. Is it possible to know more about that implementation? Which adjustable attributes do they support, which limitations do they use? And is it going to become a part of new FOP release? Kind Regards, Alexander ---------- Forwarded message ---------- From: Liam R E Quin <liam@xxxxxx> Date: Sat, Feb 12, 2011 at 8:51 PM Subject: Re: How to specify the range of possible values for font-size attribute To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx 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, ...
|
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
|