Re: upgrade to fop 0.92 - image problem (no wrap)

2006-04-28 Thread Manuel Mall
On Friday 28 April 2006 23:52, Burton, Jeff wrote: > I've just upgraded to FOP 0.92 (from 0.20.5) to take advantage of > the keep-together support, but I've encountered a new problem. > > I have an xml file that contains image links (0-10 images) that is > used to create a pdf (I'm using the oxyge

RE: Error while creating metric file

2006-04-28 Thread Susant
Archna, I would like to know how you generated the metrics file for that OCR font. I've a font that generates a logo which says it's a TrueType font, but complains while generating metrics file using TTFReader. Suggestion would be appreciated. Sus -- View this message in context: http://www.nab

Re: Font Problem -> Cannot load font

2006-04-28 Thread Dirk Bromberg
Thanks for answer, i'll have a closer look at it on Tuesday. btw. the result of the new fop looks great at this moment... i've a rendering component which uses "0.20.5" (for redistribute) and xep (for offset printing) and now i don't want to customize 2 versions of the stylesheets, so i'm goi

New User needs assistance

2006-04-28 Thread CalvinD
I am trying to run the ExampleFO2PDF.java example. I downloaded 0.91 and loaded the fop.jar file as an external library into Eclipse. It finds everything but the org.apache.fop.apps.FopFactory import. Any help would be appreciated. Thanks CalvinD -- View this message in context: http://www.nab

upgrade to fop 0.92 - image problem (no wrap)

2006-04-28 Thread Burton, Jeff
I've just upgraded to FOP 0.92 (from 0.20.5) to take advantage of the keep-together support, but I've encountered a new problem. I have an xml file that contains image links (0-10 images) that is used to create a pdf (I'm using the oxygen editor which has xalan built in and I use fop 0.92 to c

Rép. : How to embed MSExcel Sheet i n PDF

2006-04-28 Thread Willy Reinhardt
Hi, As Jeremias said you can't with a fo:tag but you have some possibilities to solve your problem: 1) Ask the user to export as an image; 2) Export data as xml and xsl -> fo -> fo2pdf 3) Using library like pdfBox make a post processing and add your Excel file as binary embedded appendice which

Re: Font Problem -> Cannot load font

2006-04-28 Thread Jeremias Maerki
FOP can't find MyFont.xml. Maybe the file isn't there, or the base directory is not correct or something like that. On 28.04.2006 17:19:43 Dirk Bromberg wrote: > Hi all, > > with the 0.92 release i'get this error: > > java.lang.RuntimeException: Cannot load font: failed to create Source > from

Font Problem -> Cannot load font

2006-04-28 Thread Dirk Bromberg
Hi all, with the 0.92 release i'get this error: java.lang.RuntimeException: Cannot load font: failed to create Source from metrics file MyFont.xml at org.apache.fop.fonts.LazyFont.load(LazyFont.java:75) at org.apache.fop.fonts.LazyFont.getAscender(LazyFont.java:183) at org.apache.fop.

Re: embedded font for PCL

2006-04-28 Thread Camilakill
Thank you very much!!! It worked very well!!! Now I just have to adjust what I was drawing to be printed in the correct position on the paper, and how to do settings like landscape, type of paper, etc. Thank you very much indeed!!! :D Camila -- View this message in context: http://www.nabble.c

Re: embedded font for PCL

2006-04-28 Thread Jeremias Maerki
You can't use PSGraphics2D like that. PSGraphics2D is for use in an externally set up PS document. What you need is PSDocumentGraphics2D. There is also an EPSDocumentGraphics2D which can be used to create EPS files. For that, an example exists: http://svn.apache.org/viewcvs.cgi/xmlgraphics/commons/

Re: How to embed MSExcel Sheet in PDF

2006-04-28 Thread Jeremias Maerki
Not possible. You're better off remote-controlling MS Excel using OLE Automation and printing the sheet to a PDF directly from Excel, i.e. without FOP. On 28.04.2006 13:04:53 saurabh chaudhary wrote: > Hi, > > I want to embed a MSExcel sheet in a pdf file like we embed an image. > The user should

Re: fo:page-number in SVG

2006-04-28 Thread Chris Bowditch
[EMAIL PROTECTED] wrote: But it seems that FOP ignores content inside a SVG :( SVG is procedd by Batik. Does anybody know how I can output tha rotated pagenumber? Upgrade to FOP 0.92beta and you will be able to rotate text without using SVG. Just put the page number into a Block Contain

How to embed MSExcel Sheet in PDF

2006-04-28 Thread saurabh chaudhary
Hi,   I want to embed a MSExcel sheet in a pdf file like we embed an image. The user should be able to scroll and see the whole file.What is the fo tag to do that? I am using fop-0.20.5 to convert output.fo file to output.pdf file.   Any help would be appreciated. Thanks,Saurabh

Re: embedded font for PCL

2006-04-28 Thread Camilakill
I'm afraid I don't have time to build something at the moment. I have next week to make it work... I was having a look at the PSGraphics2d class and I saw that I can draw anything I want and then get a PSGenerator to write the postscript file from that. Am I correct? Because I could do that Inst

fo:page-number in SVG

2006-04-28 Thread news
Hello List, I've to rotate text and use SVG to perform that task because I'm using FOP 0.25 as renderer. The result is a PDF file. One part of the rotatet text is supposed to be the pagenumber. I tried: But it seems that FOP ignores co

Re: Filesize of created PDFs

2006-04-28 Thread Jeremias Maerki
Interesting. Didn't notice that before. Here's what happens: The PNG is decoded by the PNG codec in XML Graphics Commons. Even if the PNG does not contain an explicit ICC color profile, the default sRGB color profile is returned because it's a Java default. The problem with Java's sRGB profile is