Re: external-graphic

2012-03-30 Thread Klearchos Klearchou
Hello Eric, are you looking for something like this? fo:external-graphic src=url('{$sourceImageLink}') content-width=scale-to-fit border=solid 0.1pt width=90mm / On 30/3/2012 4:43 PM, Amick, Eric wrote: I'm using FOP 1.0, and I'm trying to scale an image that is too large for the page so

Re: Image Print size and quality

2012-01-24 Thread Klearchos Klearchou
below then you get the behavior you want. An easy workaround for now. On 1/23/12 1:21 PM, Klearchos Klearchou wrote: Pascal, I am using FOP 1.0 with: Batik: 1.7+r608262 xmlgraphics-commons-1.4 Thank you. On 23/1/2012 3:00 PM, Pascal Sancho wrote: Klearchos, I cannot reproduce what you get

Re: Image Print size and quality

2012-01-23 Thread Klearchos Klearchou
, Klearchos Klearchou a écrit : Hello Pascal, the solution that we talked about works well almost in all cases. Here is the code: fo:external-graphic src={$imageLink} border=solid 3px #8CE18D inline-progression-dimension.maximum={$imageMaxBoundary} content-width=scale

Re: Image Print size and quality

2012-01-23 Thread Klearchos Klearchou
Pascal, I am using FOP 1.0 with: Batik: 1.7+r608262 xmlgraphics-commons-1.4 Thank you. On 23/1/2012 3:00 PM, Pascal Sancho wrote: Klearchos, I cannot reproduce what you get with the provided snippet: too small. What FOP version do you use? Le 23/01/2012 10:55, Klearchos Klearchou a écrit

Image Print size and quality

2012-01-17 Thread Klearchos Klearchou
Dear FOP users, I want to change an image's print size in order to add it inside a PDF. I want to do this in order not to loose any quality. The image must look smaller inside the PDF but the quality should be the same with the original image. I know that I could do something like this in my

Re: Image Print size and quality

2012-01-17 Thread Klearchos Klearchou
use max-height XSL-FO equivalent: fo:external-graphic src={$imageUrl} block-progression-dimension.optimum=$my_minimal_height block-progression-dimension.maximum=$my_maximal_height content-height=scale-to-fit/ Le 17/01/2012 12:17, Klearchos Klearchou a écrit : Dear FOP users, I

Re: Image Print size and quality

2012-01-17 Thread Klearchos Klearchou
PDF files. The only constant over various resampled images is the real size: for instance, a square image (1x1) will give: 96x96, rez 1/96 for screen reading; 300x300, rez 1/300 for Laser printing; 120x120, rez 1/120 for Dowload _and_print; etc. Le 17/01/2012 14:48, Klearchos Klearchou a écrit

Re: Image Print size and quality

2012-01-17 Thread Klearchos Klearchou
. On 1/17/2012 5:47 PM, Pascal Sancho wrote: We use imageMagik Le 17/01/2012 15:32, Klearchos Klearchou a écrit : Pascal, the information that you provide are valuable. Can you propose any open source library in order to manipulate the quality/resolution of the image? I tried the imgscalr

Re: Freezing when attempting to create new instance of FopFactory.

2011-12-01 Thread Klearchos Klearchou
Hi, it sounds like you have a library problem. What version of FOP are you using? What are the libraries that your application is using? Possibly you inherit some libraries from the application server. I had a similar problem in the past and it was related with the libraries. Regards, k. On

Multi threading problems with FOP 1.0

2011-11-23 Thread Klearchos Klearchou
Dear FOP users, I am using the FOP version 1.0 under Windows x64. Lately I have integrated JPPF in order to regenerate my PDFs faster and I experience the followings strange errors. For example inside the XSLT I place 8pt but the error in the console outputs (pt8pt):

Re: Multi threading problems with FOP 1.0

2011-11-23 Thread Klearchos Klearchou
on this, but perhaps you can indicate whether you are using svg at all in your fo? Peter On 23 Nov 2011, at 12:12, Klearchos Klearchou wrote: Dear FOP users, I am using the FOP version 1.0 under Windows x64. Lately I have integrated JPPF in order to regenerate my PDFs faster and I experience

Re: Multi threading problems with FOP 1.0

2011-11-23 Thread Klearchos Klearchou
:/java/...'. Le 23/11/2011 15:24, Klearchos Klearchou a écrit : Hi Alexi, thank you for your answer. It seems that with the 2.7.1 these kind of problems disappear. It seems that this is the solution for the problem! I tried to use the FOP trunk as well but I receive the following error: [ERROR

RE: Bug 49837 - Soft Hyphen

2010-12-03 Thread Klearchos Klearchou
Pepping [mailto:spepp...@leverkruid.eu] Sent: Friday, December 03, 2010 12:14 PM To: fop-users@xmlgraphics.apache.org Subject: Re: Bug 49837 - Soft Hyphen On Thu, Dec 02, 2010 at 07:12:08PM +0200, Klearchos Klearchou wrote: I have Fop version 0.95 and I am trying to upgrade to 1.0 but I have

RE: Bug 49837 - Soft Hyphen

2010-12-03 Thread Klearchos Klearchou
-users@xmlgraphics.apache.org Subject: Re: Bug 49837 - Soft Hyphen On Fri, Dec 03, 2010 at 12:17:43PM +0200, Klearchos Klearchou wrote: Hello Simon, Thank you for answering I was about to write a new mail. I have changed the code at the class (org.apache.fop.traits.MinOptMax). Here is the change

RE: Bug 49837 - Soft Hyphen

2010-12-03 Thread Klearchos Klearchou
the same effect as my above patch. On Fri, Dec 03, 2010 at 02:10:02PM +0200, Klearchos Klearchou wrote: Hello Simon and All, I noticed that there was a series of characters in one of my texts that was included inside the FO (space - space). I have removed the - and retyped it. Possibly it has been

Bug 49837 - Soft Hyphen

2010-12-02 Thread Klearchos Klearchou
Hello to All, I have Fop version 0.95 and I am trying to upgrade to 1.0 but I have problems with the following regression bug (49837 https://issues.apache.org/bugzilla/show_bug.cgi?id=49837 ). Is there any workaround for this? I found that if I retype some specific hyphens (that used to