DO NOT REPLY [Bug 41488] New: - [PATCH] PNG causes NPE for RTF output

2007-01-29 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=41488.
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=41488

   Summary: [PATCH] PNG causes NPE for RTF output
   Product: Fop
   Version: 1.0dev
  Platform: PC
OS/Version: Linux
Status: NEW
  Severity: normal
  Priority: P2
 Component: rtf
AssignedTo: fop-dev@xmlgraphics.apache.org
ReportedBy: [EMAIL PROTECTED]


A fix for bug 41149. As proposed by Jeremias, ImageIOImage now doesn't call
loadBitmap() if it has the width and height of the image. I tested the patched
version width JPG, GIF and PNG images for PS, PDF and RTF output. So far it
seems to be OK...

-- 
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 41488] - [PATCH] PNG causes NPE for RTF output

2007-01-29 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=41488.
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=41488





--- Additional Comments From [EMAIL PROTECTED]  2007-01-29 02:06 ---
Created an attachment (id=19474)
 -- (http://issues.apache.org/bugzilla/attachment.cgi?id=19474action=view)
Patch file


-- 
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 41488] - [PATCH] PNG causes NPE for RTF output

2007-01-29 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=41488.
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=41488





--- Additional Comments From [EMAIL PROTECTED]  2007-01-29 02:07 ---
Created an attachment (id=19475)
 -- (http://issues.apache.org/bugzilla/attachment.cgi?id=19475action=view)
Test file


-- 
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 41488] - [PATCH] PNG causes NPE for RTF output

2007-01-29 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=41488.
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=41488


[EMAIL PROTECTED] changed:

   What|Removed |Added

  Attachment #19475|application/octet-stream|application/zip
  mime type||




-- 
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.


Error: Content is not allowed in prolog

2007-01-29 Thread Jeff Vannest
I realize this is not regarding the development of FOP directly, however,
since embedding is a development activity - rather than simply use - I'm
hoping this message is appropriate. If not, please let me know and I will
redirect.

I've embedded FOP 0.93 successfully am able to process XML+XSLFO=PDF.
However, when I try embed fonts I get this error message:

Caught exception: javax.xml.transform.TransformerException:
java.lang.RuntimeException: Content is not allowed in prolog.

This only occurs when I place the following into my userconfig.xml file:

font metrics-url=arial.ttf embed-url=arial.xml
   font-triplet name=Arial style=normal weight=normal/
/font

The arial.xml file was created using the following command line:

java -cp
build\fop.jar;lib\avalon-framework-4.2.0.jar;lib\commons-logging-1.0.4.jar;l
ib\commons-io-1.1.jar org.apache.fop.fonts.apps.TTFReader ARIAL.TTF
arial.xml

The resulting arial.xml file starts with ?xml version=1.0
encoding=UTF-8? with no preceding characters, and is followed with a line
break and the font-metrics tag as the root.

If I comment out the font metrics for the font everything works correctly
again.

Does anyone know why I'm getting the Content is not allowed in prolog
error?

TIA,
Jeff




[Fwd: Re: Error: Content is not allowed in prolog]

2007-01-29 Thread Adrian Cumiskey

Hi Jeff,

Please take a look at Jeremias's reply to your posting on fop-users.

All the best,

Adrian.
---BeginMessage---

On 26.01.2007 15:42:49 Jeff Vannest wrote:
 I've embedded FOP 0.93 successfully am able to process XML+XSLFO=PDF.
 However, when I try embed fonts I get this error message:
 
 Caught exception: javax.xml.transform.TransformerException:
 java.lang.RuntimeException: Content is not allowed in prolog.
 
 This only occurs when I place the following into my userconfig.xml file:
 
 font metrics-url=arial.ttf embed-url=arial.xml

Should be:
font metrics-url=arial.xml embed-url=arial.ttf


font-triplet name=Arial style=normal weight=normal/
 /font
 
 The arial.xml file was created using the following command line:
 
 java -cp
 build\fop.jar;lib\avalon-framework-4.2.0.jar;lib\commons-logging-1.0.4.jar;l
 ib\commons-io-1.1.jar org.apache.fop.fonts.apps.TTFReader ARIAL.TTF
 arial.xml
 
 The resulting arial.xml file starts with ?xml version=1.0
 encoding=UTF-8? with no preceding characters, and is followed with a line
 break and the font-metrics tag as the root.
 
 If I comment out the font metrics for the font everything works correctly
 again.
 
 Does anyone know why I'm getting the Content is not allowed in prolog
 error?
 
 TIA,
 Jeff



Jeremias Maerki


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


---End Message---


Re: DO NOT REPLY [Bug 41440] - PDFSVGHandler causes missing resource bundle

2007-01-29 Thread thomas . deweese
Hi All,

I think this bug should now be fixed in the SVN version of Batik. 
Please report back quickly if it isn't.

[EMAIL PROTECTED] wrote on 01/26/2007 08:22:59 PM:

 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=41440.
 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=41440
 
 
 Bug 41440 depends on bug 41473, which changed state.
 
 Bug 41473 Summary: DefaultBrokenLinkProvider causes 
MissingResourceException
 http://issues.apache.org/bugzilla/show_bug.cgi?id=41473
 
What|Old Value   |New Value
 

  Status|NEW |RESOLVED
  Resolution||DUPLICATE
 
 
 
 -- 
 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.