RE: One JPG Displays, the Other Does Not

2013-05-12 Thread Roland Neilands
Bob, IIRC, you are putting a 900px file into a 25pt area. FOP should shrink it to fit, but I suspect it still has issues doing this with large jpgs. Other image types (gif etc) work better. Cheers, Roland From: bob swanson [mailto:bobswans...@gmail.com] Sent: Monday, 13 May 2013 12:51 PM To: f

RE: xml processing instructions in textual content

2012-02-22 Thread Roland Neilands
As far as an XML parser is concerned you have 3 nodes within the “para” element; two separate text nodes with the PI in between them. Your XSL would need to string both text nodes together instead of just showing the first one. I’m a bit rusty on this sorry, but there should be a couple of ways t

RE: Horizontal line under table headers

2009-09-30 Thread Roland Neilands
Shruti, I vaguely recall that marker formats are controlled where you set them, not where you retrieve them. Regards, Roland -Original Message- From: shrutin [mailto:shru...@mastek.com] Sent: Wednesday, 30 September 2009 3:18 PM To: fop-users@xmlgraphics.apache.org Subject: Horizontal

Re: Create a .PCL file instead of a .PDF

2008-12-08 Thread Roland Neilands
Jeff, From experience: Don't use transparency in gif's. Don't use oversized jpeg's & expect scaling down to work in PCL, it doesn't. I convert all images to non-transparent gif & they work in both PCL and PDF. PCL versions of the image are lower quality & slightly shrunken, but workable. BMP

Re: Fedora 9 and fop

2008-10-07 Thread Roland Neilands
Ulrich, We found fop 0.20.5 required these fonts on some RH versions, even in headless mode: xorg-x11-deprecated-lib The fop errors we saw were different, but still misleading. I don't think java 1.6 was around when that version of FOP was written either FWIW. Regards, *Roland * Ulrich M

Re: Measurement accuracy in PDF vs PCL

2008-05-08 Thread Roland Neilands
I'll second this. I also see difference in either text sizes or field width causing line wrapping in several places in PCL but not PDF with the same file. The workaround is to allow a fudge factor in the field/table row/table height sizes, but this can cause text overlapping or large blank area

Re: Error:java.lang.IllegalStateException: Cannot find any provider supporting RC4

2008-05-05 Thread Roland Neilands
http://xmlgraphics.apache.org/fop/0.94/pdfencryption.html Regards, *Roland* [EMAIL PROTECTED] wrote: Hi, We are using Pdf encryption of FOP 0.20 and we are getting following error. Please guide us on the same java.lang.IllegalStateException: Cannot find any provider supporting RC4 at o

Re: svg not working on linux

2008-04-13 Thread Roland Neilands
GNU Classpath (used by GCJ, Kaffee etc.). On 10.04.2008 03:46:28 Roland Neilands wrote: Hello foppers, We've just put a watermark on our documents & it works fine on two PC's using FOP 0.20.5, 0.93 & 0.94. It's completely ignored on two linux servers (tested with sam

svg not working on linux

2008-04-09 Thread Roland Neilands
Hello foppers, We've just put a watermark on our documents & it works fine on two PC's using FOP 0.20.5, 0.93 & 0.94. It's completely ignored on two linux servers (tested with same 3 fop versions). The rest of the document renders fine, just no watermark, except for 20.5 which fails with an

Re: Large PDF's files fail to stream correctly

2008-04-07 Thread Roland Neilands
Just a thought but you could put it into a BLOB in a DB & apply your security to accessing that. Alternatively encrypt the filesystem pdf for reading & provide the password separately. Regards, Roland Woodhouse, Graeme wrote: Hi Daniel, Thanks for your help - as a bit of a test I tried t

Re: Detecting a page break before it happens

2008-01-06 Thread Roland Neilands
Trevor, This is something you provide contingency in XSL-FO for, not something you need to do manually on every page. Search the list archives for fo:marker & fo:retrieve marker & look for same in the examples directory. Anyone care to update the FAQ for this? I can provide better wording. R

