Re: FOP AWTRenderer Printing issue

2007-05-02 Thread Jeremias Maerki
problems like these in different environments. I can't promise that I can find out anything, but I'll see if I can. Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: fop 0.93 problem SEVERE:Exception

2007-05-03 Thread Jeremias Maerki
# > > i can't see where the problem cause Exception. there is no other Information, > that i can use to find the Error. is that a bug?? > > with fop 0.20.5 is OK, no problem, i can see the pdf. > but with version 0.93 i get the Error. >

Re: File sizes under Win and Linux

2007-05-03 Thread Jeremias Maerki
between platforms for a > > PDF file if all the variables concerning FOP (especially the > > configuration) are the same. > > > > On 25.04.2007 08:53:57 Manuel Strehl wrote: > > > >> Hi. > >> > >> Just a point I n

Re: IndexOutOfBoundsException Help

2007-05-04 Thread Jeremias Maerki
. Can't you somehow isolate the FO document when the error occurs? Unless we can reproduce the problem there's nothing we can do about it. Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Bug report - pdf generated with malformed %PDF-1.4 start line

2007-05-10 Thread Jeremias Maerki
t;%PDF-" + getPDFVersionString() + "\n").getBytes(); > > I presume changing this to: > > byte[] pdf = ("%PDF-" + getPDFVersionString() + > "\n").getBytes("US-ASCII"); > > should do the trick, but I did not try this yet. > >

Re: scale-down-to-fit not supported?

2007-05-10 Thread Jeremias Maerki
ale down images which are too big for the > page, but not to touch images which will fit on the page. > > Did someone succeed in doing this? Any tips? > > Thanks! > Conny Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: fonts and bullet graphics?

2007-05-10 Thread Jeremias Maerki
a graphic? That > > seems like a long-shot, but I'm lacking any other plausible ideas, unless > > maybe it's a spacing issue and the font is just covering up the bullets? > > Looking at the document, I can't see any evidence of that, though. > > > > Any

Re: Bug report - URIResolver and basic authentication working incorrect when EBCDIC codepage is used

2007-05-11 Thread Jeremias Maerki
in-memory. > throw new RuntimeException("Error during base64 encodation of > username/password"); > } > } > > This function is defined in: > src\java\org\apache\fop\apps\FOURIResolver.java > > I will try with base64.write(combined.getBytes("UTF-8")

Re: Fireworks PNG

2007-05-16 Thread Jeremias Maerki
java:73) > at org.apache.fop.fo.FObj.processNode(FObj.java:118) > at > org.apache.fop.fo.FOTreeBuilder$MainFOHandler.startElement(FOTreeBuilder.jav > a:321) > at > org.apache.fop.fo.FOTreeBuilder.startElement(FOTreeBuilder.java:185) > at > org.xml.sax.helpers.XMLFilterImpl.startElement(XMLFilterImpl.java:527) > > Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: ConvertDOM2SVG

2007-05-16 Thread Jeremias Maerki
Handler()); > > // Start XSLT transformation and FOP processing > transformer.transform(src, res); > } finally { > out.close(); > } > > } catch

Re: Table and the Data are missing in PDF

2007-05-16 Thread Jeremias Maerki
gt; > > > I have attached my Java Code, XSL StyleSheet and the HTML for your > reference. > > > > Thanks and Regards, > > Senthil > > > > > > Best Regards, > > Senthilkumar .B > > Xtn: 6616 Jeremias Maerki

Re: Error - java.lang.UnsatisfiedLinkError: no cmm in java.library.path

2007-05-16 Thread Jeremias Maerki
UnsatisfiedLinkError: > no cmm in java.library.path". I am not sure what the error actually > means.. I can run the application and/or the FOP script on my windows pc > and it runs fine. I am not sure what I am missing on the iSeries. Any &g

Re: How to control the image cache?

