[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: XSL-FO Does it have the guts?

Subject: RE: XSL-FO Does it have the guts?
From: Håkon Wium Lie <howcome@xxxxxxxxxxxxxxxxx>
Date: Wed, 26 May 1999 20:01:05 +0200 (MET DST)
to have the guts
Reynolds, Gregg wrote:

 > Huh?  Wouldn't that depend on the design of the stylesheet
 > language?  

Sure. I'd love to sit down and design a style sheet language which can
express these kinds of constraints. The constraint in the example
would read somthing along the lines of:

  "if there are no descenders in element (a) place element (b) on top
   of (a) so that the topmost glyph in element (b) touches the
   baseline of element (a), else... "

Actually, when looking at the Microsoft packaging again, it's slightly
more complex:

  "if there are no descenders in element (a) place element (b) on top
   of (a) so that the topmost glyph in the part of element (b) which
   is below any part of element (a) touches the baseline of element
   (a), else..."

This starts to get heiry and I havn't seen any style sheet language
which offers this sort of capabilities.

Until such a language is specified and is implemented, designers will
spend time in Quark aligning elements by hand.

 > So why is it impossible for a
 > DTP package to store its content in an xml file and its styling information
 > in a stylesheet?

By the time you put things back together again, taking the user's
preference and availability of fonts into account, the picture has
likely changed. This is due to the fact that style sheets -- as we
know them today -- don't record the constraints the designer intended,
but instead just record positioning. The DTP package doesn't record
the constraints either, but since they "freeze" the design at an early
stage, the letters are still aligned when printed on the Microsoft
packaging.

-h&kon

Håkon Wium Lie             http://www.operasoftware.com/people/howcome
howcome@xxxxxxxxxxxxxxxxx                      simply a better browser



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.