DO NOT REPLY [Bug 29458] New: - no image is rendered with option -print

2004-06-09 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=29458.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=29458

no image is rendered with option -print

   Summary: no image is rendered with option -print
   Product: Fop
   Version: 0.20.5
  Platform: PC
OS/Version: Other
Status: NEW
  Severity: Normal
  Priority: Other
 Component: images
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


An external graphik exist in a fo:block area. The image was rendered into pdf 
or postscript. But the image wasn't rendered, when the -print option is used.


DO NOT REPLY [Bug 9379] - MIF Renderer generates incorrect MIF code

2004-06-09 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=9379.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=9379

MIF Renderer generates incorrect MIF code





--- Additional Comments From [EMAIL PROTECTED]  2004-06-09 09:14 ---
the example examples/fo/basic/simple.fo create this problem


DO NOT REPLY [Bug 29459] New: - Error in processing xml-file with xsl-stylesheet

2004-06-09 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=29459.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=29459

Error in processing xml-file with xsl-stylesheet

   Summary: Error in processing xml-file with xsl-stylesheet
   Product: Fop
   Version: 0.20.5
  Platform: PC
OS/Version: Windows NT/2K
Status: NEW
  Severity: Normal
  Priority: Other
 Component: general
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


If I run fop with:
fop.bat -xml daten.xml -xsl daten.xsl daten.pdf I got the error:
[ERROR] org.apache.fop.apps.FOPException: A table cell must be child of 
fo:table-row, not fo:table-body
I chekc th fo-output with xalan.bat and all looks fine.
If I run fop with:
fop.bat xalanout.fo daten.pdf
it works.
I assume the probleme is located in the following codesnip:

xsl:if test=position() mod 2
  xsl:text disable-output-escaping=yeslt;fo:table-row 
height=quot;14cmquot; gt;
  /xsl:text
/xsl:if
xsl:call-template name=RezeptCell/
xsl:if test=not(position() mod 2)
  xsl:text disable-output-escaping=yeslt;/fo:table-rowgt;
  /xsl:text
/xsl:if
xsl:if test=position()=last() and position() mod 2
  xsl:text disable-output-escaping=yeslt;/fo:table-rowgt;
  /xsl:text
/xsl:if


DO NOT REPLY [Bug 29459] - Error in processing xml-file with xsl-stylesheet

2004-06-09 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=29459.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=29459

Error in processing xml-file with xsl-stylesheet

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||INVALID



--- Additional Comments From [EMAIL PROTECTED]  2004-06-09 13:16 ---
This is *not* a bug. 

It is not valid to generate the start tag in one template and the end tag in 
another template. If this becomes necessary to achieve what you want then you 
need to re-think your XSL stylesheet design.

Using xsl:text with disable-output-escaping=yes is a trick that only works 
when the result of the XSL tranform is serialized to disk. When you supply xsl 
and xml files as input to the command line, the transform result is not 
serialized but rather passed as SAX events to FOP. Hence your trick fails.

If you are having difficulties then you should ask on the fop-user mailing 
list before raising a bug.


DO NOT REPLY [Bug 29458] - no image is rendered with option -print

2004-06-09 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=29458.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=29458

no image is rendered with option -print





--- Additional Comments From [EMAIL PROTECTED]  2004-06-09 13:17 ---
Please provide more information:

What OS/version? 
What JDK/version?
Image Type? JPG, GIF, TIFF, etc

and please provide a sample.


DO NOT REPLY [Bug 29451] - Setting font to Bold not displaying on PDF.

2004-06-09 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=29451.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=29451

Setting font to Bold not displaying on PDF.





--- Additional Comments From [EMAIL PROTECTED]  2004-06-09 13:31 ---
I cant see anything wrong in the information you have provided. Please attach 
(not paste into the bug text) your full FO, user config file, fonts and font 
metrics file to this bug report and I will be able to investigate further.


DO NOT REPLY [Bug 29453] - Multiple Cell's of different heights in table vertical-align=top, is not working

2004-06-09 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=29453.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=29453

Multiple Cell's of different heights in table vertical-align=top, is not working

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||INVALID



--- Additional Comments From [EMAIL PROTECTED]  2004-06-09 13:26 ---
I dont quite understand your point, the property display-align should be used 
to vertically align content within a table cell. vertical-align has a 
completely different purpose. It is a shorthand for properties that effect the 
baseline positioning of inline text.

I do not believe this is a bug. It is bad etiquette to ask questions in bug 
reports. Instead ask question on the fop-user mailing list. See the website 
for instructions on how to subscribe:

http://xml.apache.org/fop/maillist.html#fop-user


DO NOT REPLY [Bug 29458] - no image is rendered with option -print

2004-06-09 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=29458.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=29458

no image is rendered with option -print

[EMAIL PROTECTED] changed:

   What|Removed |Added

 OS/Version|Other   |Windows NT/2K



