clipping external-graphic

2002-04-08 Thread Lauren Commons
Howdy.
I am producing PDFs with external graphics.  In some
cases the graphic is larger than the space available
for it and it should be scaled down.  This sort of
works (only scales if width is too large, but not
height).
In orther cases, the image should be clipped (not
scaled down to fit into the space).  For instance, one
graphic is a series of dots; rather than compress the
dots, the right side of the graphic should be trimmed
off.
According to the spec, if the external-graphic tag's
overflow=hidden (or NOT visible), and clip=auto,
the image should be clipped to the parent block's size
(if it is specified).

Has anyone else had this work?  Is this a bug?

Thanks.

=
-
Mr Lauren Commons
DISCLAIMER: The opinions expressed 
ARE in fact those of my employer.

__
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/


Re: clipping external-graphic

2002-04-08 Thread Lauren Commons

--- J.Pietschmann [EMAIL PROTECTED] wrote:
...
 I think clipping (overflow=hidden) is not
 implemented.

Heck.  Should this be mentioned in the Limitations
section of the FOP website?

 You can try to work around this by using an SVG,
 which
 can be clipped at the SVG viewport. SVGs can refer
 to
 graphic files in other formats.

Hmmm... I'll look into that.

 
 In case of the dots, check whether you should rather
 use fo:leader.
For the dots I could probably do that, but there are
some others that I also need to do that the leader
doesn't support.

Thanks!!
 
 J.Pietschmann

Lauren


=
-
Mr Lauren Commons
DISCLAIMER: The opinions expressed 
ARE in fact those of my employer.

__
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/


text colums

2002-03-20 Thread Lauren Commons
I am producing pdfs that will have a bullet list that
I want to display in two columns, like newspaper
columns.  I won't know in advance how many items will
be in the list.
I'm using fop via Cocoon.  My source xml doc just has
a series of items, each having a li tag.  In an html
page, a single column list would be produced, but in
the pdfs I want to use two columns.

Suggestions?

Thanks.

=
-
Mr Lauren Commons
DISCLAIMER: The opinions expressed 
ARE in fact those of my employer.

__
Do You Yahoo!?
Yahoo! Sports - live college hoops coverage
http://sports.yahoo.com/