DO NOT REPLY [Bug 39033] - A minor Java2D compatibility issue

2006-03-20 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=39033.
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=39033





--- Additional Comments From [EMAIL PROTECTED]  2006-03-20 11:02 ---
Created an attachment (id=17925)
 -- (http://issues.apache.org/bugzilla/attachment.cgi?id=17925action=view)
PDFGraphics2D.java patch


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.


DO NOT REPLY [Bug 39034] New: - page-number-citation : the text after overlaps the page number

2006-03-20 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=39034.
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=39034

   Summary: page-number-citation : the text after overlaps the page
number
   Product: Fop
   Version: 0.91
  Platform: Other
OS/Version: Windows XP
Status: NEW
  Severity: normal
  Priority: P2
 Component: pdf
AssignedTo: fop-dev@xmlgraphics.apache.org
ReportedBy: [EMAIL PROTECTED]


Hi,
in the FAQs I saw that 3.9. Page numbers are not properly right aligned. and
probably this bug is related to it: I noticed that if I have the following:

...
fo:list-item-body start-indent=body-start()
 fo:block
  fo:basic-link internal-destination=_ac7sqrcgaqacahbmText text[sez. 2.2, p.
fo:page-number-citation ref-id=_ac7sqrcgaqacahbm/]/fo:basic-link
 /fo:block
...

in the resulting PDF the square bracket ] overlaps the page number's second
character.
Andrea.

Note: FOP Version 0.91beta

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.


[EMAIL PROTECTED]: Project xml-fop (in module xml-fop) failed

2006-03-20 Thread Sam Ruby
To whom it may engage...

This is an automated request, but not an unsolicited one. For 
more information please visit http://gump.apache.org/nagged.html, 
and/or contact the folk at [EMAIL PROTECTED]

Project xml-fop has an issue affecting its community integration.
This issue affects 1 projects,
 and has been outstanding for 30 runs.
The current state of this project is 'Failed', with reason 'Build Failed'.
For reference only, the following projects are affected by this:
- xml-fop :  XSL-FO (Formatting Objects) processor


Full details are available at:
http://vmgump.apache.org/gump/public/xml-fop/xml-fop/index.html

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -DEBUG- Sole output [fop.jar] identifier set to project name
 -INFO- Made directory [/usr/local/gump/public/workspace/xml-fop/build/classes]
 -INFO- Failed with reason build failed
 -INFO- Failed to extract fallback artifacts from Gump Repository



The following work was performed:
http://vmgump.apache.org/gump/public/xml-fop/xml-fop/gump_work/build_xml-fop_xml-fop.html
Work Name: build_xml-fop_xml-fop (Type: Build)
Work ended in a state of : Failed
Elapsed: 42 secs
Command Line: java -Djava.awt.headless=true 
-Xbootclasspath/p:/usr/local/gump/public/workspace/xml-commons/java/external/build/xml-apis.jar:/usr/local/gump/public/workspace/xml-xerces2/build/xercesImpl.jar:/usr/local/gump/public/workspace/xml-xalan/build/serializer.jar:/usr/local/gump/public/workspace/xml-xalan/build/xalan-unbundled.jar
 org.apache.tools.ant.Main -Dgump.merge=/x1/gump/public/gump/work/merge.xml 
-Dbuild.sysclasspath=only package 
[Working Directory: /usr/local/gump/public/workspace/xml-fop]
CLASSPATH: 
/opt/jdk1.5/lib/tools.jar:/usr/local/gump/public/workspace/xml-fop/build/classes:/usr/local/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-swing.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-trax.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-junit.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant.jar:/usr/local/gump/packages/junit3.8.1/junit.jar:/usr/local/gump/public/workspace/xml-commons/java/build/resolver.jar:/usr/local/gump/public/workspace/xml-batik/batik-20032006/lib/batik-util.jar:/usr/local/gump/public/workspace/xml-batik/batik-20032006/lib/batik-swing.jar:/usr/local/gump/public/workspace/xml-batik/batik-20032006/lib/batik-css.jar:/usr/local/gump/public/workspace/xml-batik/batik-20032006/lib/batik-bridge.jar:/usr/local/gump/public/workspace/xml-batik/batik-20032006/lib/batik-xml.jar:/usr/local/gump/public/workspace/xml-batik/batik-20032006/lib/batik-svg-dom.jar:/usr/local/gump/public/workspace/xml-batik/batik-20032006/lib/batik-awt-util.jar:/usr/local/gump/public/workspace/xml-batik/batik-20032006/lib/batik-transcoder.jar:/usr/local/gump/public/workspace/xml-batik/batik-20032006/lib/batik-gui-util.jar:/usr/local/gump/public/workspace/xml-batik/batik-20032006/lib/batik-dom.jar:/usr/local/gump/public/workspace/xml-batik/batik-20032006/lib/batik-ext.jar:/usr/local/gump/public/workspace/xml-batik/batik-20032006/lib/batik-script.jar:/usr/local/gump/public/workspace/xml-batik/batik-20032006/lib/batik-svggen.jar:/usr/local/gump/public/workspace/xml-batik/batik-20032006/lib/batik-parser.jar:/usr/local/gump/public/workspace/xml-batik/batik-20032006/lib/batik-extension.jar:/usr/local/gump/public/workspace/xml-batik/batik-20032006/lib/batik-gvt.jar:/usr/local/gump/public/workspace/excalibur/framework/api/target/excalibur-framework-api-20032006.jar:/usr/local/gump/public/workspace/excalibur/framework/impl/target/excalibur-framework-impl-20032006.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-20032006.jar:/usr/local/gump/public/workspace/jakarta-commons/io/build/jakarta-commons-io-20032006.jar:/usr/local/gump/public/workspace/jakarta-servletapi/dist/lib/servlet.jar
-
[javac] PNGRed red = new PNGRed(stream, param); 
[javac] ^
[javac] 
/x1/gump/public/workspace/xml-fop/src/java/org/apache/fop/image/PNGImage.java:57:
 cannot find symbol
