Re: Pattern fills are all solid black

2003-01-02 Thread Keiron Liddle
The problem is that patterns are not implemented in the releases as yet. On Thu, 2003-01-02 at 14:14, Don Berendsen wrote: Any pattern fill (e.g. see below) that I try always results in a solid black fill. I'm using FOP 2.0.4 with Batik version 1.5 beta2 and viewing the pdf with Acrobat.

RE: Performance using SVG

2002-12-27 Thread Keiron Liddle
On Fri, 2002-12-27 at 16:05, Renzo Callant wrote: I use fop with the .bat file, so i don't start a jvm every time. Huh? You mean you DO start a jvm every time. The command line fop can only process one file at a time and then it finishes, which is what it would be doing in the bat file. I only

RE: Performance using SVG

2002-12-27 Thread Keiron Liddle
On Fri, 2002-12-27 at 16:14, Renzo Callant wrote: It processes 1 file at a time, that's right, but it can be a document of 200 pages and more. And the logo is on every page. That sort of optimisation is possible with the current developmnet, but it will be a while before it is ready.

Re: Defining named destination in pdf

2002-12-20 Thread Keiron Liddle
On Thu, 2002-12-19 at 17:47, Jochen Stuempfig wrote: hello i tried to define a named postion in an pdf using following code fo:block id=mydestination The name of the id is not passed to the pdf document. For internal links it simply gets the position on the page and makes a link to that

Re: Fop and external-graphic SVG problem

2002-12-17 Thread Keiron Liddle
On Tue, 2002-12-17 at 10:46, Eric Prevost wrote: I am trying to integrate an SVG file with embedded text and when i try to use it in FOP I am working on W2K SP1, JDK 1.3, FOP 0.20.4rc ,Batik 1.1.1 or Batik 1.5 fop produce This result : You must use the batik that comes with fop.

RE: FOP 0.20.5 RC: DocBook bibliography with empty title leads to null

2002-12-11 Thread Keiron Liddle
The problem is that there is an empty outline lable created for the bookmarks. This causes a null pointer exception. Also I noticed that the id:d0e4 is duplicated. On Wed, 2002-12-11 at 12:21, Stephan Wiesner wrote: I have attached the whole FO file. Stephan -Original Message-

RE: FOP 0.20.5 RC: DocBook bibliography with empty title leads tonull

2002-12-11 Thread Keiron Liddle
Getting the string from the label changed from a string which is return to a Stringbuffer that calls toString. It is possible for the string buffer to be null if there is no text. This only occurs in the pdf bookmark extension which I presume is generated when you set the fop.extensions flag.

Re: AW: automatic image scaling

2002-11-28 Thread Keiron Liddle
On Wed, 2002-11-27 at 16:17, Alexander Koppelhuber wrote: if block-container.height = img.height and block-container.width img.width then the image gets scaled to the width of the block-containter (gets smaller); if bloc-container.height = img.height and block-container.width = img.width

Re: reference-orientation

2002-11-28 Thread Keiron Liddle
On Thu, 2002-11-28 at 12:23, Bernt Asbjørn Omland wrote: On Thu, 28 Nov 2002, Jeremias Maerki wrote: On 28.11.2002 00:47:26 bernt asbjørn omland wrote: I am developing a stylesheet which generates a pdf document. I need to rotate some of the text so that it appears vertically from top

Re: Bug when integrating with SAX?

2002-11-22 Thread Keiron Liddle
I believe this problem is due to the options not being set on the XML renderer or possible a particular option. It then gets an npe. The fix of course would be to set the options on the renderer, you can create the XMLRenderer yourself and set the options on it, then set the renderer on the

Re: table-header and retrieve-marker

2002-11-19 Thread Keiron Liddle
Retrieve marker is only allowed in static regions, so no you cannot use it in a table header or footer to do that. On Tue, 2002-11-19 at 09:30, Philippe Chaléat wrote: Hello, Is there a way to use marker (retrieve-marker) in table header or footer ? For example, how I can achieve this

Re: Alignment question

2002-11-18 Thread Keiron Liddle
Hi, This could be done with fo:leader with space. You can use the default lengths which will exapnd to fill the space. I'm not sure if this is implemented properly yet. On Mon, 2002-11-18 at 14:05, Ries Spruit wrote: Hello, Im a trying to achieve something like this:

Re: SVG LinearGradient

2002-11-14 Thread Keiron Liddle
On Thu, 2002-11-14 at 11:57, Jeremias Maerki wrote: Keiron, I've upgraded FOP branch CVS to Batik 1.5b4. You may have missed that mail yesterday. :-) I saw it but for gradients it also needs the implementation in PDFGraphics2D (which in the branch depends on: pdf lib, image lib).

