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: Tue, 25 May 1999 23:25:59 +0200 (MET DST)
Elliotte Rusty Harold wrote:

 > The only things I see that the
 > Quark-heads would likely miss are:
 > 1. Non-rectangular areas
 > 2. Arbitrary rotation of areas
 > Is there anything else one can imagine doing in Quark that isn't plausible
 > in XSL?

Style sheets will never be able to rival DTP packages when the target
is paper. Let me give you one example. Using DTP, you can align glyphs
so that the top of one glyph just barely touches the bottom of the
glyph in the line above. This is a quite common effect, e.g. on
Microsoft packaging. In order to achieve the effect, you need to look
into the shape of each glyph. Since the word "Microsoft" has no
descenders in it, the design is different from what it would have been
if the company was called "Opera". Style sheet languages don't let you
query the shape of the glyphs and therefore do not allow you to
express the kind of constraints the example calls for.

If you have access to the fonts, you can tune your style sheet so that
the letters happen to abut. This might work for you locally, but
putting such style sheets on the Web will surprise users. If my copy
of Helvetica happens to have more "internal leading" than yours, we
will end up with different-looking documents. Which might not be too
bad, but it's not something Quark users will put up with.


Håkon Wium Lie   
howcome@xxxxxxxxxxxxxxxxx                      simply a better browser

 XSL-List info and archive:

Current Thread