2007-05-25 Thread Jeremias Maerki
; that keeps it below a > certain size (I have a number of images that get renderered over and > over again so I appreciate some caching. I just want to get rid of the > SVGs. > > In the javadocs for 0.93 there is the o.a.fop.image.ImageCache > interface. Howe

Re: Upgrade to Fop 0.93... Translator? UserMessage? SecureResourceBundle?

2007-05-25 Thread Jeremias Maerki
t a shot question: what happened to the classes Translator, > UserMessage and SecureResourceBundle, and how do I substitute them for > FOP .93 API? > > Kind regards, > Kai Jeremias Maerki - To unsubscribe, e-m

Re: PreviewPanel - better example?

2007-05-25 Thread Jeremias Maerki
n't show page", e); > } finally { > out.close(); > } > } catch (TransformerException ex) { > throw new RenderingException("Couldn't show page", ex); > } catch (IOException e) { >

Re: FOP0.93: png-output in optimized height

2007-05-25 Thread Jeremias Maerki
t; require. But at the moment FOP always creates png's with a height of 792 px! > > How can I manage FOP to create a image with optimized height? Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: gif image in fop 0.93 not supported???

2007-05-28 Thread Jeremias Maerki
tf.rtflib.rtfdoc.RtfExternalGraphic$ExternalGraphicException: > > The tag does not support gif - image type. > > Does anyone know what to do? > > Steffen Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: FOP0.93: png-output in optimized height

2007-05-28 Thread Jeremias Maerki
e - if the table > needs 50px then the pic should be just 50px, if the table needs 1000px, the > png should be 1000px. > > I hope I could explain my problem a bit clearer! > > Thank you, Franz > > > Jeremias Maerki-2 wrote: > > > > Hi Franz > > >

Re: Ref-IDs in custom FOP 0.93 extension

2007-05-28 Thread Jeremias Maerki
int pageNumber = page.getPageNumber(); > > /* TODO: How to get total number of pages within the page sequence? */ > > ... > } > } > > > Thanks for any help, > Stefan Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: FOP0.93: png-output in optimized height

2007-05-29 Thread Jeremias Maerki
t I am searching for is a method or attribute to get the printed height > (height of the table). Any ideas? > > Thanks in advance! > Best regards, Franz > -- > View this message in context: > http://www.nabble.com/FOP0.93%3A-png-output-in-optimized-height-tf3788704.html

Re: Font substitution

2007-05-29 Thread Jeremias Maerki
file, if it can't render a given character I want some other font I > can control the existence of to render that character instead. > > Daniel > > > -- > Daniel Noll > Nuix Pty Ltd > Suite 79, 89 Jones St, Ultimo

Re: fop 0.93 and use of OTF

2007-05-30 Thread Jeremias Maerki
modify the fop.xconf in the > same way I did it for the .ttf? > > Thanks in advance > -- > View this message in context: > http://www.nabble.com/fop-0.93-and-use-of-OTF-tf3838627.html#a10868634 > Sent from the FOP - Users mailing list archive at Nabble.com. Jeremias Maerki -

Re: fop 0.93 and use of OTF

2007-05-30 Thread Jeremias Maerki
d it for the .ttf? > >> > >> Thanks in advance > >> -- > >> View this message in context: > >> http://www.nabble.com/fop-0.93-and-use-of-OTF-tf3838627.html#a10868634 > >> Sent from the FOP - Users mailing list archive at Nabble.com. > > > > > > Jeremias Maerki Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: FOP0.93: png-output in optimized height

2007-06-03 Thread Jeremias Maerki
04.html#a10876199 > Sent from the FOP - Users mailing list archive at Nabble.com. Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Problems with graphics under F7

2007-06-03 Thread Jeremias Maerki
what I can do to address this, I'd really > appreciate hearing them. > > Thanks, > --Brad Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: AW: Overflow works in a strange way

2007-06-07 Thread Jeremias Maerki
e relaxed but the strengths 2 will still be honored as if they were set to "always". But if even that would lead to an overflow the keeps with strength 2 will also be relaxed. Keeps with strength "always" will never be relaxed and lead to an overflow if the content is longer th

Re: getGeneratedBy() in 0.93

2007-06-07 Thread Jeremias Maerki
propagate XML elements ids to XSL-FO, and then my > renderer used the getGeneratedBy() method from the Area object. > > This method is no longer available in 0.93. > > Have you any idea to solve my problem ? > > Thank, > > Pierre Jeremias Maerki

Re: Perfomance Issue need Help on generating PDF from XSL FO

2007-06-07 Thread Jeremias Maerki
tached the XML and XSL file > we are using. > > > Thanks > Manoj http://www.nabble.com/file/p10989960/XML_XSL.zip XML_XSL.zip > -- > View this message in context: > http://www.nabble.com/Perfomance-Issue-need-Help-on-generating-PDF-from-XSL-FO-tf3878334.html#a1098