Re: input form

2002-11-12 Thread Keiron Liddle
On Tue, 2002-11-12 at 14:44, Thomas Ottosen wrote: Hi All, I am currently working on a project on xsl-fo but have a minor problem. How is it possible to make a input form in pdf, using FOP. A user can then filout the form and print it. see

Re: problems with dashed lines converting svg2pdf

2002-11-08 Thread Keiron Liddle
Hi Andreas, In PDF the dasharray is specified with whole numbers only, the numbers represent units. If a fraction is placed in the dash array then the viewer will report an error. So it rounds all numbers to a whole number greater than 0 when creating the dasharray. You could try scaling it.

RE: some help..

2002-06-21 Thread Keiron Liddle
The element for foreign xml is instream-foreign-object. You can put svg or any other xml markup in their. The processor, ie FOP, then needs to have a handler for that xml. Currently it has a handler for batik. The redesigned FOP has an extension that has a handler for mathml that converts the

Re: png image in pdf

2002-06-17 Thread Keiron Liddle
Try putting the image in a bit of svg. Batik supports png. On Fri, 2002-06-14 at 17:41, vikas waykole wrote: Hi I want to show png image in the pdf using fop0.20.3 but without jimi.jar Any help is highly appreciated. Thanks in advance Vikas

Re: set pdf dpi

2002-06-17 Thread Keiron Liddle
Why do you want to change the DPI? In general the DPI is only used to convert cm, inch etc. to point values. Except for images there are other issues. On Fri, 2002-06-14 at 13:53, Harmen van Keimpema wrote: Hi all, Is it possible to tell fop to generate pdf files with different DPI settings

RE: Problem with not stroking SVG text (AND BUG IN FOP 0.20.3)

2002-06-14 Thread Keiron Liddle
Here it is, have fun: http://cvs.apache.org/viewcvs.cgi/xml-fop/src/org/apache/fop/svg/PDFTextElementBridge.java?rev=1.3content-type=text/vnd.viewcvs-markup On Thu, 2002-06-13 at 23:44, Vollmer, Thomas - CannonSA wrote: The text is shapes or not depending on whether it is possible to use

RE: Problem with not stroking SVG text (AND BUG IN FOP 0.20.3)

2002-06-13 Thread Keiron Liddle
On Thu, 2002-06-13 at 03:00, Vollmer, Thomas - CannonSA wrote: How is the current CVS trunk different from the 0.20.3 release in terms of this issue? The trunk is updated to work with the current batik (cvs). The text is shapes or not depending on whether it is possible to use plain text in the

Re: Doubt regarding XSLProcessor.process

2002-06-11 Thread Keiron Liddle
look at this page: http://xml.apache.org/xalan-j/usagepatterns.html in particular the section titled Multithreading On Tue, 2002-06-11 at 07:47, [EMAIL PROTECTED] wrote: Hi all, I am using fop-0.20.3rc version of FOP to generate PDF files. These are few lines of code I used to generate the

RE: Problem with not stroking SVG text (AND BUG IN FOP 0.20.3)

2002-06-11 Thread Keiron Liddle
I stand corrected. It does need to be a BooleanKey to work properly. Once I fixed that it doesn't work anymore anyway. I think various changes in batik mean that it needs to be handled differently. On Tue, 2002-06-11 at 00:15, Vollmer, Thomas - CannonSA wrote: Actually, that's not the case.

Re: Problem with not stroking SVG text (AND BUG IN FOP 0.20.3)

2002-06-10 Thread Keiron Liddle
try using: addTranscodingHint you are removing transocding hints with the setTranscodingHints. The hint has a StringKey as the key and a Boolean as the value. On Sat, 2002-06-08 at 03:03, Vollmer, Thomas - CannonSA wrote: Map hints = new HashMap(); hints.put(PDFTranscoder.KEY_STROKE_TEXT,

RE: Which Batik version in FOP 0.20.3

2002-06-10 Thread Keiron Liddle
Most likely if it works then they are compatible. I can't remember if there where any changes between those versions that would cause problems. On Fri, 2002-06-07 at 19:47, Vollmer, Thomas - CannonSA wrote: Thanks, Keiron. And here's a follow-up question... I'm trying to convert an SVG to

RE: speed

2002-06-04 Thread Keiron Liddle
On Mon, 2002-06-03 at 16:18, Norr, Peter wrote: for example a 17 page document takes 100 seconds.. it has a header, footer and one long table as the body. peter That is quite slow. Are you embedding FOP, if so is there enough memory, are you using buffered stream etc. Is debugging off

Re: Keeping whites space in blocks

2002-05-23 Thread Keiron Liddle
Hi Kevin, By default whitespace is collapsed. As often there is a lot of excess whitespace in xml. if you use this property: white-space-collapse=false it will not collapse the white space. On Thu, 2002-05-23 at 12:31, Kevin Pearcey wrote: I'm converting documents from XML and some have large

Re: FOP memory consumption

2002-05-02 Thread Keiron Liddle
On 2002.05.01 16:34 Bernd Brandstetter wrote: So, I have two questions/suggestions: 1) Wouldn't it be possible to let FOP create the output in two steps like for instance (La)TeX does. Doing a dry run first only to calculate the page references, store them somewhere, and then produce the actual

