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:

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

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

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

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 same 3 fop versions

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

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.

Re: Quick survey: upcoming release of FOP 0.94

2007-08-03 Thread Roland Neilands
? Does it print correctly on those printers or not? What's the problem? On 31.07.2007 08:48:08 Roland Neilands wrote: 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

Re: Quick survey: upcoming release of FOP 0.94

2007-07-31 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,

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

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: ?xml version=1.0 encoding=UTF-8 standalone=yes? Regards, Roland Ian Burrell wrote: We are getting intermittent failures making PDF from XSL-FO with SVG

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

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

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. ... fo:external-graphic content-height=3cm 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
Roland Neilands wrote: J.Pietschmann wrote: Roland Neilands wrote: Sorry, my mistake. 20.5 wants height/width on the block container. ... fo:external-graphic content-height=3cm content-width=3cm FOP 0.20.5 doesn't support content-heigth/width either. Height and width work. I

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

Re: Transforming Img tag in HTML

2006-05-24 Thread Roland Neilands
Koya wrote: I checked this with the beta build 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

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

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

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

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
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:31 Roland

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: snip/ 5. There seems to be extra space inserted between lines now. This breaks

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. fo:block-container

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-container height width

Re: get value of command line arguments

2005-11-16 Thread Roland Neilands
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 same XML file depending

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

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-22 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

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, it

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