Re: start-indent correct behavior?

2007-06-07 Thread Jeremias Maerki
-- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > __ > > Alexander Lohse • Entwicklungsleitung & Projektm

Re: Is there possibility to embed file as attachment into resulting PDF through FOP?

2007-06-14 Thread Jeremias Maerki
inside Adobe reader. > So in that sense they are not an inline part of resulting document, but > some sort of extension to it. > > I'm not sure if I could achieve that while modifying some input > stylesheet with my own defined elements, which will allow during FOP

Re: Help in removing cached image files - FOP 0.93

2007-06-14 Thread Jeremias Maerki
;Too many open files' > ) > > I would like to know how I can clear the image cache. I tried using > getImageFactory().clearCaches() of my FopFactory instance and still > doesn't clear the tmp files. > > Appreciate any pointers with this. > > Regards

Re: flow does not map to the region-body error

2007-06-14 Thread Jeremias Maerki
page-height="11in" > page-width="8.5in" > margin-top="0.15in" > margin-bottom="0.25in" > margin-left="0.5in" > margin-right=".5in"> > >

Re: Is there possibility to embed file as attachment into resulting PDF through FOP?

2007-06-14 Thread Jeremias Maerki
gt; Best, > Andrejus > > > -Original Message- > > From: Jeremias Maerki [mailto:[EMAIL PROTECTED] > > Sent: Friday, June 15, 2007 9:06 AM > > To: fop-users@xmlgraphics.apache.org > > Subject: Re: Is there possibility to embed file as attachment into > >

Re: font-family font list compliance

2007-06-27 Thread Jeremias Maerki
; > I hope someone can tell me what it is possible to do with 0.93. > > Thanks, > Loran Kary Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Call for Papers Opens for OS Summit Asia 2007

2007-06-27 Thread Jeremias Maerki
Call for Papers Opens for OS Summit Asia 2007 The call for papers is now open for OS Summit Asia, to be held November 26-30 at the Cyberport in Hong Kong. This joint conference between the Apache Software Foundation and the Eclipse Foundation will be consist of two days of tutorials (Nov 26-27) a

Re: Fop performance

2007-06-29 Thread Jeremias Maerki
ing similar in a .NET environment. But you seem to be in a server environment, so it's easier to just install Tomcat as a Windows Service and deploy FOP in it. That should give you the response times you want. The servlet variant is probably easier to implement if the requirements

Re: RTF-Output with FOP 0.93 looks terrible

2007-06-29 Thread Jeremias Maerki
every page is one line or one table row printed out. The > content (e.g. lines) should be keep together or something else. Is > still working on this feature or has i just configure something to make it > work better? > > Thanks, > Kerstin Jeremias Maerki ---

Re: Printing PDF generated from FOP 0.93

2007-06-29 Thread Jeremias Maerki
nto sowie der Administrator. > > > Know anybody the reason? Is this just a bug of Adobe Reader 8 or Adobe in > General or maybe a feature? > > Thanks. Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Quick survey: upcoming release of FOP 0.94

2007-07-18 Thread Jeremias Maerki
ics/fop/trunk/src/java/org/apache/fop/fonts/autodetect/UnixFontDirFinder.java?view=markup Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Package messaging is missing from fop 0.93

2007-07-18 Thread Jeremias Maerki
owing: > > logFactory = LogFactory.getFactory(); > logFactory.setAttribute("level", "fatal"); > > however again I see all the fop messages. > Shouldn't I connect fop with logFactory in a way and if yes how can I do > that? > Jeremias Maerki -

Re: fop with tomcat5.5 and jdk5

2007-07-20 Thread Jeremias Maerki
lgraphics-commons-1.1.jar and the fop.jar in his > WEB-INF/lib directory of the deployment as well. > > And notes on how to properly deploy fop and it's required libraries would be > helpful. > > -johnny Jeremias Maerki

Re: FOP compliant Visual tool

2007-07-26 Thread Jeremias Maerki
ompliant XSL-FOs. > I already looked at XSL Report Designer and StylusStudio and found them > not particular suitable for FOP. I am still using FOP 0.20 because > that's what Cocoon 2.10 is bundled with. I will appreciate any insight. > > Regards

Re: Need help preventing corrupt PDF-Files ( jpeg images without dpi info) for Acrobat Reader 7+

2007-07-26 Thread Jeremias Maerki
document with a gray rectangle. The error is not > displayed using this setting, but our customers say that this is “not > acceptable” for them. > > Any help would be welcome to find a workaround for this problem. > > I would favour a way to handle this in xsl:fo, but I still have not found a > solution in the documentation available. > > If this is an issue of the PDF-rendering module of FOP it would be good to > know, but it would limit our options considerably. (maybe force us to use > different libraries) > > Yours > > Stefan Fassel (Germany) Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: SVG to Word conversion?

2007-07-26 Thread Jeremias Maerki
> By the way, SilverLight is similar to SVG at least in > terms of Syntax and is being developed by MS who > dumped SVG for no good reason. Don't get me started on that topic. I have a very low opinion on M$'s approach to defining new document formats. Jeremias Maerki -

Re: forcing max to min in LengthRange

2007-07-26 Thread Jeremias Maerki
to min in LengthRange > Jul 23, 2007 2:38:05 PM > org.apache.fop.fo.properties.LengthRangeProperty > checkConsistency > > Please advise! > > My best wishes and thanks in advance! > > Nancy Jeremias Maerki -

Re: SVG to Word conversion?

2007-07-27 Thread Jeremias Maerki
PC. > > 2. > I need the same #1 above but using SilverLight plugin > on IE browser. > > In summary, I just want the user be able to embed > these SVG/SL images into Word/Pdf documents. I was > visualizing this as providing an Export type of user > interface from the

Re: SVG to Word conversion?

2007-07-27 Thread Jeremias Maerki
Well, you can always provide nice little buttons beside the SVG image with links that would deliver the RTF or PDF variant of the SVG image. You can do that using a servlet and there's nothing too complicated about. And all server-based. Jeremias Maerki On 27.07.2007 20:24:43 dave

Re: Quick survey: upcoming release of FOP 0.94

2007-07-31 Thread Jeremias Maerki
Quite a bit of work, what you suggest here. PCL 6 (aka PCL XL) is a completely different printer language compared to PCL 5. We'd have to develop a completely new renderer. Do you have a budget for this? ;-) What does that mean: "better, but still not adequate"? Does it print correctly on those pr

Re: FOP and control sequences for thr printer

2007-08-07 Thread Jeremias Maerki
See here: http://xmlgraphics.apache.org/fop/latest/output.html#pcl-page-source Jeremias Maerki On 06.08.2007 18:14:01 Dirk Eiden wrote: > Is there any way to send (PCL) control sequences to the printer using FOP? > > I need to print the first page of the document from paper tray

Re: BUG in FOP 0.94 PS Renderer and PCL Renderer ? or wrong XSL ?

2007-09-30 Thread Jeremias Maerki
The problem here is testing. I don't have a duplex-capable printer so I can test the behaviour. You obviously do. Can you please try to fix the problem in code yourself and post a patch? Jeremias Maerki On 28.09.2007 10:18:02 Thomas Margreiter wrote: > we have updated from FOP 0.20.5

Re: Generating neat RTF documents with XSLTPROC and FOP

2007-10-01 Thread Jeremias Maerki
apache.org/fop/0.94/output.html#rtf Jeremias Maerki On 01.10.2007 11:32:44 nancy_b wrote: > > Hello dear all! Is there any way to improve how the RTF documents look? Is > the Look&Feel controlled somehow by the XSL stylesheets? Is it possible to > improve the documents by sub

Integrating FOP into XML or FO editors (was: Re: function could not be found: empty)

2007-10-02 Thread Jeremias Maerki
or if they want. And every FO implementation has a command-line interface. Jeremias Maerki On 02.10.2007 19:07:10 Andreas L Delmelle wrote: > On Oct 2, 2007, at 15:55, Tobias Wehrum wrote: > > > > > I now took a deeper look in the documentation and they say the > > argu

Re: nullpointer exception - FO to Area tree transform(another exception)

2007-10-04 Thread Jeremias Maerki
parser somehow. The WebSphere console should help you find out what exactly is on the classpath. Jeremias Maerki On 04.10.2007 02:24:13 Kevin wrote: > Chris, > > Thanks for your help. I am not explicitly using that parser. Its getting > called > within the FOP code when I do t

Re: Outofmemory (with heapdump contents) -

2007-10-04 Thread Jeremias Maerki
pens? That would help rule out other reasons for the OOM. Jeremias Maerki On 03.10.2007 03:04:08 Kevin wrote: > Hi, > > I did some additional testing to isolate the OOM issue and found that its > happening in the AREA TREE -> PDF transform step. > > In order to create a P

Re: EPSDocumentGraphics2D drawImage Method creates empty images

2007-10-05 Thread Jeremias Maerki
full implementation. Jeremias Maerki On 05.10.2007 14:19:09 Alexander Braun wrote: > Hello, > > I am using xmlgraphics-commons-1.2-bin-jdk1.4 and I try to convert gif > or png images to eps images. > > I'm doing the following: > > BufferedImage image = ImageIO.

Re: PCL-Renderer disable the PJL-Commands ?

2007-10-05 Thread Jeremias Maerki
I've just added a configuration setting to disable PJL commands in FOP Trunk. See: http://svn.apache.org/viewvc?rev=582287&view=rev Functionality for duplex- or booklet-printing hasn't been added, yet. HTH Jeremias Maerki On 20.09.2007 15:33:36 Thomas Margreiter wrote: >

Re: 0.94: All colors/JPEGs appear washed out?

2007-10-05 Thread Jeremias Maerki
to compare colors you need to pay attention whether you are in device-specific RGB (uncalibrated color) or in sRGB (calibrated color). HTH Jeremias Maerki On 18.09.2007 01:55:48 kennardconsulting wrote: > > Dear All, > > I'm seeing something very odd with FOP 0.94 - whatever

FOP at ApacheCon EU 2008 in Amsterdam - What do you want to hear?

2007-10-07 Thread Jeremias Maerki
t that there will be two other Apache conferences this November in Atlanta and Hong Kong although without any talk about FOP: http://www.apachecon.com Thanks, Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For addit

[POLL] User poll on Java version requirements

2007-10-08 Thread Jeremias Maerki
-a23e-f6c1f73c8bd2 (the survey ends on Sunday, October 14, 2007) Please note: Even if we change the minimum Java versions for new releases, the previous releases with Java 1.3 support will remain available for download. Thanks a lot! Jeremias Maerki (for the Apache XML Graphics

Re: 0.94: All colors/JPEGs appear washed out?

2007-10-08 Thread Jeremias Maerki
or fidelity. But PDF tool chains have much higher requirements. Even if the JPEG had a color profile, the browser might still display the image without consulting the color profile, thus showing it wrongly. It's all very complicated Jeremias Maerki -

Re: 0.94: All colors/JPEGs appear washed out?

2007-10-08 Thread Jeremias Maerki
Almost forgot: Here's an introduction into color management as Adobe does it: http://www.adobe.com/products/creativesuite/pdfs/cscolormgmt.pdf Jeremias Maerki On 08.10.2007 16:02:17 Jeremias Maerki wrote: > > > On 06.10.2007 01:11:09 kennardconsulting wrote: > > > >

Re: CMYK and Spot Colors

2007-10-08 Thread Jeremias Maerki
-testcases/color_1.xml?view=markup The recomended way is probably to use rgb-icc with a CMYK ICC profile. The proprietary cmyk() function is only for uncalibrated CMYK. Jeremias Maerki On 08.10.2007 16:24:22 Sam Prokop wrote: > Hi, > > > is there a solution to get a pdf with cmyk a

Re: help required on FOP(OCR)

2007-10-08 Thread Jeremias Maerki
able/fonts.html If you're working with FOP 0.94, it's as easy as giving FOP the directory where your font can be found and that's it. Good luck! Jeremias Maerki On 08.10.2007 15:49:57 rama kalukuri wrote: > Hi, > I have a requirement to write OCR characters in PDF. I am ge

Re: Concerning FOP postscript extension

2007-10-10 Thread Jeremias Maerki
7;re lucky since it's now relatively easy to write such a post-processor since the whole framework for it is already found in XML Graphics Commons which FOP uses. See http://xmlgraphics.apache.org/commons/postscript.html#dsc Jeremias Maerki On 10.10.2007 12:12:02 ahaddad wrote: > Hi, &

Re: Postscript Level 1?

2007-10-10 Thread Jeremias Maerki
PostScript Level 1 is not supported. It would require considerable effort to map all the various features into Level 1. Are you still working with 20 year old printers or why do you need Level 1? Jeremias Maerki On 10.10.2007 15:08:27 Johannes Katelaan wrote: > Hi, > > perhaps som

Re: Postscript Level 1?

2007-10-10 Thread Jeremias Maerki
with some Level 2 extensions or if it contains a buggy Level 2 implementation. But then, you say you're using a fax software. Wouldn't it be an alternative to use TIFF instead? Jeremias Maerki On 10.10.2007 15:47:37 Johannes Katelaan wrote: > Yes - kind of. I'm using fax so

Re: How to create XML Source from Java String?

2007-10-10 Thread Jeremias Maerki
o-String. That's unnecessary. This is the correct way, if you want to get a JAXP Source object: String xml = someXMLFromSomewhere; Source src = new StreamSource(new java.io.StringReader(xml)); > Or upload the source data as InputStream from servlet (look at Servletrequest > and Http

Re: Postscript Level 1?

2007-10-10 Thread Jeremias Maerki
don't even say what kind of PostScript is supported. That could indeed indicate that it's Level 1. > So I think I will open a support call with Langner now and see what > they have to say about this problem. It will be very interesting to hear what they say. Please

Re: RowPainter warning: Replacing GU...

2007-10-10 Thread Jeremias Maerki
Lou, we'll need some FO file to reproduce that. Thanks. It could be that it has something to do with spanned cells and the use of the column-number property. You may have produced some overlapping cells there. Jeremias Maerki On 10.10.2007 17:03:14 Louis.Masters wrote: > I'm co

Re: locating warnings in xsl files.

2007-10-11 Thread Jeremias Maerki
robably using a different processor. HTH Jeremias Maerki On 11.10.2007 15:03:51 Winterflood, Jonathan wrote: > > Hi, > > > > I'm getting a few of these warnings from FOP, and I'd like to track down > where they occur in the xsl file I'm

Re: Postscript output file is shifted compared to PDF output

2007-10-11 Thread Jeremias Maerki
Last I verified, PDF and PS output was practically identical. Could it be that you printed the PDFs using Acrobat Reader and you had "Fit to printable area" or something like that activated? Jeremias Maerki On 11.10.2007 16:22:20 ahaddad wrote: > I tried to use differents marg

Re: Postscript output file is shifted compared to PDF output

2007-10-11 Thread Jeremias Maerki
Try printing both using GSView. I've just converted both a PDF and a PS to a TIFF image using GhostScript/GSView and compared both. Completely identical. Must be coming from somewhere else. FOP is not the problem if you ask me. Jeremias Maerki On 11.10.2007 17:13:14 ahaddad wrote: &g

Re: bug in FOP 0.94?

2007-10-15 Thread Jeremias Maerki
Seems to be a regression from 0.93. I've fixed it in FOP Trunk: http://svn.apache.org/viewvc?rev=584699&view=rev Jeremias Maerki On 12.10.2007 17:48:17 Charlie Flowers wrote: > Hi all, > > > > The attached .fo file renders to PDF correctly when using FOP 0.93,

Re: Adding same header and footer for multiple page sequences in XSLFO

2007-10-15 Thread Jeremias Maerki
You can only do that at XSLT level. In the FO file, the static-content has to be repeated for every page-sequence. That's how XSL-FO works, I'm afraid. Jeremias Maerki On 15.10.2007 08:17:48 Murali Krishna wrote: > Hi Phyllis, > Thanks for the reply.I am aware of includin

[POLL:RESULTS] User poll on Java version requirements

2007-10-15 Thread Jeremias Maerki
, too!) is interested. Thanks, Jeremias Maerki On 08.10.2007 09:48:11 Jeremias Maerki wrote: > Dear Apache XML Graphics Batik/FOP/Commons users, > > as you probably know, all products of the Apache XML Graphics project are > still compatible with Java 1.3. We are currently discussing about

Re: Creating Print Quality PDF with fop (Mac OS X)

2007-10-15 Thread Jeremias Maerki
luck! Jeremias Maerki On 15.10.2007 12:27:55 Tommy Nordgren wrote: > When creating PDF files with Fop , that use the command line option > for Standard > conformant PDF/A-1b, I get a message that some fonts can't be > embedded because > they can't be found: > H

Re: Page-breaking behavior changed between 0.93 and 0.94?

2007-10-16 Thread Jeremias Maerki
make much sense other than that it demonstrates the problem. [1] http://marc.theaimsgroup.com/?t=11224899965&r=1&w=2 Jeremias Maerki On 15.10.2007 21:03:07 Charlie Flowers wrote: > Hello all, > > The attached .FO file produces a table with a long row which must be >

Re: Generate PDF/A-1b file with FOP

2007-10-19 Thread Jeremias Maerki
uot; on fo:root, i.e on the root element, so there's no default font anymore, or rather, you replace the default font like this. Jeremias Maerki On 19.10.2007 18:12:10 Arsène Kafando wrote: > Thanks for your answer but i have the same error with this (

Re: Generate PDF/A-1b file with FOP

2007-10-19 Thread Jeremias Maerki
You've specified "./" as the font base directory. "." does not specify the directory of fop.xconf but the "current directory" of the process in which FOP runs. That can be something else. It's better to supply an absolute path there. HTH Jeremias Maerki

Re: Generate PDF/A-1b file with FOP

2007-10-22 Thread Jeremias Maerki
P wants to use the "Times-Roman" font. Maybe you can use that to identify the problem in your FO file. Or are you actually using SVG in your document? If yes, make sure you explicitely specify the fonts in the SVG file and only use fonts that are configured for embedding. Jeremias Maer

Re: Generate PDF/A-1b file with FOP

2007-10-22 Thread Jeremias Maerki
with exactly the two files you've posted. So something is probably still wrong with your configuration. Try the attached config file, please (assuming Arial is installed for your operating system). Jeremias Maerki On 22.10.2007 14:28:47 Arsène Kafando wrote: > I only use Arial font. Wit

Re: Weird rendering problem

2007-10-22 Thread Jeremias Maerki
You need to pay attention to FOP's log output. Basically, it's a side-effect from an overflow condition which is currently not handled in the best possible way. If you make the region-before large enough (or the image small enough) so there's no overflow, everything will look

Re: Insert TIFF images in PDF/A-1b

2007-10-24 Thread Jeremias Maerki
fy against a PDF/A checker). - otherwise, convert the image to JPEG and assign a color profile. - Convert the image to RGB. FOP is currently handling all uncalibrated RGB as sRGB (which is calibrated). That may not be 100% correct but it's good enough for most cases. All colors in XSL-FO and SVG