Re: Quick survey: upcoming release of FOP 0.94

2007-08-03 Thread Roland Neilands
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 printers or not? What's the

Re: Quick survey: upcoming release of FOP 0.94

2007-07-30 Thread Roland Neilands
I suggest PCL6 support. A late response I know, but this just came up recently & I can't work around it. PCL 5 support is being dropped from some new printers it seems: http://h2.www2.hp.com/bc/docs/support/SupportManual/c00878487/c00878487.pdf This has happened a couple of times recently,

Re: PDF Encryption, when necessary?

2007-06-13 Thread Roland Neilands
Jenkins, Mark wrote: Guys, When is PDF encryption necessary? ... Is it just to add restrictions on how the document can or cannot be manipulated(print, edit,etc.)? Yes, that's it. Cheers, Roland - To unsubscribe, e-mail:

Re: I know it's been asked before - getting fop-0.20.5 to not print [1]

2007-03-14 Thread Roland Neilands
-q command line option or if embedded maybe logging levels in faq Regards, Roland This e-mail is solely for the use of the intended recipient and may contain information which is confidential or privileged. Unauthorised use of its contents is prohibited. If you have received this e-mail in e

Re: FOP failing while accessing SVG DTD

2007-03-13 Thread Roland Neilands
Ian, Ian Burrell wrote: On 3/13/07, Roland Neilands <[EMAIL PROTECTED]> wrote: This is a basic XML parsing question, not particular to FOP: Use the XML prolog "standalone" attribute to prevent the DTD lookup. eg: Is there any way to set the fop config or pass command-li

Re: FOP failing while accessing SVG DTD

2007-03-13 Thread Roland Neilands
Ian, This is a basic XML parsing question, not particular to FOP: Use the XML prolog "standalone" attribute to prevent the DTD lookup. eg: Regards, Roland Ian Burrell wrote: We are getting intermittent failures making PDF from XSL-FO with SVG images. I think the problem is caused by network

Re: Out Of Memory Error

2007-02-06 Thread Roland Neilands
Check the FAQ: http://xmlgraphics.apache.org/fop/0.93/running.html#memory Regards, Roland [EMAIL PROTECTED] wrote: Hello All, I am trying to convert a huge XML document(approx about 110 pages long, 777KB) into a pdf document using an FO transformation. But it gives me the following error

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 LOCAL_FOP_HOME=C:\fop\fop-0

Re: Transforming Img tag in HTML

2006-05-25 Thread Roland Neilands
Roland Neilands wrote: J.Pietschmann wrote: Roland Neilands wrote: Sorry, my mistake. 20.5 wants height/width on the block container. ... content-width="3cm" FOP 0.20.5 doesn't support content-heigth/width either. Height and width work. I know, it ignores them

Re: Transforming Img tag in HTML

2006-05-25 Thread Roland Neilands
J.Pietschmann wrote: Roland Neilands wrote: Sorry, my mistake. 20.5 wants height/width on the block container. ... FOP 0.20.5 doesn't support content-heigth/width either. Height and width work. I know, it ignores them though. That's why that bit of code worked in bot

Re: Transforming Img tag in HTML

