Re: Keep Together FO

2005-08-31 Thread Manuel Mall
On Wed, 31 Aug 2005 03:46 pm, Dirk Bromberg wrote: Hi, i've a short question using fop 20.5. When i want to keep two elements on my page together what must i do? Have you seen: http://xmlgraphics.apache.org/fop/faq.html#keep-with Manuel fo:blockFirst Element/fo:block fo:blockSecond

RE : Error loading GIF image using JAI in FOP Trunk (was: Error while processing a PDF - OK)

2005-08-31 Thread michella
Ok, I did the following : 1. Remove JAI and test. - Result is the same error. 2. Reinstall JAI and set CLASSPATH=...directory where jai_core and codec.jar are located and test - Result is the same error. Please, keep me in touch if any corrected trunk is available Regards Lawrence

RE : RE : Error loading GIF image using JAI in FOP Trunk (was: Error while processing a PDF - OK)

2005-08-31 Thread michella
Clean ant followed by Ant result to a successful build. Thanks. Unfortunately, I still get the same error message at FO processing with a GIF Image: Exception in thread main java.lang.NoClassDefFoundError: com/sun/media/jai/codec/FileCacheSeekableStream at

RE : Error loading GIF image using JAI in FOP Trunk (was: Error while processing a PDF - OK)

2005-08-31 Thread michella
Fop invocation is done as follow : Batch file : CALL ..\..\Tools\fop-0.20.5\fop -c ..\..\Tools\fop-0.20.5\conf\PostConfig.xml -fo ..\XSL-FO\uml_dp2_Handsortierung_BE.fo -pdf ..\Publikation\Generated\EA_Ist\PDF\TA\uml_dp2_Handsortierung_BE.pdf Lawrence -Message d'origine- De : Manuel

RE : Error loading GIF image using JAI in FOP Trunk (was: Error while processing a PDF - OK)

2005-08-31 Thread michella
I got it : The typical installation of JSDK5 will create two directories : one for JDK, and the other one for JRE. The Jai installation has only filled the SDK/jre/lib/.../ext/ directory, and did not add anything in the JRE/lib/.../ext/ one. I firgot to install the JAI for JRE! (Except that I

Endless Loop in PDF

2005-08-31 Thread michella
Sorry, I forgot to post the fo:external-graphics : fo:block text-align=center padding-after=15pt fo:external-graphic content-type=image/bmp src=../Publikation/Images/HS_Einfaechern.gif inline-progression-dimension.optimum=auto

Re: Endless Loop in PDF

2005-08-31 Thread Manuel Mall
Are the SVG and JPEG images the same size as the GIF, i.e. same number of pixels horz/vert and same resolution (dots/in)? What size is the actual GIF in pixels horz/vert? BTW, the content-type should most likely be image/gif but I doubt it matters. Manuel On Wed, 31 Aug 2005 06:43 pm, [EMAIL

Re: Endless Loop in PDF

2005-08-31 Thread Chris Bowditch
[EMAIL PROTECTED] wrote: Sorry, I forgot to post the fo:external-graphics : fo:block text-align=center padding-after=15pt fo:external-graphic content-type=image/bmp src=../Publikation/Images/HS_Einfaechern.gif inline-progression-dimension.optimum=auto

Re: Endless Loop in PDF

2005-08-31 Thread Jeremias Maerki
And to add to the other comments, you should rather use content-height and content-width instead of i-p-d and b-p-d because the latter only defines the size of the viewport, not of the reference area in which the image is painted. There seems to be a lot of confusion about the use of these

Re: RE : Endless Loop in PDF

2005-08-31 Thread Jeremias Maerki
On 31.08.2005 14:37:35 michella wrote: Ok... But how could it be possible that it had worked properly with the older version of FOP? Rather, it could be that FOP Trunk finally does what the specification says. :-) content-height was not supported by FOP 0.20.5 and the width/height properties

RE : RE : Endless Loop in PDF

2005-08-31 Thread michella
I have four specific cases that should be automatically handled : Let X be maxWidth, let Y be maxHeight (in px): 1. if imgWidth X and imgHeight = Y -- uniform scale until imgWidth fits to X 2. if imgWidth X and imgHeight Y -- uniform scale until imgWidth and imgHeigth fits to X and Y 3. if

Re: RE : Endless Loop in PDF

2005-08-31 Thread Jeremias Maerki
I've just committed the demo section to examples/fo/images.fo. http://svn.apache.org/viewcvs?rev=265037view=rev I must say I'm happy to see that FOP seems to do its job well now (FOP Trunk). You should quickly find the property combination you need to use in your case. My suggestion below is

Re: RE : Endless Loop in PDF

2005-08-31 Thread Jeremias Maerki
Ok, the min/opt/max stuff definitely doesn't work correctly, yet. I'd simply set a hard-coded height value (preferably not in px) and use content-height=scale-to-fit. That should solve your problem and maintain compatibility to 0.20.5. On 31.08.2005 15:31:23 Jeremias Maerki wrote: snip/ I'm not

XSL Question - Unique list

2005-08-31 Thread Prakash R
I have an xml document which looks like this: products product nameshirt/name metadata fieldid=1 fieldvaluelong sleeve/fieldvalue metadata fieldid=2 fieldvaluered/fieldvalue

RE: creating a PDF document containing UTF-8 characters

2005-08-31 Thread Melih Ovadya
Thank you Jeremias, I followed the instructions and now I can make it work by embedding the font in the document. Looking at the samples in userconfig.xml, this is how I register the fonts: font metrics-file=ttfarialuni.xml embed-file=C:\WINDOWS\Fonts\ArialUni.ttf kerning=yes font-triplet