Re: Possible thread-safe issue with fonts

2002-04-26 Thread Keiron Liddle
It sounds like it is a threading problem. Do you get any messages like: Failed to read font metrics file ... It would appear that two threads could be reading the font metrics file at the same time. Accessing the file is done through the parser so we don't know what it is actually doing and it

Re: Is FOP Actively Being Developed?

2002-04-26 Thread Keiron Liddle
and monitor progress to get a better idea) Regards, Keiron Liddle. On 2002.04.25 22:32 L Rutker wrote: I know there is a supposed refactoring/rewriting going on for FOP. Is this really happening? Does anyone know of target dates? Thanks

Re: Transformation matrix wrong in PDF for some SVG files

2002-04-17 Thread Keiron Liddle
Hi Jeremias, I can't see what the problem is but I can give you some hints. I would suggest testing the svg rendering using the transcoder through batik, so it converts the svg directly to pdf. This works with the cvs trunk also but be aware that there are some differences. I suspect the

Re: SVG Font Problem

2002-04-17 Thread Keiron Liddle
Which version are you using? Are the characters being stroked? The main cause of this issue is that the fonts resolved in batik are the java fonts, if not stroking the font pdf font is found by looking through the java font list and finding the first match. This doesn't always work how you

Re: SVG Font Problem

2002-04-17 Thread Keiron Liddle
On 2002.04.17 13:39 Scott Moore wrote: The main cause of this issue is that the fonts resolved in batik are the java fonts, if not stroking the font pdf font is found by looking through the java font list and finding the first match. This doesn't always work how you might want it to. That

Re: non rendered characters

2002-04-17 Thread Keiron Liddle
This problem is a result of the way the line is built. It has pending areas that need to be added to form a word due to different text elements, this happens if you use inline or other xml elements. These areas are dropped at the end of the page. So yes this is a bug. On 2002.04.17 14:22

Re: Sending generated PDF directly to printer

2002-04-16 Thread Keiron Liddle
yes, on this page: http://xml.apache.org/fop/output.html On 2002.04.16 09:44 RAYMOND Romain wrote: Hello, is there examples or docs to send the result of an FOP transformation to a printer ? thanks.

Re: SVG rendering in release 0.20.3

2002-04-15 Thread Keiron Liddle
The examples in the docs/examples/svg/ directory work fine, so how is yours different? Do these examples work for you? I suspect the svg referenced in the image is invalid. On 2002.04.13 18:51 Matthew L. Avizinis wrote: The rect renders fine. It's actually the image that actually causes the

Re: fo:basic-link on svg image

2002-03-22 Thread Keiron Liddle
The second example is not valid. You cannot simply place some piece of svg inside fo. SVG can only be used in an instream-foreign-object and the xml inside that fo object must be valid for svg. As SVG cannot link internally in the fo document then you cannot do it with svg. On 2002.03.22

Re: svg from string

2002-03-22 Thread Keiron Liddle
I suggest you read this page: http://xml.apache.org/batik/rasterizerTutorial.html To convert svg to pdf you are simply using the PDF transcoder. On 2002.03.21 16:31 Fischer Tibor wrote: hi, i've got a java class with a method, what generates an svg object and returns it as string. i need fop to

Re: FW: Batik, FOP, and PDF

2002-03-15 Thread Keiron Liddle
3) Why is crimson-parser missing from the fop binary distribution? They ship batik.jar and fop.jar...but the rasterizer won't run unlesscrimson-parser.jar is in the class path. I have to get this from thebatik binary distribution. I missed this question. The reason is that

Re: multi-page PDF creation using the PDFDocumentGraphics2D class

2002-03-14 Thread Keiron Liddle
This is not supported. The PDFDocumentGraphics2D is simply meant to render a single svg to a single page. You could probably get what you want by extending the class and adding some extra methods to create a new page and so on. On 2002.03.14 04:24 Daniel Cardin wrote: I have managed to use the

