Re: AW: AW: AW: Metric Files

2006-06-01 Thread Jeremias Maerki
Petr, I'm pretty sure you use the PFB file at PFMReader's command-line and not the PFM. That's why you get an OutOfMemoryError. I'll see if I can improve the PFMReader so it recognizes PFB files and outputs an appropriate error message. Seems to be a common mistake. On 31.05.2006 09:07:49 Petr

AW: AW: AW: AW: Metric Files

2006-06-01 Thread Kring, Rainer
Hi Jeremias, you're right. We really used the pfb-file. It works with pfm. And the PFMReader works much better then the TTFReader. -Ursprüngliche Nachricht- Von: Jeremias Maerki [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 1. Juni 2006 09:01 An: fop-users@xmlgraphics.apache.org

Re: different results with -print and -pdf

2006-06-01 Thread Chris Bowditch
Rick Roen wrote: FOP 0.92b + Saxon 8 I’m getting different results with the attached files when I do the following: 1) FOP –xml test.xml –xsl test.xsl –pdf test.pdf And 2) FOP –xml test.xml –xsl test.xsl –print The first one produces a normal pdf which prints ok. The second

Re: different results with -print and -pdf

2006-06-01 Thread Jeremias Maerki
While Chris is right that the -print output can never be 100% the same as from PDF or PS, a difference of 2cm rather sounds like a print margin problem. I haven't had time to look into this, yet, but I'm pretty sure it's that. Chris' work-arounds are certainly correct. On 01.06.2006 12:22:59

Re: Extra space between following tables

2006-06-01 Thread Andreas L Delmelle
On Jun 1, 2006, at 10:21, Jeremias Maerki wrote: No, actually it seems to be a bug. FOP's white space handling only seems to handle linefeeds correctly around fo:block and not around other block-level elements such as fo:table and fo:list-block. I'll look into it. Hmm... I think I know

RE: Saxon 8 with FOP 0.92b

2006-06-01 Thread Rick Roen
OK, got it working now. Here are the changes to the batch file in case it can help someone else: rem set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\xalan-2.7.0.jar set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\Saxon8.jar set

Re: Extra space between following tables

2006-06-01 Thread Jeremias Maerki
Andreas, I'm more than happy to delegate this to you if you volunteer because I have more than enough on my plate already. Thanks. On 01.06.2006 13:04:29 Andreas L Delmelle wrote: On Jun 1, 2006, at 10:21, Jeremias Maerki wrote: No, actually it seems to be a bug. FOP's white space handling

Re: Scaling images that are running off the page!

2006-06-01 Thread Jeremias Maerki
I think the layout manager code for external-graphic and instream-foreign-object still have smaller problems in this area. It seems that the code doesn't properly check if they height exceed the area made available. The image is always scaled horizontally to the available limits. Now, if the image

Re: different results with -print and -pdf

2006-06-01 Thread Jeremias Maerki
Just verified with several printer drivers (HP LaserJet 4 PCL, Brother HL-1250, HP LaserJet IIP PS) on Windows XP and I don't see any serious displacements of the documents when using -print. Not sure what's wrong on your side. Try other printers or printer drivers. Otherwise, and if Chris'

running FOP.bat from another folder

2006-06-01 Thread Rick Roen
FOP 0.92 XP Pro Java 1.5.0_6 Im trying to run the FOP batch file to create pdf from a folder other than the ..\FOP folder where the other fop files are located. My batch file is below. I have hard-coded some of the input variables to limit errors, but I get Exception in thread main

RE: different results with -print and -pdf

2006-06-01 Thread Rick Roen
Thank Jeremias, Here is my setup: FOP 0.92b Java 1.5.0_6 XP Pro sp 2 Printer: HP officejet 6110xi Printer: Kyocera Mita KM-3035 copier/printer Printer: MS Fax Perhaps the easiest to reproduce is with the MS Fax which comes with XP. I still get the same offset on the top block (including the

Re: 200K increase for xml - pdf when using images

2006-06-01 Thread J.Pietschmann
Rick Roen wrote: When I add two postnet bar codes, each of which are 1K png files, the pdf goes to about 225K. Why does it grow so large? Wild guess: there was a problem with embedding large color profiles into the PDF if the original pictures didn't contain a color profile. The problem has

RE: 200K increase for xml - pdf when using images

2006-06-01 Thread Rick Roen
I've attached a sample of a png file for the postnet barcode. I'm a complete java novice and last time I tried to compile the latest version I spent hours and got nothing since I don't know the basics. Can you check from the attachment to see if it has a color profile? Rick -Original

[Fwd: [Issue 66563] XMLUtil.write produces incorrect namespaces when using Xalan on JDK 1.5]

2006-06-01 Thread Peter B. West
Given the recent comments about how problems with XSL processing were Sun's fault, I thought it appropriate to forward this. Peter Original Message Subject: [Issue 66563] XMLUtil.write produces incorrect namespaces when using Xalan on JDK 1.5 Date: 1 Jun 2006 22:03:52

Re: running FOP.bat from another folder

2006-06-01 Thread Roland Neilands
Rick, I don't think you need to cd, just run it with it's absolute path name or add the dir it's in to your %PATH%. A bit of code from the one I use, the comments may help you (XP is NT). I commented them because my fop.bat is not in the FOP install directory: set