Null pointer exception Tiff

2007-11-06 Thread juanita

When I am trying to use the xsl:fo processor for a tiff Image I get the
following exception:
java.lang.NullPointerException
at org.apache.fop.image.TIFFImage.decodeImage(TIFFImage.java:77)
at
org.apache.fop.image.XmlGraphicsCommonsImage.loadDimensions(XmlGraphicsCommonsImage.java:78)
I already read the existing related issue but I do not want to add this
patch I want to use fop.jar
as it is.
I am using java 1.5 and fop 0.93

Any suggestions?Or at least any clue of what this exception means?

Thanking you in advance.
-- 
View this message in context: 
http://www.nabble.com/Null-pointer-exception-Tiff-tf4756992.html#a13603302
Sent from the FOP - Dev mailing list archive at Nabble.com.



MathML and fop

2007-11-06 Thread juanita

I am using fop 0.93 and I want to be able to display a MathML object 
in the generated pdf. I read that I can use JEuclid jar for this reason.
I download jeuclid-fop-3.0.1.jar for this reason and added in the lib
directory of fop but 
there is no change.
Is this version correct or it only aplies for fop 0.94?
I use a fo.xsl that generates the fo.fo from an html and this fo.fo is then
generates a pdf.
the MathMl exists in the html in an  tag and in the fo.xsl  I use the
fo:external-graphic..
...Any clues?

Thank you...


-- 
View this message in context: 
http://www.nabble.com/MathML-and-fop-tf4757033.html#a13603460
Sent from the FOP - Dev mailing list archive at Nabble.com.



Re: MathML and fop

2007-11-06 Thread Max Berger
Dear Juanita,

you mail (this and the last one) should probably go to fop-users instead
of fop-dev. 

The JEuclid FOP plugin requires FOP 0.94. Complete installation
instructions are available in the README.fop file in the JEuclid bundle.
Please send an email to [EMAIL PROTECTED] if you have
further problems with math.

Max Berger

Am Dienstag, den 06.11.2007, 01:42 -0800 schrieb juanita:
 I am using fop 0.93 and I want to be able to display a MathML object 
 in the generated pdf. I read that I can use JEuclid jar for this reason.
 I download jeuclid-fop-3.0.1.jar for this reason and added in the lib
 directory of fop but 
 there is no change.
 Is this version correct or it only aplies for fop 0.94?
 I use a fo.xsl that generates the fo.fo from an html and this fo.fo is then
 generates a pdf.
 the MathMl exists in the html in an  tag and in the fo.xsl  I use the
 fo:external-graphic..
 ...Any clues?
 
 Thank you...
 
 


signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


Re: Dramatic improvement of PDF text painting quality for SVG

2007-11-06 Thread thomas . deweese
Hi Jeremias,

Jeremias Maerki [EMAIL PROTECTED] wrote on 11/03/2007 07:22:17 AM:

 As you may have see, I've reimplemented the PDFTextPainter which is part
 of the PDFTranscoder. All most all text is now painted using PDF text
 painting primitives (except for SVG fonts and where filters are used).
 
 The advantages: smaller PDF files, better visible quality, copy/paste
 is possible.

   This is a great addition.  Thanks for taking the time to implement
this.



DO NOT REPLY [Bug 43803] New: - IndexOutOfBoundsException error

2007-11-06 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=43803.
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=43803

   Summary: IndexOutOfBoundsException error
   Product: Fop
   Version: 0.94
  Platform: PC
OS/Version: Windows XP
Status: NEW
  Severity: normal
  Priority: P2
 Component: pdf
AssignedTo: fop-dev@xmlgraphics.apache.org
ReportedBy: [EMAIL PROTECTED]


Small fo file will be attached. Using default fop.xconf .

Exception:

Nov 7, 2007 11:21:37 AM org.apache.fop.cli.Main startFOP
SEVERE: Exception
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:168)
at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:115)
at org.apache.fop.cli.Main.startFOP(Main.java:166)
at org.apache.fop.cli.Main.main(Main.java:197)

-- 
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 43803] - IndexOutOfBoundsException error

2007-11-06 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=43803.
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=43803





--- Additional Comments From [EMAIL PROTECTED]  2007-11-06 19:33 ---
Created an attachment (id=21093)
 -- (http://issues.apache.org/bugzilla/attachment.cgi?id=21093action=view)
Small fo file that produces the error


-- 
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 43803] - IndexOutOfBoundsException error

2007-11-06 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=43803.
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=43803





--- Additional Comments From [EMAIL PROTECTED]  2007-11-06 19:37 ---
Full error log:

java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.RangeCheck(Unknown Source)
at java.util.ArrayList.get(Unknown Source)
at
org.apache.fop.layoutmgr.table.TableContentLayoutManager.iterateAndPaintPositions(TableContentLayoutManager.java:727)
at
org.apache.fop.layoutmgr.table.TableContentLayoutManager.addAreas(TableContentLayoutManager.java:694)
at
org.apache.fop.layoutmgr.table.TableLayoutManager.addAreas(TableLayoutManager.java:334)
at
org.apache.fop.layoutmgr.BlockLayoutManager.addAreas(BlockLayoutManager.java:393)
at 
org.apache.fop.layoutmgr.AreaAdditionUtil.addAreas(AreaAdditionUtil.java:118)
at 
org.apache.fop.layoutmgr.FlowLayoutManager.addAreas(FlowLayoutManager.java:297)
at org.apache.fop.layoutmgr.PageBreaker.addAreas(PageBreaker.java:241)
at 
org.apache.fop.layoutmgr.AbstractBreaker.addAreas(AbstractBreaker.java:507)
at 
org.apache.fop.layoutmgr.AbstractBreaker.addAreas(AbstractBreaker.java:370)
at org.apache.fop.layoutmgr.PageBreaker.doPhase3(PageBreaker.java:262)
at 
org.apache.fop.layoutmgr.AbstractBreaker.doLayout(AbstractBreaker.java:345)
at 
org.apache.fop.layoutmgr.AbstractBreaker.doLayout(AbstractBreaker.java:263)
at
org.apache.fop.layoutmgr.PageSequenceLayoutManager.activateLayout(PageSequenceLayoutManager.java:144)
at 
org.apache.fop.area.AreaTreeHandler.endPageSequence(AreaTreeHandler.java:233)
at 
org.apache.fop.fo.pagination.PageSequence.endOfNode(PageSequence.java:145)
at 
org.apache.fop.fo.FOTreeBuilder$MainFOHandler.endElement(FOTreeBuilder.java:378)
at org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:194)
at
org.apache.xalan.transformer.TransformerIdentityImpl.endElement(TransformerIdentityImpl.java:1101)
at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown 
Source)
at 
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
Source)
at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at
org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:484)
at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:165)
at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:115)
at org.apache.fop.cli.Main.startFOP(Main.java:166)
at org.apache.fop.cli.Main.main(Main.java:197)

-- 
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 43803] - IndexOutOfBoundsException error

2007-11-06 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=43803.
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=43803





--- Additional Comments From [EMAIL PROTECTED]  2007-11-06 20:20 ---
Created an attachment (id=21094)
 -- (http://issues.apache.org/bugzilla/attachment.cgi?id=21094action=view)
An even smaller fo file to produce error

Note line 33, fo:table-cell padding-bottom=.5em/. If I simply add
fo:blocksomething/fo:block into that table cell, it all works fine.

-- 
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 43803] - IndexOutOfBoundsException error

2007-11-06 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=43803.
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=43803


[EMAIL PROTECTED] changed:

   What|Removed |Added

  Attachment #21093|0   |1
is obsolete||




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