--- Additional Comments From [EMAIL PROTECTED]  2004-06-09 13:39 ---
The Image is xml_fax.tif from the example graphics directory.
The JDK-Version is 1.4.2_04.
example:
?xml version=1.0 encoding=iso-8859-1?

fo:root font-family=Times Roman font-size=12pt text-align=center 
xmlns:fo=http://www.w3.org/1999/XSL/Format;

fo:layout-master-set

fo:simple-page-master master-name=only page-height=29.7cm page-
width=21cm margin-top=0cm
  margin-bottom=1cm margin-left=1cm margin-right=0cm
  fo:region-body margin-top=2cm margin-bottom=0cm/
  fo:region-before extent=0cm/
  fo:region-after extent=0cm/
/fo:simple-page-master

fo:page-sequence-master master-name=run1
  fo:repeatable-page-master-reference master-reference=only/
/fo:page-sequence-master

/fo:layout-master-set

fo:page-sequence id=1 master-reference=only
  fo:flow flow-name=xsl-region-body
fo:block border-color=black border-style=solid border-width=.3mm 
margin-right=0.5cm margin-bottom=6cm
  fo:external-graphic margin-left=0.2cm src=url(c:\projekte\fop-0.20.5
\examples\fo\graphics\xml_fax.tif)/
/fo:block
  /fo:flow
/fo:page-sequence
/fo:root


Re: Javasrc, JXR and documentation

2004-06-09 Thread Clay Leeds
On Jun 8, 2004, at 6:48 PM, Peter B. West wrote:
It's not a question of moving away, necessarily.  What I'm looking for  
is a supplementary facility.  Look at
http://xml.apache.org/fop/design/alt.design/properties/classes- 
overview.html
and click on one of the class name links on the left of the main page,  
e.g. PropNames.  That opens an iframe with the source.  On linux, in  
Mozilla, it also positions the iframe at the top of the page.   
Clicking the link again - it's a toggle - restores the previous  
position of the page.  When I first set is up, this tidy behaviour was  
not available on Windows using either Mozilla or IE, but that may have  
changed by now.
FWIW, it works nicely in Mac OS X 10.3.4, Safari 1.2.2 (v125.7)  
(although it doesn't position the iFrame at the top of the page) as  
well as Mozilla 1.7b (where it *does* jump to the top of the iFrame).

The problem is that there was no clean way to automatically generate  
the htmlized source.  It's that supplementary facility that I'm  
looking for.
OK. I'll see what I can dig up on the subject. If you have any other  
keywords I can use in my search, by all means, send 'em my way!

Web Maestro Clay


[3rd post] Memory growth in version 0.20.5

2004-06-09 Thread Mark C. Allman




Is there a way to manage FOP's memory usage? I'm not talking about increasing the JVM memory and stack space, I mean the amount of memory FOP allocates as a function of job size. What we're experiencing is an almost linear growth in memory demand for the reports we produce.

Any and all suggestions, ideas, etc., would be helpful. Please ask questions if that'd help.




-- Mark C. Allman
-- Allman Professional Consulting, Inc.
-- www.allmanpc.com, 617-947-4263

BusinessMsg -- the secure, managed, 100% J2EE Enterprise IM plug-in solution.









Re: Javasrc, JXR and documentation

2004-06-09 Thread Peter B. West
Clay Leeds wrote:
On Jun 8, 2004, at 6:48 PM, Peter B. West wrote:
The problem is that there was no clean way to automatically generate  
the htmlized source.  It's that supplementary facility that I'm  
looking for.

OK. I'll see what I can dig up on the subject. If you have any other  
keywords I can use in my search, by all means, send 'em my way!
Clay,
I would recommend emailing Nicola on the topic.  I'm sure he would be 
only too pleased to tell you about the situation with Javasrc.

Peter
--
Peter B. West http://www.powerup.com.au/~pbwest/resume.html


Re: Javasrc, JXR and documentation

2004-06-09 Thread Clay Leeds
Peter,
On Jun 9, 2004, at 8:06 AM, Peter B. West wrote:
Clay Leeds wrote:
On Jun 8, 2004, at 6:48 PM, Peter B. West wrote:
The problem is that there was no clean way to automatically generate 
 the htmlized source.  It's that supplementary facility that I'm  
looking for.
OK. I'll see what I can dig up on the subject. If you have any other  
keywords I can use in my search, by all means, send 'em my way!
Clay,
I would recommend emailing Nicola on the topic.  I'm sure he would be 
only too pleased to tell you about the situation with Javasrc.

Peter
--
Peter B. West http://www.powerup.com.au/~pbwest/resume.html
As you guessed, Nicola was only too happy to help. Now I just need to 
get the FOP site up and running with Forrest (so we can include Whole 
Site PDF  HTML links on our site!).

Web Maestro Clay
Nicola's response is below:
Begin forwarded message:
From: Nicola Ken Barozzi [EMAIL PROTECTED]
Date: June 9, 2004 10:13:13 AM PDT
To: Clay Leeds [EMAIL PROTECTED]
Subject: Re: Possibility of Using Javasrc for FOP
Clay Leeds wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi Nicola,
We are exploring the possibility of using Javasrc in generating  
cross-referenced source in html format, into which we can point from  
the web-site documentation. Here's the thread[1] to follow for info.
Javasrc is now in Forrest scratchpad.
Get Forrest from SVN, install graphviz [x1] for a complete build, cd 
into scratchpad/forrestdoc, then run

  build project -Dproject.dir=[enter base project dir here]
It will generate documentation with javadocs, javasrc, ant docs with 
dependency graphs, full class diagram, javascript docs.

Here is an example:
http://cvs.apache.org/~nicolaken/whiteboard/forrestdoc/
Note that the colors of the java src can be made much more different, 
they are more varied than JXR.

Peter West's alt-design has an example[2] of what we want to do:
[Peter West]
click on one of the class name links on the left of the main page, 
e.g.  PropNames.  That opens an iframe with the source.  On linux, in 
 Mozilla, it also positions the iframe at the top of the page.  
Clicking  the link again - it's a toggle - restores the previous 
position of the  page.
[/Peter West]
That's cool!
Currently we are focusing on fixing bugs for a 0.6 release, but doing 
this is on my chart.

Actually, what I would like to do is to integrate this forrestdoc in 
forrest, and have forrest create a complete pdf, htmlhelp and javahelp 
files for the whole site.

Also in this I would like to add something like this, so that users 
can browse the javadocs and the source dynamically without having to 
statically generate all the docs (just an index):

   http://chaperon.sourceforge.net/screenshots.html
And then integrate all these docs in our Lucene-based search.
Please let me know if there's any other information I can provide.
More precisely, what can I do for you? :-)
Given the above, I think you have enough to start off helping 
somewhat. For any other discussion, please refer to 
[EMAIL PROTECTED] (soon [EMAIL PROTECTED]).