Re: Help for TIFF insertion in PDF/A-1b file (FOP-0.94)

2007-10-24 Thread Jeremias Maerki
the output-profile which has the same effect as associating a color profile directly to the TIFF image. Jeremias Maerki On 24.10.2007 11:44:55 Arsène Kafando wrote: > Hi, > I want to create a PDF file which contains TIFF images. I use a fo file for > this > (fo:external-graphic). T

Re: Help for TIFF insertion in PDF/A-1b file (FOP-0.94)

2007-10-24 Thread Jeremias Maerki
you, using PDF/A? > ColorSpace : black is zero That doesn't make any sense to me. This info is not about color spaces. > The tiff file give: > ICCBased That would indicate that an ICC profile is associated which sounds good. Question is whether this info is reliable. Jeremias

Re: Help for TIFF insertion in PDF/A-1b file (FOP-0.94)

2007-10-25 Thread Jeremias Maerki
ttp://www.apagoinc.com/downloads_os.php?prod_id=29&prod_name=PDF%20Appraiser The trial version of the PDF Appraiser is useless as it doesn't display any detailed error messages in case of violations. At least that was so during their beta test phase. The generate

Re: Example of how to use fox:widow-content-limit and fox:orphan-content-limit

2007-10-25 Thread Jeremias Maerki
processing is done using normal XSL-FO properties. The two extension properties here are for special cases in tables and lists only! If the documentation is not clear enough, please tell us what we can do to improve it. Jeremias Maerki On 24.10.2007 20:18:26 Jeff Powanda wrote: > Can someone tell me

