RE: Multithreaded failure

2002-04-04 Thread Scott Moore

Why are you reading the user configuration more than once?  In my servlet,
which is multithreaded, I read the user configuration file once upon init.
I have no problems (except the occasional image error, which I catch and
regenerate the PDF when it happens) with concurrent PDF generation using
FOP.

Scott

-Original Message-
From: David B. Bitton [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 04, 2002 4:17 PM
To: fop-dev
Subject: Multithreaded failure

You can see where the second thread enters because of the double entry for
reading user configuration file, then the repeated failed starts.  After
each setting up fonts, is where the exception is being thrown.  Just to
make sure, I am using Xalan from CVS, as per a suggestion from someone on
the Xalan list.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




RE: Multithreaded failure

2002-04-04 Thread Scott Moore


Upon init (once in the servlet)

// Gotta configure FOP to know where the base directory is.  Otherwise
// it will generate errors.  Add a trailing slash so we can use relative
// paths in our XSL.
org.apache.fop.configuration.Configuration.put(baseDir, file: + dir
+ File.separator);
org.apache.fop.configuration.Configuration.put(strokeSVGText, new
Boolean(false));



Done for every report request:


public static void createPDF(Document xslfo,
 OutputStream pdf)
  throws IOException, FOPException
{
Driver driver = new Driver(new DocumentInputSource(xslfo), pdf);

Hierarchy hierarchy = Hierarchy.getDefaultHierarchy();
Logger log = hierarchy.getLoggerFor(fop);
if (debugMode)
{
  log.setPriority(Priority.DEBUG);
}
else
{
  log.setPriority(Priority.FATAL_ERROR);
}
driver.setLogger(log);
driver.setRenderer(Driver.RENDER_PDF);
driver.run();
pdf.flush();
}



HTH,
Scott

-Original Message-
From: David B. Bitton [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 04, 2002 4:58 PM
To: [EMAIL PROTECTED]
Subject: Re: Multithreaded failure


Simply because it is at the top of my SOAP method.  I don't think that there
is an init() called on a SOAP class.  Also, do you instantiate a new Driver
object for every call to the servlet?  I'd appreciate if you could share
some code.  Thanks.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Please help, even if it's just a reply that it can't be done

2002-01-30 Thread Scott Moore

I cross-posted this several days ago and didn't get a single reply.  If
someone could please let me know what the problem is, I would greatly
appreciate it.  Even if it means that my SVG cannot use defs in FOP.

Is the problem in my XSL-FO?
Is the problem in my SVG?
Is the problem with Batik?
Is the problem with FOP?

I figure it's got to be one of the above.

Thanks very much,
Scott

PS. What version of Batik comes with FOP 0.20.3rc?


- Original Message -
From: Scott Moore
To: FOP User
Sent: Friday, January 25, 2002 10:43 AM
Subject: SVG Problem with FOP


I'm trying to embed the following SVG into my XSL-FO and run it thru
FOP (0.20.3rc).  Although the SVG looks fine using Adobe's SVG viewer and
Batik's viewer, I get an
error (below) from FOP.  Apparently, it doesn't like the url() reference
to the radialGradient.  How can I get this to work?

Thanks for any help,
Scott


svg width=3.5in height=1in viewBox=0 0 680 200 xmlns=
http://www.w3.org/2000/svg http://www.w3.org/2000/svg 
preserveAspectRatio=none
 g
  defs
   radialGradient id=PurpleToWhite gradientUnits=objectBoundingBox
cx=.5 cy=.5 r=.5
stop offset=5% stop-color=white/
stop offset=100% stop-color=rgb(100,0,100)/
   /radialGradient
  /defs
  rect fill=black stroke=black x=0 y=0 width=680
height=200/
  circle r=80 cx=270 cy=100 fill=url(#PurpleToWhite)/
  text font-family=Times font-size=135pt x=213 y=160
fill=whiteD/text
 /g
/svg


An I/O error occured while processing the URI
'file:D:/Projects/Dev/#PurpleToWhite' specified on the element circle
org.apache.batik.bridge.BridgeException: file:D:/Projects/Dev/:-1
An I/O error occured while processing the URI
'file:D:/Projects/Dev/#PurpleToWhite' specified on the element circle
at
org.apache.batik.bridge.BridgeContext.getReferencedElement(Unknown So
urce)
at org.apache.batik.bridge.PaintServer.convertURIPaint(Unknown
Source)
at org.apache.batik.bridge.PaintServer.convertPaint(Unknown
Source)
at org.apache.batik.bridge.PaintServer.convertFillPaint(Unknown
Source)
at
org.apache.batik.bridge.PaintServer.convertFillAndStroke(Unknown Sour
ce)
at
org.apache.batik.bridge.SVGShapeElementBridge.createShapePainter(Unkn
own Source)
at
org.apache.batik.bridge.SVGShapeElementBridge.buildGraphicsNode(Unkno
wn Source)
at org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(Unknown
Source)
at org.apache.batik.bridge.GVTBuilder.buildComposite(Unknown
Source)
at org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(Unknown
Source)
at org.apache.batik.bridge.GVTBuilder.buildComposite(Unknown
Source)
at org.apache.batik.bridge.GVTBuilder.build(Unknown Source)
at
org.apache.fop.render.pdf.PDFRenderer.renderSVGDocument(PDFRenderer.j
ava:413)
at
org.apache.fop.render.pdf.PDFRenderer.renderSVGArea(PDFRenderer.java:
382)
at org.apache.fop.svg.SVGArea.render(SVGArea.java:58)
at
org.apache.fop.render.pdf.PDFRenderer.renderForeignObjectArea(PDFRend
erer.java:366)
at
org.apache.fop.layout.inline.ForeignObjectArea.render(ForeignObjectAr
ea.java:50)
at
org.apache.fop.render.AbstractRenderer.renderLineArea(AbstractRendere
r.java:223)
at org.apache.fop.layout.LineArea.render(LineArea.java:163)
at
org.apache.fop.render.AbstractRenderer.renderBlockArea(AbstractRender
er.java:192)
at org.apache.fop.layout.BlockArea.render(BlockArea.java:82)
at
org.apache.fop.render.AbstractRenderer.renderAreaContainer(AbstractRe
nderer.java:158)
at
org.apache.fop.render.pdf.PDFRenderer.renderPage(PDFRenderer.java:735
)
at
org.apache.fop.render.pdf.PDFRenderer.render(PDFRenderer.java:700)
at
org.apache.fop.apps.StreamRenderer.queuePage(StreamRenderer.java:217)

at org.apache.fop.layout.AreaTree.addPage(AreaTree.java:81)
at
org.apache.fop.fo.pagination.PageSequence.format(PageSequence.java:30
7)
at
org.apache.fop.apps.StreamRenderer.render(StreamRenderer.java:200)
at
org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:182)
at
org.apache.fop.tools.DocumentReader.parse(DocumentReader.java:463)
at org.apache.fop.apps.Driver.render(Driver.java:481)
at org.apache.fop.apps.Driver.render(Driver.java:501)
at org.apache.fop.apps.Driver.run(Driver.java:552)






-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




SVG Problem with FOP

2002-01-24 Thread Scott Moore



I'm trying to embed 
the following SVG into my XSL-FOand run it thru FOP. Although the 
SVG looks fine using Adobe's SVG viewer, I get an error (below) from FOP. 
Apparently, it doesn't like the url() reference to the 
radialGradient. How can I get this to work?

Thanks for any 
help,
Scott


svg width="3.5in" height="1in" viewBox="0 0 680 
200" xmlns="http://www.w3.org/2000/svg" 
preserveAspectRatio="none"gdefsradialGradient 
id="PurpleToWhite" gradientUnits="objectBoundingBox" cx=".5" cy=".5" 
r=".5"stop offset="5%" 
stop-color="white"/stop offset="100%" 
stop-color="rgb(100,0,100)"//radialGradient/defsrect 
fill="black" stroke="black" x="0" y="0" width="680" 
height="200"/circle r="80" cx="270" cy="100" 
fill="url(#PurpleToWhite)"/text font-family="Times" 
font-size="135pt" x="213" y="160" 
fill="white"D/text/g/svg

An I/O error occured while processing the URI 
'file:D:/Projects/Dev/#PurpleToWhite' 
specified on the element 
circleorg.apache.batik.bridge.BridgeException: 
file:D:/Projects/Dev/:-1An I/O error occured while processing the URI 
'file:D:/Projects/Dev/#PurpleToWhite' specified on the element 
circle at 
org.apache.batik.bridge.BridgeContext.getReferencedElement(Unknown 
Source) at 
org.apache.batik.bridge.PaintServer.convertURIPaint(Unknown 
Source) at 
org.apache.batik.bridge.PaintServer.convertPaint(Unknown 
Source) at 
org.apache.batik.bridge.PaintServer.convertFillPaint(Unknown 
Source) at 
org.apache.batik.bridge.PaintServer.convertFillAndStroke(Unknown 
Source) at 
org.apache.batik.bridge.SVGShapeElementBridge.createShapePainter(Unknown 
Source) at 
org.apache.batik.bridge.SVGShapeElementBridge.buildGraphicsNode(Unknown 
Source) at 
org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(Unknown 
Source) at 
org.apache.batik.bridge.GVTBuilder.buildComposite(Unknown 
Source) at 
org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(Unknown 
Source) at 
org.apache.batik.bridge.GVTBuilder.buildComposite(Unknown 
Source) at 
org.apache.batik.bridge.GVTBuilder.build(Unknown 
Source) at 
org.apache.fop.render.pdf.PDFRenderer.renderSVGDocument(PDFRenderer.java:413) 
at 
org.apache.fop.render.pdf.PDFRenderer.renderSVGArea(PDFRenderer.java:382) 
at 
org.apache.fop.svg.SVGArea.render(SVGArea.java:58) 
at 
org.apache.fop.render.pdf.PDFRenderer.renderForeignObjectArea(PDFRenderer.java:366) 
at 
org.apache.fop.layout.inline.ForeignObjectArea.render(ForeignObjectArea.java:50) 
at 
org.apache.fop.render.AbstractRenderer.renderLineArea(AbstractRenderer.java:223) 
at 
org.apache.fop.layout.LineArea.render(LineArea.java:163) 
at 
org.apache.fop.render.AbstractRenderer.renderBlockArea(AbstractRenderer.java:192) 
at 
org.apache.fop.layout.BlockArea.render(BlockArea.java:82) 
at 
org.apache.fop.render.AbstractRenderer.renderAreaContainer(AbstractRenderer.java:158) 
at 
org.apache.fop.render.pdf.PDFRenderer.renderPage(PDFRenderer.java:735) 
at 
org.apache.fop.render.pdf.PDFRenderer.render(PDFRenderer.java:700) 
at 
org.apache.fop.apps.StreamRenderer.queuePage(StreamRenderer.java:217)

 at 
org.apache.fop.layout.AreaTree.addPage(AreaTree.java:81) 
at 
org.apache.fop.fo.pagination.PageSequence.format(PageSequence.java:307) 
at 
org.apache.fop.apps.StreamRenderer.render(StreamRenderer.java:200) 
at 
org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:182) 
at 
org.apache.fop.tools.DocumentReader.parse(DocumentReader.java:463) 
at 
org.apache.fop.apps.Driver.render(Driver.java:481) 
at 
org.apache.fop.apps.Driver.render(Driver.java:501) 
at org.apache.fop.apps.Driver.run(Driver.java:552)





Scott Moore
Senior Developer
netDecide - http://www.netdecide.com/
7600 Leesburg Pike, West Building - Suite 
100
Falls Church, Virginia 22043
(571) 633-6134 (Work)
(571) 633-6003 (Fax)



RE: XPATH question - not FOP related

2002-01-22 Thread Scott Moore




Try:

xsl:for-each 
select="some_data"

xsl:if test="position()  1"
 This is not the 
first!
/xsl:if

Repeating 
section...
/xsl:for-each



Scott


  -Original Message-From: Brian T. Wolf 
  [mailto:[EMAIL PROTECTED]]Sent: Tuesday, January 22, 2002 
  1:30 PMTo: [EMAIL PROTECTED]Subject: XPATH question 
  - not FOP related
  This is obviously off-topic, but since I have 
  been subscribed to this list for a few months I know that you folks will be 
  the most likely to answer this. I have been searching the various references, 
  but I am not even sure what I should be looking for.
  
  Here is the situation: I am using 
  xsl:for-each to loop through some data. For every pass after the first 
  I want to insert another command. How do I test to see whether this is the 
  first pass?
  
  example:
  
  xsl:for-each 
  select="some_data"
  
  xsl:if test="is not the 
  first"
   This is not the 
first!
  /xsl:if
  
  Repeating section...
  /xsl:for-each
  
  Thank you for your help.
  
  -Brian


Table of Contents

2002-01-11 Thread Scott Moore



I'm building a table 
of contents, which works just fine except for one little detail. If seems 
the fo:page-number-citations are not aligning 
correctly.

For instance, the 
enclosing block looks like this:

fo:table-cellfo:block 
text-align="end"fo:page-number-citation 
ref=id="blah"//fo:block/fo:table-cell


The parent block has 
text-align="end", but the page numbers come out left justified, not right 
justified. If I remove the fo:page-number-citation ref=id="blah"/ 
and hardcode some page numbers, they come out correctly 
right-justified.

Is there some way I 
can make this work correctly with 0.20.2? Will the upcoming maintenance 
release fix this bug?

Thanks,
Scott


Re: Table Improvements

2002-01-09 Thread Scott Moore

Karen,

Is this functionality in 0.20.2?  It doesn't work for me.  FOP complains
about the table-layout property and the table columns aren't proportionally
sized.

Plus, the docs/examples/fo/tableunits.fo doesn't exist.

Thanks,
Scott

- Original Message -
From: Karen Lease [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, October 14, 2001 4:46 PM
Subject: Table Improvements


 Hi all,

 I just committed some new table functionality to CVS. You can now do
 things like
 fo:table table-layout=fixed width=100%
  fo:table-column column-width=proportional-column-width(2)
  fo:table-column column-width=proportional-column-width(1)
 .

 You can mix absolute and proportional units in the same table and even
 on the same column.

 See docs/examples/fo/tableunits.fo for some examples.

 Also, Fop is now looking at the table-layout property. Since it defaults
 to auto and Fop still doesn't do auto, it will print an annoying
 warning on every table. That is to remind you to put
 table-layout=fixed on your tables!

 Fop is also using inline-progression-dimension on table instead of
 width. But don't worry; if you specify width, it will use that as
 inline-progression-dimension.optimal.

 Have fun!

 Karen

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: Table Improvements

2002-01-09 Thread Scott Moore

Okay, I just looked at the release date on 0.20.2 and see it was 9/29/2001.
Since your email was after that, I'm guessing the new table functionality is
not in 0.20.2.

Will it be in the maintenance release?  Is that coming up soon?

Scott

- Original Message -
From: Scott Moore [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, January 09, 2002 2:27 PM
Subject: Re: Table Improvements


 Karen,

 Is this functionality in 0.20.2?  It doesn't work for me.  FOP complains
 about the table-layout property and the table columns aren't
proportionally
 sized.

 Plus, the docs/examples/fo/tableunits.fo doesn't exist.

 Thanks,
 Scott

 - Original Message -
 From: Karen Lease [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Sunday, October 14, 2001 4:46 PM
 Subject: Table Improvements


  Hi all,
 
  I just committed some new table functionality to CVS. You can now do
  things like
  fo:table table-layout=fixed width=100%
   fo:table-column column-width=proportional-column-width(2)
   fo:table-column column-width=proportional-column-width(1)
  .
 
  You can mix absolute and proportional units in the same table and even
  on the same column.
 
  See docs/examples/fo/tableunits.fo for some examples.
 
  Also, Fop is now looking at the table-layout property. Since it defaults
  to auto and Fop still doesn't do auto, it will print an annoying
  warning on every table. That is to remind you to put
  table-layout=fixed on your tables!
 
  Fop is also using inline-progression-dimension on table instead of
  width. But don't worry; if you specify width, it will use that as
  inline-progression-dimension.optimal.
 
  Have fun!
 
  Karen
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, email: [EMAIL PROTECTED]
 


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




RE: which graphic formats are supported ?

2002-01-08 Thread Scott Moore

It seems from previous postings that the image will be resized to fit the
width, but not the height.  Make sure you have enough space to display the
image.  Try increasing the height until you see it.

Scott

-Original Message-
From: Mitchell, Scott(LIT) [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 08, 2002 11:00 AM
To: [EMAIL PROTECTED]
Subject: RE: which graphic formats are supported ?


I am using the code...

fo:external-graphic  height=116mm width=152mm
src=file:../actions/icase_header2.jpg/

This is not picking the file up and displaying it.


Any ideas?

 -Original Message-
 From: Nick Winger [SMTP:[EMAIL PROTECTED]]
 Sent: Tuesday, January 08, 2002 5:03 PM
 To:   Apache Mailinglist (E-Mail)
 Subject:  which graphic formats are supported ?
 
 hi !
 
 
 in the  fo:external-graphic  tag:
 
 which graphic formats are supported ? e.g.: jpg ? and ...
 
 
 greetings
 
 Nick Winger
 
 (Software-Developer)
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: xsl:choice

2001-12-08 Thread Scott Moore

The xsl:choose statement is exactly like a switch or case statement.  You
CAN have one or more xsl:when statements underneath the same xsl:choose
parent followed by one xsl:otherwise, which is equivalent to default: in
Java or C++.

I use this construct all the time, especially when I need something similiar
to if then else or a switch statement.

Scott


- Original Message -
From: Matt Savino [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, December 07, 2001 10:46 PM
Subject: Re: xsl:choice


 Sorry, I didn't read the bottom.

 You can only include one xsl:when as a child of xsl:choose. (There
 is no concept of a case switch or elsif in XSLT.)



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Anti-aliasing

2001-11-10 Thread Scott Moore

I'm using FOP from a servlet (e.g., not the command line version) and I have
some embedded SVG in the XSL-FO.  The curves are very jagged in the final
PDF and I would like to turn anti-aliasing on.

How can I do this?  I looked thru the FOP source code and although I see
parameters for anti-aliasing in a couple of Java files, I never found a way
to configure it in my servlet code.

Is there a property I can set on the Configuration object to turn this on?

Thanks,
Scott


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




RE: Text in SVG not showing clearly

2001-11-08 Thread Scott Moore

Several people have already remarked on this, including me.  So far, I
haven't seen a satisfactory answer.

In some places, it looks so bad on the screen that I had to create a PNG
image from the Batik transcoder and use that instead.  Very disappointing.

Scott


-Original Message-
From: Branham, Paul [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 08, 2001 3:10 PM
To: '[EMAIL PROTECTED]'
Subject: Text in SVG not showing clearly


I'm using FOP 0.20.1 and when I draw a graph (currently a bar graph) the
text shows up with jagged edges and not very clean looking. However, when I
print the pdf document, the graph is very clean and clear.

Is there something I'm missing that causes this to occur in the pdf file?

Paul Branham
[EMAIL PROTECTED]
24/7 Media, Inc.
Phone:(301)897-7722


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Why doesn't SVG viewBox work?

2001-11-05 Thread Scott Moore

Hi all,

I embedding some SVG into my XSL-FO to create small graphics.  But it
doesn't seem like the viewBox attribute works.  For instance:

fo:block
 fo:instream-foreign-object
svg xmlns=http://www.w3.org/2000/svg; width=1in height=1in
viewBox=0 0 100 100 preserveAspectRatio=none
  circle cx=50 cy=50 r=49 stroke-width=2 stroke=grey
fill=none/
/svg
  /fo:instream-foreign-object
/fo:block


When I run the above thru FOP, my circle is clipped.  The bottom and right
parts of the circle are not displayed.  Why is that?  No matter what the
actual width or height, shouldn't my coordinate system always be from 0 to
100 along both axis?  This SVG works fine in Adobe's SVG viewer.

I don't know if this is a Batik problem or a FOP problem, so I'm posting to
both lists.

Thanks,
Scott




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




RE: Why doesn't SVG viewBox work?

2001-11-05 Thread Scott Moore

Okay, I don't know why this keeps getting posted, but I'm not sending it.

My apologies to the list groups.

Scott

-Original Message-
From: Scott Moore [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 01, 2001 8:44 PM
To: FOP List; Batik Users
Subject: Why doesn't SVG viewBox work?


Hi all,

I embedding some SVG into my XSL-FO to create small graphics.  But it
doesn't seem like the viewBox attribute works.  For instance:

fo:block
 fo:instream-foreign-object
svg xmlns=http://www.w3.org/2000/svg; width=1in height=1in
viewBox=0 0 100 100 preserveAspectRatio=none
  circle cx=50 cy=50 r=49 stroke-width=2 stroke=grey
fill=none/
/svg
  /fo:instream-foreign-object
/fo:block


When I run the above thru FOP, my circle is clipped.  The bottom and right
parts of the circle are not displayed.  Why is that?  No matter what the
actual width or height, shouldn't my coordinate system always be from 0 to
100 along both axis?  This SVG works fine in Adobe's SVG viewer.

I don't know if this is a Batik problem or a FOP problem, so I'm posting to
both lists.

Thanks,
Scott




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Why doesn't SVG viewBox work?

2001-11-02 Thread Scott Moore



Hi all,

I embedding some SVG into my XSL-FO to create small 
graphics. But itdoesn't seem like the viewBox attribute works. 
For instance:

fo:blockfo:instream-foreign-object 
svg xmlns="http://www.w3.org/2000/svg" width="1in" 
height="1in"viewBox="0 0 100 100" 
preserveAspectRatio="none" circle 
cx="50" cy="50" r="49" stroke-width="2" 
stroke="grey"fill="none"/ /svg 
/fo:instream-foreign-object/fo:block

When I run the above thru FOP, my circle is clipped. The bottom 
and rightparts of the circle are not displayed. Why is that? No 
matter what theactual width or height, shouldn't my coordinate system always 
be from 0 to100 along both axis? This SVG works fine in Adobe's SVG 
viewer.

I don't know if this is a Batik problem or a FOP problem, so I'm posting 
toboth lists.

Thanks,Scott


RE: Why doesn't SVG viewBox work?

2001-11-02 Thread Scott Moore

Klaus,

Could you give me an example of the transformations you used?  Right now,
I'm just specifying the width and height in inches and more or less guessing
the number of pixels in my view area.  Not the most robust way to do it.

Thanks,
Scott

-Original Message-
From: Klaus Malorny [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 02, 2001 6:44 AM
To: [EMAIL PROTECTED]
Subject: Re: Why doesn't SVG viewBox work?


Scott Moore wrote:

 Hi all,
 
  
 
 I embedding some SVG into my XSL-FO to create small graphics.  But it
 doesn't seem like the viewBox attribute works.  For instance:
 

  [...]

 
 When I run the above thru FOP, my circle is clipped.  The bottom and right
 parts of the circle are not displayed.  Why is that?  No matter what the
 actual width or height, shouldn't my coordinate system always be from 0 to
 100 along both axis?  This SVG works fine in Adobe's SVG viewer.
 
  
 
 I don't know if this is a Batik problem or a FOP problem, so I'm posting
to
 both lists.
 
  
 
 Thanks,
 Scott
 


Hi Scott,

I had the same problem with a COREL generated SVG also containing a view
box. 
As Batik's SVG viewer showed it correctly, it seems to be more a FOP
problem. 
I solved it more or less by removing the view box and adding appropriate 
transformations.

BTW, I had a horizontal positioning problem with the left margin of the
outer 
fo:block. It seemed to be applied twice to the SVG. Unfortunately, I had no 
time to track down that problem.

regards,
Klaus



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




RE: Why doesn't SVG viewBox work?

2001-11-02 Thread Scott Moore

Vincent,

Yeah, just the upper left.  I wonder if it's because FOP uses an older
version of Batik?  I tried using Batik 1.1rc3 with FOP, but that didn't
work.  The newer Batik library doesn't have backwards compatibility with FOP
0.20.1.

Scott


-Original Message-
From: Vincent Hardy [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 02, 2001 11:56 AM
To: Batik Users
Cc: FOP List
Subject: Re: Why doesn't SVG viewBox work?


Scott,

Batik displays your example ok (I checked the current code base,
1.1rc2 and 1.1rc3).

Do you see only a quarter of the image (upper left?).
V.


Scott Moore wrote:
 
 Hi all,
 
 I embedding some SVG into my XSL-FO to create small graphics.  But it
 doesn't seem like the viewBox attribute works.  For instance:
 
 fo:block
  fo:instream-foreign-object
 svg xmlns=http://www.w3.org/2000/svg; width=1in height=1in
 viewBox=0 0 100 100 preserveAspectRatio=none
   circle cx=50 cy=50 r=49 stroke-width=2 stroke=grey
 fill=none/
 /svg
   /fo:instream-foreign-object
 /fo:block
 
 When I run the above thru FOP, my circle is clipped.  The bottom and right
 parts of the circle are not displayed.  Why is that?  No matter what the
 actual width or height, shouldn't my coordinate system always be from 0 to
 100 along both axis?  This SVG works fine in Adobe's SVG viewer.
 
 I don't know if this is a Batik problem or a FOP problem, so I'm posting
to
 both lists.
 
 Thanks,
 Scott
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: XSl-FO question

2001-10-24 Thread Scott Moore

Arved,

Thanks for the info.  I'll use it to fix my problem.

Thanks,
Scott

- Original Message -
From: Arved Sandstrom [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, October 23, 2001 5:32 PM
Subject: RE: XSl-FO question


 FOP is not permitted to consider it an error, and in fact really should
not
 even warn about it. See Section 2.2 in the specification: an element from
 the XSL namespace (e.g. fo:block) may have an attribute from a non-XSL
 namespace, provided that the namespace prefix maps to a non-null URI. The
 processor may act on such an attribute provided that it doesn't affect
 behaviour otherwise mandated by the spec, and a processor must ignore such
 an attribute if it doesn't know what to do with it.

 Regards,
 Arved Sandstrom

 At 12:34 PM 10/23/01 -0400, you wrote:
That's  a good idea, my only concern is that at some point in the
future
 FOP might  consider it an error and not a warning.   Should  I be
concerned
 about this?   Scott-Original Message-
 From: Giannetti, Fabio[mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, October 23,2001 11:54 AM
 To: '[EMAIL PROTECTED]'
 Subject: RE:XSl-FO question
 
HiScott,   you can generate your own namespace with a field
that
tells you if that block is containing a data, then when FOP will
process
 thedocument it will ignore this property .. giving you some Warnings,
 but thefile will be rendered fine.   Soyou can define a new
 namespace like:  xmlns:foo=http://foo;   then you can definethis
 attributes in your blocks that contains the data  andmodify
only
 them.   Hopethis helps, Fabio-Original Message-
 From: Scott Moore  [mailto:[EMAIL PROTECTED]]
 Sent: 23 October 2001  16:12
 To: Fop-Dev (E-mail)
 Subject: XSl-FO  question
 
 I  need to save the XSL-FO files for later concatenation
 with other generated  reports. as containing a date
 string? distinguish parts of  the document that are
 related.   Thanks for any  help! Scott
 
 
 Fairly Senior Software Type
 e-plicity (http://www.e-plicity.com)
 Wireless * B2B * J2EE * XML --- Halifax, Nova Scotia


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




RE: overflow=hidden and big images...

2001-10-23 Thread Scott Moore

That page must be out of date.  I use block-container is several places
successfully.

Scott

-Original Message-
From: Etwin van Krimpen [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 23, 2001 10:40 AM
To: [EMAIL PROTECTED]
Subject: Re: overflow=hidden and big images...


Fop doesn't support block-container. See:
http://xml.apache.org/fop/implemented.html

Regards, Etwin

- Original Message -
From: Beer, Christian [EMAIL PROTECTED]
To: Fop-liste (E-Mail) [EMAIL PROTECTED]
Sent: Tuesday, October 23, 2001 4:09 PM
Subject: overflow=hidden and big images...


 Hi Folks!

 I wanted to put a logo on a letter using a block-container
 where I put my image in. The image should be clipped if it is
 too big.
 But all that happens is that the image disapears. Also if I
 used overflow=visible the image disapears. Is that a bug or
 a feature??

 Christian

 __
 DIRON Wirtschaftsinformatik GmbH  Co. KG
 Christian Beer  ([EMAIL PROTECTED])
 Daimlerweg 39-41Tel. : +49(251)979-200
 48163 Muenster  Fax  : +49(251)979-2020
 Germany Email: [EMAIL PROTECTED]

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




XSl-FO question

2001-10-23 Thread Scott Moore



This question isn't 
really about FOP, but FO. I'm writing a reporting system that will 
transform XML using XSLT into XSL-FO, then use FOP-PDF. I need to save 
the XSL-FO files for later "concatenation" with other generated 
reports.

During the 
concatenation process, I need to find all the dates throughout the different 
reports and update them to the current date. Is there an easy way to mark 
a fo:block as containing a date string?

I tried using the 
id="date" attribute, but you can't use that multiple times per document. 
But I need something similiar todistinguish parts of the document that are 
related.

Thanks for any 
help!
Scott


RE: XSl-FO question

2001-10-23 Thread Scott Moore



That's 
a good idea, my only concern is that at some point in the future FOP might 
consider it an error and not a warning.

Should 
I be concerned about this?

Scott

  -Original Message-From: Giannetti, Fabio 
  [mailto:[EMAIL PROTECTED]]Sent: Tuesday, October 23, 
  2001 11:54 AMTo: '[EMAIL PROTECTED]'Subject: RE: 
  XSl-FO question
  Hi 
  Scott,
   you can generate your own namespace with a field that 
  tells you if that block is containing a data, then when FOP will process the 
  document it will ignore this property .. giving you some Warnings, but the 
  file will be rendered fine.
  So 
  you can define a new namespace like:
  
  xmlns:foo=http://foo"
  then you can define 
  this attributes in your blocks that contains the data
  fo:block 
  foo:data="yes"
  and 
  modify only them.
  Hope 
  this helps, Fabio
  
-Original Message-----From: Scott Moore 
[mailto:[EMAIL PROTECTED]]Sent: 23 October 2001 
16:12To: Fop-Dev (E-mail)Subject: XSl-FO 
question
This question 
isn't really about FOP, but FO. I'm writing a reporting system that 
will transform XML using XSLT into XSL-FO, then use FOP-PDF. I 
need to save the XSL-FO files for later "concatenation" with other generated 
reports.

During the 
concatenation process, I need to find all the dates throughout the different 
reports and update them to the current date. Is there an easy way to 
mark a fo:block as containing a date string?

I tried using 
the id="date" attribute, but you can't use that multiple times per 
document. But I need something similiar todistinguish parts of 
the document that are related.

Thanks for any 
help!
Scott


FOP 0.20 leaves image files open?

2001-10-17 Thread Scott Moore



I can't be sure of 
this, but it seems to me that FOP is not closing some files that it 
opens.

Specifically, I'm 
running FOP in a servlet. I generate a couple of PNG image files, 
thenreference those files during my FOP PDF generation. The images 
get embedded in the PDF correctly, but after FOP does it's business, it doesn't 
seem to close the files. On Windows NT, when a file handle is open, it's 
impossible to delete the file until the handle is closed either by the program 
or by the operating system (e.g., program exits and OS releases 
handles).

This is causing 
problems because I can't delete those temporary image files in my servlet 
because of the open file handle.

I searched thru the 
FOP source code and found one place where it seems the file is never 
closed.

PFMReader.loadPFM()

There may be others, 
I didn't know which part of the source code I needed to look thru for image 
references.

Can someone fix this 
for the next version of FOP?

Thanks,

Scott Moore
Senior Developer
netDecide - http://www.netdecide.com/
7600 Leesburg Pike, West Building - Suite 
100
Falls Church, Virginia 22043
(571) 633-6134 (Work)
(571) 633-6003 (Fax)



RE: FOP 0.20 leaves image files open?

2001-10-17 Thread Scott Moore

Yeah, I didn't think it was the culprit.  If you know the Java files related
to opening images, I'll take a look.  But I don't have a whole lot of time
to track this down myself.

I looked in the fop.image directory which actually reads the images, but
they seem to be handed an already open InputStream.  I don't know which Java
classes are opening the files originally.

Scott


-Original Message-
From: Jeremias Maerki [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 17, 2001 10:53 AM
To: [EMAIL PROTECTED]
Subject: Re: FOP 0.20 leaves image files open?


PFMReader has nothing to do with images nor is it active when FOP is
processing files. It is used to create XML font metric files. It doesn't
hurt, that this particular file won't get closed.


On Wed, 17 Oct 2001 10:22:26 -0400 Scott Moore wrote:
 I can't be sure of this, but it seems to me that FOP is not closing some
 files that it opens.
  
 Specifically, I'm running FOP in a servlet.  I generate a couple of PNG
 image files, then reference those files during my FOP PDF generation.  The
 images get embedded in the PDF correctly, but after FOP does it's
business,
 it doesn't seem to close the files.  On Windows NT, when a file handle is
 open, it's impossible to delete the file until the handle is closed either
 by the program or by the operating system (e.g., program exits and OS
 releases handles).
  
 This is causing problems because I can't delete those temporary image
files
 in my servlet because of the open file handle.
  
 I searched thru the FOP source code and found one place where it seems the
 file is never closed.
  
 PFMReader.loadPFM()
  
 There may be others, I didn't know which part of the source code I needed
to
 look thru for image references.
  
 Can someone fix this for the next version of FOP?
  
 Thanks,
  
 Scott Moore
 Senior Developer
 netDecide - http://www.netdecide.com/ http://www.netdecide.com/ 
 7600 Leesburg Pike, West Building - Suite 100
 Falls Church, Virginia  22043
 (571) 633-6134 (Work)
 (571) 633-6003 (Fax)
  

Freundliche Grüsse
OUTLINE AG
Jeremias Märki

mailto:[EMAIL PROTECTED]

Postfach 3954 - Rhynauerstr. 15 - CH-6002 Luzern
Fon +41 (41) 317 2020 - Fax +41 (41) 317 2029
Internet http://www.outline.ch


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




RE: Table Headings

2001-10-15 Thread Scott Moore

Thanks Karen.  That was exactly the problem.  I had just realized that
before I read your email.

Scott

-Original Message-
From: Karen Lease [mailto:[EMAIL PROTECTED]]
Sent: Sunday, October 14, 2001 11:46 AM
To: [EMAIL PROTECTED]
Subject: Re: Table Headings


Hi Scott,

It sounds like you may be putting the background on the block containing
the text. Try putting it on the table-cell itself or even on the row.

HTH,
Karen

Scott Moore wrote:
 
 I'm creating tables for FOP that have a black background with white text
in
 the table header.  The rest of the table (the data) is inverse, with black
 characters and white background.
 
 If the header text in a column doesn't fit on one line, it will wrap,
which
 is a good thing.  The problem is the rest of the headers that don't wrap,
 their black backgrounds stay on one line.  Therefore, the whole table
header
 looks uneven and ugly.  Here's an example, the # are the black background:
 
 -
 -#Column#1##|#This#is#column|
 -   |2##|
 -
 - Table data| blah blah blah|
 -
 
 Are there any settings that can automatically fix this?  I've tried using
 padding-bottom='1em' for the first column, and that kinda works, but
it's
 still slightly off.  The problem is I won't always know which column
 headings wrap because the fonts are user configurable.
 
 Thanks for any help!
 Scott
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




RE: Table Headings

2001-10-15 Thread Scott Moore

Karen,

I have another table related question.  I'm trying to add gridlines into the
table body by specifying:

border-width=1px border-color=black border-bottom-style=solid

on the fo:block/ underneath each cell.  This only works if each cell is
the same height.  Although the text is all rows start on the same line, the
blocks are only as big as they need to be, thus making the border impossible
to line up per cell, if some cells have to wrap text.

I've tried putting those attributes on the fo:table-row object, but they
are ignored.  Is there a way to make gridlines work for variable height
cells?

Thanks,
Scott


-Original Message-
From: Karen Lease [mailto:[EMAIL PROTECTED]]
Sent: Sunday, October 14, 2001 11:46 AM
To: [EMAIL PROTECTED]
Subject: Re: Table Headings


Hi Scott,

It sounds like you may be putting the background on the block containing
the text. Try putting it on the table-cell itself or even on the row.

HTH,
Karen

Scott Moore wrote:
 
 I'm creating tables for FOP that have a black background with white text
in
 the table header.  The rest of the table (the data) is inverse, with black
 characters and white background.
 
 If the header text in a column doesn't fit on one line, it will wrap,
which
 is a good thing.  The problem is the rest of the headers that don't wrap,
 their black backgrounds stay on one line.  Therefore, the whole table
header
 looks uneven and ugly.  Here's an example, the # are the black background:
 
 -
 -#Column#1##|#This#is#column|
 -   |2##|
 -
 - Table data| blah blah blah|
 -
 
 Are there any settings that can automatically fix this?  I've tried using
 padding-bottom='1em' for the first column, and that kinda works, but
it's
 still slightly off.  The problem is I won't always know which column
 headings wrap because the fonts are user configurable.
 
 Thanks for any help!
 Scott
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




RE: Table Headings

2001-10-15 Thread Scott Moore

Have one of the cells wrap text so it grows taller than the other cells.
Then you'll see the problem.

Scott


-Original Message-
From: Shkuro, Yuri [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 15, 2001 2:47 PM
To: '[EMAIL PROTECTED]'
Subject: RE: Table Headings


I put the borders under each cell, and it works fine.

fo:table-cell border-bottom-color=black border-bottom-width=1.0pt
border-bottom-style=solid


Yuri

-Original Message-
From: Scott Moore [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 15, 2001 2:37 PM
To: '[EMAIL PROTECTED]'
Subject: RE: Table Headings


Karen,

I have another table related question.  I'm trying to add gridlines into the
table body by specifying:

border-width=1px border-color=black border-bottom-style=solid

on the fo:block/ underneath each cell.  This only works if each cell is
the same height.  Although the text is all rows start on the same line, the
blocks are only as big as they need to be, thus making the border impossible
to line up per cell, if some cells have to wrap text.

I've tried putting those attributes on the fo:table-row object, but they
are ignored.  Is there a way to make gridlines work for variable height
cells?

Thanks,
Scott


-Original Message-
From: Karen Lease [mailto:[EMAIL PROTECTED]]
Sent: Sunday, October 14, 2001 11:46 AM
To: [EMAIL PROTECTED]
Subject: Re: Table Headings


Hi Scott,

It sounds like you may be putting the background on the block containing
the text. Try putting it on the table-cell itself or even on the row.

HTH,
Karen

Scott Moore wrote:
 
 I'm creating tables for FOP that have a black background with white text
in
 the table header.  The rest of the table (the data) is inverse, with black
 characters and white background.
 
 If the header text in a column doesn't fit on one line, it will wrap,
which
 is a good thing.  The problem is the rest of the headers that don't wrap,
 their black backgrounds stay on one line.  Therefore, the whole table
header
 looks uneven and ugly.  Here's an example, the # are the black background:
 
 -
 -#Column#1##|#This#is#column|
 -   |2##|
 -
 - Table data| blah blah blah|
 -
 
 Are there any settings that can automatically fix this?  I've tried using
 padding-bottom='1em' for the first column, and that kinda works, but
it's
 still slightly off.  The problem is I won't always know which column
 headings wrap because the fonts are user configurable.
 
 Thanks for any help!
 Scott
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




RE: block

2001-10-15 Thread Scott Moore

Try using fo:inline instead of fo:block.  You can have several
fo:inline in the same fo:block parent, which could be on the same line.

fo:block
  fo:inlineFirst text/fo:inline
  fo:inlineSecond text/fo:inline
/fo:block

This way you could define different properties for each fo:inline

Scott

-Original Message-
From: Pablo Iaria [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 15, 2001 3:03 PM
To: [EMAIL PROTECTED]
Subject: fo:block


Hi all,
How can I do to have several blocks in the same row ?

Example:
Suposse I have:

fo:blockFirst text/fo:block
fo:blockSecond text/fo:block

And I want to get First text and second text in the same row.


Thanks in advance,
Pablo.-


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: Slightly off topic, valid syntax

2001-10-12 Thread Scott Moore

Yes on both counts.

- Original Message -
From: Colin Savage [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, October 12, 2001 9:03 AM
Subject: Slightly off topic, valid syntax


 I was experimenting with fo:inline and I am not sure if this is valid?

 fo:blockText before fo:inline color=blueText inside/fo:inline Text
 after/fo:block

 When running thru FOP 0.20.2 it appears to work correctly (i.e. some
text
 in black, then some text in blue, then some text in black), but I was
 wondering if this is valid syntax. Furthermore... is it valid xml?

 Thanks in advance
 Colin

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Large graphics

2001-10-11 Thread Scott Moore



Hi all,

I'm creating a cover page that contains a large 
graphic. Portions of the graphic are transparent (it's a PNG) and I'm 
trying to place the report title in some of the transparent region. But it 
always gets truncated by the graphic image, whether transparent or not. 


Is there a way to write on top of an image? 
Specifically, here's the layout of my cover page:

---

-- 
- Title here -
--
- -
- -
- -
- -
- -
-- 

--
- -
---


The G is the image and the T is the transparent 
part. As you can see, part of the title is in the transparent 
part.

My only solution so far has been to split the 
graphic vertically in half and then try to align the two parts. It almost 
works, but careful examination shows the matchup isn't perfect. It's 
definitely not production quality.

Any help would be appreciated!

Scott


Re: Large graphics

2001-10-11 Thread Scott Moore

It's not implemented in 0.20 either.

- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, October 11, 2001 12:14 PM
Subject: Re: Large graphics



 Scott:
 I have been looking into the background-image property (xsl 7.6.3) of a
 block, but it isn't implemented in FOP 0.18.  If you are on a later
 version, you can try it out.
 -Lou




 Scott Moore [EMAIL PROTECTED] on 10/11/2001 09:05:08 AM

 Please respond to [EMAIL PROTECTED]

 To:   FOP List [EMAIL PROTECTED]
 cc:

 Subject:  Large graphics

 Hi all,

 I'm creating a cover page that contains a large graphic.  Portions of the
 graphic are transparent (it's a PNG) and I'm trying to place the report
 title in some of the transparent region.  But it always gets truncated by
 the graphic image, whether transparent or not.

 Is there a way to write on top of an image?  Specifically, here's the
 layout of my cover page:

 ---
 - -
 - Title here  -
 - -
 - -
 - -
 - -
 - -
 - -
 - -
 - -
 - -
 ---


 The G is the image and the T is the transparent part.  As you can see,
part
 of the title is in the transparent part.

 My only solution so far has been to split the graphic vertically in half
 and then try to align the two parts.  It almost works, but careful
 examination shows the matchup isn't perfect.  It's definitely not
 production quality.

 Any help would be appreciated!

 Scott







 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: Fop speed improvements

2001-10-11 Thread Scott Moore

Wow.  That's slow.  I'm also using it in a Servlet and I don't have any
performance problems.  I generated a 100 page PDF in about 20 seconds, and
that included many graphics and short tables.  How big is your table?  I
typically have between 5-20 rows.

I'm using JDF 1.3.1_01 with Tomcat 3.2.3.  Are you using FOP 0.20?  I am.

Scott

- Original Message -
From: Pablo Iaria [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, October 11, 2001 1:50 PM
Subject: Fop speed improvements


 Hi all,
 This is the second message I post about fop performance; is there a
way
 to make it faster or useable.
 I'm generating a pdf from a servlet and although it's very easy to
use,
 it's VERY slow and causes the browser to raise a timeout exception. I'm
 using a Pentium III 500 + 500 Mb + jdk1.3 machine and it takes 5 minutes
to
 get a 2 pages document with no graphics, just one big table with 5
 columns...

 Am I doing something wrong or fop is not ready for real-life ?

 Thanks in advance,
 Pablo.-


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]