TIA, and thanks for contacting me on this!
Thanks!
Web Maestro Clay
[1]
http://marc.theaimsgroup.com/?l=fop-devm=108670344811832w=2
[2]
http://xml.apache.org/fop/design/alt.design/properties/classes- 
overview.html
[x1] http://www.research.att.com/sw/tools/graphviz/
--
Nicola Ken Barozzi   [EMAIL PROTECTED]
- verba volant, scripta manent -
   (discussions get forgotten, just code remains)



DO NOT REPLY [Bug 29458] - no image is rendered with option -print

2004-06-09 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=29458.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=29458

no image is rendered with option -print

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||WONTFIX



--- Additional Comments From [EMAIL PROTECTED]  2004-06-09 19:10 ---
TIFF images can't be used in the AWT and the print renderer. Use another graphic
format.


Re: [3rd post] Memory growth in version 0.20.5

2004-06-09 Thread J.Pietschmann
Mark C. Allman wrote:
Is there a way to manage FOP's memory usage?  I'm not talking about 
increasing the JVM memory and stack space, I mean the amount of memory 
FOP allocates as a function of job size.  What we're experiencing is an 
almost linear growth in memory demand for the reports we produce.

Check *all* points mentioned in
 http://xml.apache.org/fop/running.html#memory
Tables in particular cause a linearly increasing memory consumption due
to a sort of a memory leak. If you are adventurous, there is an
unreleased fix for this in the repository.
J.Pietschmann


DO NOT REPLY [Bug 29486] - Consolidate page generation code into FOTreeHandler

2004-06-09 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=29486.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=29486

Consolidate page generation code into FOTreeHandler





--- Additional Comments From [EMAIL PROTECTED]  2004-06-09 23:42 ---
Created an attachment (id=11807)
patch file


DO NOT REPLY [Bug 29451] - Setting font to Bold not displaying on PDF.

2004-06-09 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=29451.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=29451

Setting font to Bold not displaying on PDF.





--- Additional Comments From [EMAIL PROTECTED]  2004-06-09 23:57 ---
Created an attachment (id=11808)
fopconfig.xml


DO NOT REPLY [Bug 29451] - Setting font to Bold not displaying on PDF.

2004-06-09 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=29451.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=29451

Setting font to Bold not displaying on PDF.





--- Additional Comments From [EMAIL PROTECTED]  2004-06-09 23:58 ---
Created an attachment (id=11809)
fo file


DO NOT REPLY [Bug 29451] - Setting font to Bold not displaying on PDF.

2004-06-09 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=29451.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=29451

Setting font to Bold not displaying on PDF.





--- Additional Comments From [EMAIL PROTECTED]  2004-06-09 23:58 ---
Created an attachment (id=11810)
font file


DO NOT REPLY [Bug 29451] - Setting font to Bold not displaying on PDF.

2004-06-09 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=29451.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=29451

Setting font to Bold not displaying on PDF.





--- Additional Comments From [EMAIL PROTECTED]  2004-06-09 23:59 ---
Created an attachment (id=11811)
metric file