Re: Capitalize not working?

2007-10-25 Thread Jeremias Maerki
er to do this at the XSLT stage. Jeremias Maerki On 25.10.2007 01:49:42 Kamal Bhatt wrote: > Hi, > I have the following: > > JOHN SMITH > > I expect this to render as "John Smith" based on this explanation: > > http://www.w3.org/TR/2001/REC-xsl-20011015/slice7.

Re: Help for TIFF insertion in PDF/A-1b file (FOP-0.94)

2007-10-25 Thread Jeremias Maerki
imt = new ImageMimeType("image/tiff"); imageMimeTypes.put(imt.getMimeType(), imt); imt.addProvider(imageIoImage); //Fast but doesn't support CCITT embedding imt.addProvider(tiffImage); //Slower but supports CCITT embedding imt

Re: Help for TIFF insertion in PDF/A-1b file (FOP-0.94)

2007-10-30 Thread Jeremias Maerki
No problem using FOP 0.94: fop -pdfprofile PDF/A-1b -c userconfig-autofonts.xml -fo Cercle_noir_ombre.fo -pdf Cercle_noir_ombre.pdf ...using the attached files: Jeremias Maerki On 30.10.2007 17:42:01 palmelas wrote: > > > cbowditch wrote: > > > > > > bi-level

