[REBOL] Re: Printing and Rebol
From: g:santilli:tiscalinet:it at: 14-Jul-2001 15:14
Hello Brett!
On 14-Lug-01, you wrote:
BH> If you build a "low-level" dialect for outputting PDF then
BH> later more abstract dialects can be built on top of it to
[...]
pdf-maker.r already has two levels. One is the PDF lowlevel
format; as long as you know PDF and a couple of things about the
lowlevel dialect you can build any PDF file, with the code
handling stream sizes and the xref table automatically.
The other (higher) level is that of LAYOUT-PDF. This is what
you'll probably use if you're writing your own dialect but don't
want to bother about reading the whole PDF specification.
Of course, stacking up too many layers affects performance and
introduces subtle bugs. I think, however, that <= 3 layers is
still acceptable if doing without would be too much of a pain.
BH> All of these could be simpler if leveraging off your lower
BH> level dialect. The lower level dialect remaining unconcerned
BH> by the final user's requirements for output.
I still think no-one would need to go that low-level, unless
you're going to do something very special; but the lower level is
accessible anyway --- it just isn't documented yet. :)
Regards,
Gabriele.
--
Gabriele Santilli <[giesse--writeme--com]> - Amigan - REBOL programmer
Amiga Group Italia sez. L'Aquila -- http://www.amyresource.it/AGI/