Re: [Fwd: Table Structure and Line Heights]

Bob Doan <bdoan-J0aWFLYJOWhWk0Htik3J/[email protected]> Thu, 27 Oct 2005 19:29:46 -0400
Newsgroups gmane.text.rlib.user
Message-ID <[email protected]>
Hi,

On Thu, 2005-10-27 at 17:05 -0400, Bob Doan wrote:
> One small thing that has been bugging me is that the lines sometimes get 
> covered up by the backgrounds.

Actually this is not an RLIB problem, it is really a PDF rendering
problem.  Zoom in to about 400% and the problem goes away.  Zoom in to
800% and you will notice their is an actual gap between the lines.

The problem in PDF is that **MOST** X,Y's are given in FLOAT, and not
DOUBLE.

The joys of vector drawing ;)

> Also...any chance of introducing the idea of a HTML like table 
> structure?  That would give me better control of the look of the page - for 
> example, I want to be able to put vertical lines between columns - right 
> now there is no way to do it.  If I had a way of saying <this is the start 
> of a cell value=data.name><verticalline size="1"></end of a cell value>
> then I could put anything I wanted inside that cell and align it the way I 
> want.
> 
> Specifically, I would like to be able to create a really nice looking 
> invoice with both vertical and horizontal lines and images etc.  You can 
> already create vertical lines (sort of), by specifying a horizontalline 
> with a size="100" and a length="1".

There are plans at some point to support table based layout.  I don't
know when I would start this (It is complicated and requires at least
two data passes).

RLIB is open source so if you want... go for it :)

- bob




-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information