xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcus Andersson" <mar...@home.se>
Subject Re: Border widths
Date Thu, 03 Apr 2003 22:09:45 GMT
I'm using pt and mm in my source. The pixel measurement was just a comparison with html.

But I'll try to print out and see what happens. Thanks for the tip

/Marcus
----- Original Message ----- 
From: "J.Pietschmann" <j3322ptm@yahoo.de>
To: <fop-user@xml.apache.org>
Sent: Friday, April 04, 2003 12:03 AM
Subject: Re: Border widths


> Marcus Andersson wrote:
> > I want to do headers that has a different background-color than the rest of
> > the document and it should also be framed by a thin border (1px wide if you
> > would do it in html and css). The problem is that when I use the same
> > border-width in different contexts then the borders sometimes are rendered so
> > it looks like the borders have different width. Is there a magic trick that
> > one can use to get the same rendered border-width or should I just use the
> > same border-width and hope for the best?
> 
> PDF doesn't have pixels. Use mm, in or pt or a relative measurement.
> Acrobat Reader appears to round off line widths heavily, borders and
> other lines with the same width in the source may appear with wildly
> different width on the screen. Make a test printout on a good laser
> to see whether something is really wrong.
> 
> J.Pietschmann
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
> For additional commands, e-mail: fop-user-help@xml.apache.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org


Mime
View raw message