2006-05-24 Thread Roland Neilands
also. I could not get it to work. Should I file a bug to this respect. Regards, Suresh Koya */Roland Neilands <[EMAIL PROTECTED]>/* wrote: Suresh, What you've done is correct, but not supported by the old version of FOP - try the beta release, or use height &am

Re: Transforming Img tag in HTML

2006-05-24 Thread Roland Neilands
Suresh, What you've done is correct, but not supported by the old version of FOP - try the beta release, or use height & width attributes as well. Search this list's archives for more details, this has come up a few times. Regards, Roland Suresh Koya wrote: Hi, I am using FOP 0.20.5. I wa

Re: transparent background is black on the paper

2006-02-21 Thread Roland Neilands
I've seen this too. I just turned off transparency in the gif in an image editor and it worked fine. Cheers, Roland Zmitko, Jan wrote: Hallo Together, I´ve an problem with printing my PDF generated by FOP 0.20.5. The generated PDF looks corectly, however if I print these on my printer, the co

Re: Command line call to FOP

2006-01-31 Thread Roland Neilands
Jelka, 1. Set the "LOCAL_FOP_HOME" in your fop.bat file value to the fop install dir, eg: C:\FopTrunk Cheers, Roland Jeremias Maerki wrote: On 31.01.2006 10:54:55 jelka.kosir wrote: Yes, when I change "org.apache.fop.apps.Fop" to "org.apache.fop.cli.Main" all works fine except 2 things:

Re: New User - Fop error.

2006-01-30 Thread Roland Neilands
Patrick, Your examples are too basic, missing all of the page structure information. Have a look at the .fo examples in your fop install directory. Cheers, Roland Patrick Proctor wrote: I have the same problem, and I think it may be a bug. I have used FOP examples from O'Reilly and W3C and I

Re: no runtime java--how to install

2006-01-23 Thread Roland Neilands
Paul, It can be changed but the default is, eg: C:\Program Files\Java\jre1.5.0_04\ JDK install path is slightly different, but it's unlikely you'd have that. Cheers, Roland Paul Tremblay wrote: On Sun, Jan 22, 2006 at 10:58:26AM +0100, Dirk Bromberg wrote: From: Dirk Bromberg <[EMAIL PRO

Re: UTF issue

2005-12-20 Thread Roland Neilands
Thom, Opening your .fo in IE: Line 3 Char 125. An invalid character was found in text context. Did you save as utf-8? Looks like ansi to me. UTF-8 is the default for XML, but not for most text editors. The encoding attribute must match the file (eg encoding="ISO-8859-1" works for this file).

Re: [POLL] Your experience with FOP 0.90alpha1 so far???

2005-12-19 Thread Roland Neilands
tly at the area tree that 0.90 generates, the result is correct. On 15.12.2005 23:47:31 Roland Neilands wrote: Jeremias, Try the large block in 20.5 - it fits with no overflow. There seems to be extra space between lines in .90 Cheers, Roland Jeremias Maerki wrote: On 12.12.2005 07:19

Re: [POLL] Your experience with FOP 0.90alpha1 so far???

2005-12-15 Thread Roland Neilands
Jeremias, Try the large block in 20.5 - it fits with no overflow. There seems to be extra space between lines in .90 Cheers, Roland Jeremias Maerki wrote: On 12.12.2005 07:19:31 Roland Neilands wrote: 5. There seems to be extra space inserted between lines now. This breaks existing

Re: [POLL] Your experience with FOP 0.90alpha1 so far???

2005-12-11 Thread Roland Neilands
Jeremias, Thanks, see below. Cheers, Roland Jeremias Maerki wrote: Roland, that's exactly the kind of stuff I wanted to hear. Thank you very much. Some comments inline... On 09.12.2005 00:57:47 Roland Neilands wrote: Jeremias, I haven't test it thoroughly yet, but you ask

Re: [POLL] Your experience with FOP 0.90alpha1 so far???

2005-12-08 Thread Roland Neilands
Jeremias, 7. It seems to have the old bug of leaving zero sized files around after errors Cheers, Roland Roland Neilands wrote: Jeremias, I haven't test it thoroughly yet, but you asked, so but here's what I've seen: 1. Images are not scaled & overrun block-conta

Re: [POLL] Your experience with FOP 0.90alpha1 so far???

2005-12-08 Thread Roland Neilands
Yes that helps, on the external-graphic. Well that makes .90 quite acceptable for some documents then. Cheers, Roland Andreas L Delmelle wrote: On Dec 9, 2005, at 00:57, Roland Neilands wrote: Roland, Concerning 1) 1. Images are not scaled & overrun block-container height & widt

Re: [POLL] Your experience with FOP 0.90alpha1 so far???

2005-12-08 Thread Roland Neilands
Jeremias, I haven't test it thoroughly yet, but you asked, so but here's what I've seen: 1. Images are not scaled & overrun block-container height & width. The images seem washed-out & pixelated (gif). This is a stopper, I was hoping it would work better than 20.5. position="absolute">

Re: get value of command line arguments

2005-11-16 Thread Roland Neilands
parameter to the FOP command line yourself. On 16.11.2005 03:04:22 Roland Neilands wrote: Does anyone know if it's possible to check the value of FOP command line arguments within XSL, specifically the chosen output format? eg I have one stylesheet which may produce PDF and/or PCL from the sa

get value of command line arguments

2005-11-15 Thread Roland Neilands
Hi, Does anyone know if it's possible to check the value of FOP command line arguments within XSL, specifically the chosen output format? eg I have one stylesheet which may produce PDF and/or PCL from the same XML file depending on local setup. PCL is mainly for non-PS printers & faxes, so I wo

Re: 3 elements on the same line

2005-09-11 Thread Roland Neilands
Cheers, Roland bharathi kongara wrote: Yeah, now I'm using columns like in the following template. But my problem is, only my first row needs 3 columns, all other rows need jus one column, is there a way to specify that so that it can select dynamically, becuase if I specify 1 column - first

Re: 3 elements on the same line

2005-09-11 Thread Roland Neilands
Bharathi, Sounds like you will need 3 columns, not 3 rows. Note there is an example directory in the fop-install. Cheers, Roland bharathi kongara wrote: Hi I've the following table - I want to put the QuestionNo, QuestionText, and QuestionScore on the same line in the resulting output.

Re: conditional-page-master-reference and last()

2005-05-17 Thread Roland Neilands
Louis, I beleive it is not implemented in FOP. Use fo:marker instead for this instead, there are plenty of examples in the list archive and your fop/examples directory, sorry don't have time to dig them up right now. Cheers, Roland [EMAIL PROTECTED] wrote: I have a layout such that:

RE: Basic help needed

2005-04-21 Thread Roland Neilands
Ashley, To stop editing you can use this: http://xml.apache.org/fop/pdfencryption.html To wrap at 80 chars there are several solutions, but it really depends on your situation: as Jay suggested you might be trying to do something XSL-FO does automatically & better. For a preformatted text file

RE: FOP - external-graphic in absolutely positioned block container - Solved

2005-04-19 Thread Roland Neilands
o constrain the > size in FOP. > But it was too long ago when I set this up. > I have now added a large comment to the relevant XSLT code. > > Anyway - thanks to all those who responded. > > > Mike > > Roland Neilands wrote: > > >Mike, > > > > >

RE: FOP - external-graphic in absolutely positioned block container - increase the width and the image vanishes!

2005-04-18 Thread Roland Neilands
Mike, > However - my main question still remains: > > Why - when an image is displayed 'correctly' - does making the > block-container BIGGER make the image vanish? > Does anyone else have any experience of this? Yes, if the block-container no longer fits wholly within static-content for example

RE: Best Practices for Images and FOP 0.20.5

2005-04-15 Thread Roland Neilands
David, A couple of notes from experience: Don't use transparency in GIF's (goes black). Don't use JPG for PCL output (can crash FOP). Don't scale images containing text (pixelates: use a factor of 2 if necessary). Cheers, Roland > -Original Message- > From: David 'Dox' Shevitz [mailto:[E

RE: favorite tools for writing XSLT?

2005-04-06 Thread Roland Neilands
Jack, Stylus Studio seems on par with XMLSpy in most things and supports Saxon (v6.something or v8.1.1) http://www.stylusstudio.com/ I still prefer text editors personally, but the IDE's have their uses. Cheers, Roland > -Original Message- > From: Rymasz Jacky [mailto:[EMAIL PROTECTED]