Re: Problems compiling CVS

2002-03-13 Thread Keiron Liddle
try cvs up -d On 2002.03.13 01:10 Carlos Araya wrote: I've tried the following on my CVS tree Cvs -z3 update ./build.sh clean ./build.sh all

Re: Rendered SVG does not contain images from xsl:fo external-graphic/

2002-03-13 Thread Keiron Liddle
Hi, The image part is not implemented as far as I can remember. As for the text, is it in the document, is it viewable using the batik viewer for example. It probably ignores your embedded ttf but will use the fonts available to the jvm. On 2002.03.12 20:12 Andrius Sabanas wrote: Hello, I would

Re: Trouble with ZapfDingbats

2002-03-12 Thread Keiron Liddle
The answer is in the faq: http://xml.apache.org/fop/faq.html ie. go here http://www.unicode.org/charts/ On 2002.03.12 01:57 Keen Tim wrote: Thanks for your help TJ. Can you, or anyone else, direct me to a resource where I can find the Unicode number for a unchecked box with a shadow in

Re: merging two libraries

2002-03-12 Thread Keiron Liddle
Hi, From the archives it appears that the discussion on the fop-dev list was about 2 years ago (no apparent refusal though). It is certainly time to revisit. From the small amount of information I know about iText it would appear to be a more advanced pdf library. I don't know what the license

Re: FOP methods seem to be missing - Driver.render and Driver.format

2002-03-08 Thread Keiron Liddle
see: http://xml.apache.org/fop/embedding.html The api has changed. On 2002.03.07 16:58 [EMAIL PROTECTED] wrote: I'm trying to use FOP on the end of a chain of XMLFilters (sounds like cocoon? it's for creating a directory of about 500 pdf files...). It looks like I have the right class - import

Re: Creating PDF from DocBook fo stylesheets

2002-03-08 Thread Keiron Liddle
It is impossible to answer your question without more information. In future make sure you supply all the information needed to answer a question. For examples: version of FOP any errors jvm os etc. On 2002.03.08 16:29 Jeff Rancier wrote: Hello, Can anyone tell me why I can't create a PDF from

Re: Trouble with ZapfDingbats

2002-03-06 Thread Keiron Liddle
I'm not sure what the problem is that you are having but ZapfDingbats works fine for me both on unix and windows NT. On 2002.03.06 00:35 Keen Tim wrote: I recently upgraded to the latest version of Fop (fop-0.20.3rc2) to take advantage of the changes to the attribute master-name and am now

Re: mathml and fop

2002-03-05 Thread Keiron Liddle
On 2002.03.05 14:37 Nicola Ken Barozzi wrote: See https://sourceforge.net/projects/jeuclid/ The JEuclid is a project, which creates the possibility to display MathML content. It is primary a Transformer/Serializer for the Cocoon project, and creates GIF images or converts the MathML content to

Re: Problem converting SVG to PDF

2002-02-26 Thread Keiron Liddle
Hi Elena, Most likely you have incompatible versions of batik and fop. There have been a number of api changes between fop 0.20.1 and the current batik. It should work fine if you use the batik that comes with fop. I suggest you try using the latest fop, FOP 0.20.3rc2 and the batik that comes

Re: FOP SVG precision; how to keep thin lines precision???

2002-02-07 Thread Keiron Liddle
Hi Irina, I'm no barcode expert but one I tried looked fine to me. Have you zoomed in on the barcode in the pdf document. If you view it normally the viewer may approximate the lines and therefore distort it. If there is still a problem maybe you could send a small fo and pdf to demonstrate the

Re: SimpleTranform xsl, xml to fo using Xalan

2002-02-06 Thread Keiron Liddle
On 2002.02.06 11:51 Pedro Barco Bernal wrote: Hi all, These sentences works perfectly at local machine (make the fo file) but when we run it at server write a fofile empty, and there aren't any error or exception... ¿Someone knows what could be the problem? //Make transformation of xmlfile

Re: CVS version

2002-01-10 Thread Keiron Liddle
see: http://marc.theaimsgroup.com/?l=fop-devm=100374237103385w=2 On 2002.01.10 16:35 Carmelo Montanez wrote: I get the same thing!!, anyone has a clue? Carmelo - Original Message - From: Ludovic Maurillon [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, January 10, 2002 10:29 AM

Re: FOP, SVG and external-graphic Question

2001-08-22 Thread Keiron Liddle
Fred, The xml markup between the svg:svg and /svg:svg must be valid svg markup. The example you have is not valid. eg. the markup should be able to work standalone as an svg document. If you want to put a graphic inside svg then you need to use the svg:image tag. I am having trouble