[javac] symbol  : class PNGRed
[javac] location: class org.apache.fop.image.PNGImage
[javac] PNGRed red = new PNGRed(stream, param); 
[javac]  ^
[javac] 
/x1/gump/public/workspace/xml-fop/src/java/org/apache/fop/layoutmgr/inline/CharacterLayoutManager.java:149:
 warning: [deprecation] org.apache.fop.area.inline.Character in 
org.apache.fop.area.inline has been deprecated
[javac] (((org.apache.fop.area.inline.Character) 
curArea).getChar());
[javac]  ^
  

Re: Re: Suppress RTF ExternalGraphicException

2006-03-20 Thread b . ohnsorg

- original Nachricht 

Betreff: Re: Suppress RTF ExternalGraphicException
Gesendet: Fr 17 Mär 2006 20:26:16 CET
Von: Andreas L Delmelle[EMAIL PROTECTED]

 
 On Mar 17, 2006, at 20:12, Will Peterson wrote:
 
 Hi Will,
 
  Is there a way to suppress the ExternalGraphicException text that  
  renders inside an RTF document?  Such that the document would be  
  rendered but exclude the text:
  org.apache.fop.render.rtf.rtflib.rtfdoc.RtfExternalGraphic 
  $ExternalGraphicException: The tag fo:external-graphic does not  
  support gif - image type. (as well as the GIF image, of course)
 
 I'm afraid it's hard-coded, but if you don't mind altering the class  
 itself, and then rebuild FOP, easy.
 Just change the class in question's writeRtfContent() method, and  
 make that catch block a NOP. Should work nicely.
But where's the error message? RTF-output does not produce any errors, that 
it's not able to insert the image...the better way would be, to transform all 
the GIFs to PNGs. I use docbook to create documents, so there's no need for me 
to write XSL-FO (it's also easy to include into any Java-application, just use 
the docbook-stylesheets and DTDs) AND it's possible to specify different media 
types for different rendering systems (GIF for HTML, PNG for FO or RTF-FO). So 
you see the image, too

 
 Cheers,
 
 Andreas
 
 

--- original Nachricht Ende 











Re: Suppress RTF ExternalGraphicException

2006-03-20 Thread Andreas L Delmelle

On Mar 20, 2006, at 19:17, [EMAIL PROTECTED] wrote:


Von: Andreas L Delmelle[EMAIL PROTECTED]


On Mar 17, 2006, at 20:12, Will Peterson wrote:

Hi Will,


Is there a way to suppress the ExternalGraphicException text that
renders inside an RTF document?  Such that the document would be
rendered but exclude the text:
org.apache.fop.render.rtf.rtflib.rtfdoc.RtfExternalGraphic
$ExternalGraphicException: The tag fo:external-graphic does not
support gif - image type. (as well as the GIF image, of course)


I'm afraid it's hard-coded, but if you don't mind altering the class
itself, and then rebuild FOP, easy.
Just change the class in question's writeRtfContent() method, and
make that catch block a NOP. Should work nicely.
But where's the error message? RTF-output does not produce any  
errors, that it's not able to insert the image...the better way  
would be, to transform all the GIFs to PNGs. I use docbook to  
create documents, so there's no need for me to write XSL-FO (it's  
also easy to include into any Java-application, just use the  
docbook-stylesheets and DTDs) AND it's possible to specify  
different media types for different rendering systems (GIF for  
HTML, PNG for FO or RTF-FO). So you see the image, too


Hey, if you wanna have a go at converting GIFs to PNGs on-the-fly,  
then by all means, go ahead. The community will be grateful. :)


The OP asked how he could turn it off, hence my answer.

Cheers,

Andreas