Re: Empty pages after "break-after"

2007-10-31 Thread Jeremias Maerki
That's a known bug: http://issues.apache.org/bugzilla/show_bug.cgi?id=40230 See also: http://xmlgraphics.apache.org/fop/knownissues.html You can easily work around this in XSLT. Just test for the last XSLCollectionWrapper element and don't create the break in that case. Jeremias Ma

Re: FOP 0.94 - config element and fonts with space in name

2007-10-31 Thread Jeremias Maerki
I've stumbled over that myself a few days ago. I've got a fix (registering both "GillSansMT" and "Gill Sans MT"). I'll see to it that I can upload this change in the next two days. Jeremias Maerki On 31.10.2007 16:36:52 Peter Coppens wrote: > > G

Re: FOP 0.94 - config element and fonts with space in name

2007-10-31 Thread Jeremias Maerki
Should be fixed now in FOP Trunk: http://svn.apache.org/viewvc?rev=590736&view=rev Jeremias Maerki On 31.10.2007 17:29:37 Peter Coppens wrote: > > Thanks! Peter. > > > Jeremias Maerki-2 wrote: > > > > I've stumbled over that myself a few days ago.

Re: Would an extension to print Gantt charts work?

2007-11-01 Thread Jeremias Maerki
example, but it therefore has its complexity. HTH, Jeremias Maerki On 01.11.2007 14:50:51 Fred Janon wrote: > I just started looking at FOP, therefore I don't really understand what it > can or cannot do. My attention was caught by the different formats that can > be generated. I wou

Re: Would an extension to print Gantt charts work?

2007-11-01 Thread Jeremias Maerki
ays single images, the approach is like for the Plan or Barcode4J extension. > Sorry about all these basic questions, but I have the feeling that FOP can > save us a lot of time in our project but it's always difficult to figure out > the use and limits o

Re: getting FOP to work with Java using 0.94

2007-11-01 Thread Jeremias Maerki
sion is most likely the reason for the file corruption. As a side-note, it's inefficient to load the XML file as a DOM and then pass it to the XSL transformation. Please take a look at our examples and use a SAX-based approach: http://xmlgraphics.apache.org/fop/0.94/embedding.html#ExampleXML2PD

Re: PDF Device space

2007-11-06 Thread Jeremias Maerki
There's no such feature in the PDF renderer. What you can do is simply adjust the positioning on the XSL-FO level, but there's not a single point of change to do that. You could modify the PDFRenderer in method renderPage() to move the page content around inside the page boundaries.

Re: RTF has exra line

2007-11-06 Thread Jeremias Maerki
Without the XSL-FO to demonstrate the problem, there's not much that can be done. Please also note that the RTF output is not as mature or complete as PDF output. Some features of XSL-FO can even not properly be mapped to RTF so some compromises may be necessary. Jeremias Maerki On 06.11

Re: Fop null pointer exception and tiff image

2007-11-06 Thread Jeremias Maerki
x the code to make it work. If you don't want to publish the image on the internet, you can also send it directly to me. Jeremias Maerki On 06.11.2007 11:19:37 juanita wrote: > > When I am trying to use the xsl:fo processor for a tiff Image I get the > following exception: > jav

Re: FOP 0.94 - png renderer - transparent-page-background broken?

2007-11-06 Thread Jeremias Maerki
Fixed now in FOP Trunk: http://svn.apache.org/viewvc?rev=592554&view=rev Jeremias Maerki On 06.11.2007 21:58:18 Jeremias Maerki wrote: > Uhm, as far as I can see PNG transparency didn't even properly work with > FOP 0.93. The good news is that PNG transparency for Java2D/PNG/TIF

<    5   6   7   8   9   10   11   12   13   14   >