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: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: 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 onl

Re: Performance using SVG

2002-12-27 Thread Keiron Liddle
On Fri, 2002-12-27 at 15:35, Renzo Callant wrote: > Hi all, > > i've included some kind of logo in my report using SVG. > But this slows down the processing of my .PDF document. > Any tricks on how to improve performance using SVG in FOP ? Are you starting a new jvm instance each time. It takes

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 > > 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 page and position. Th

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 fo

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

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 >= > im

Re: automatic image scaling

2002-11-27 Thread Keiron Liddle
On Wed, 2002-11-27 at 15:11, Alexander Koppelhuber wrote: > In my fo file I have the following part: > > position="absolute" > > >content-height="auto" content-width="auto"/> > > IIRC the content-width and content-height of auto means that it should use the width a

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 driv

RE: FOPException 921600

2002-11-22 Thread Keiron Liddle
On Fri, 2002-11-22 at 02:21, Koes, Derrick wrote: > > Oh yeah, here's the stack trace. Looks like ArrayIndexOutOfBounds, but I've > been running this same code for weeks. Hmmm... This looks like a threading problem with image loading. I believe this is fixed and will be solved in the next relea

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: SVG LinearGradient

2002-11-14 Thread Keiron Liddle
On Thu, 2002-11-14 at 11:08, marco scotoni wrote: > > Symptoms are a blank page instead PDF File. (From a FO file) > > That's 'cause i have substituted FOP 0.20.4 with CVS (I need to use > LinearGradient!) > > > I use Win 2000, JDK 1.4.0, Cocoon 2.0.3, Fop CVS and Batik 1.5b4 Since there has

Re: Trouble building servlet example in CVS version

2002-11-14 Thread Keiron Liddle
On Wed, 2002-11-13 at 22:49, Krautbauer, Bruce wrote: > Hi all, > > I pulled the latest version of FOP off of CVS and was able to build it just > fine and the examples work. I would like to set up the servlet example with > Tomcat, but I am not able to build it. The servlet.jar I am using is f

RE: SVG LinearGradient

2002-11-14 Thread Keiron Liddle
On Wed, 2002-11-13 at 17:11, Scott Moore wrote: > I'm trying to embed the following SVG into my XSL-FO and run it thru FOP. > Although the SVG looks fine using Adobe's SVG viewer, I get an error (below) > from FOP. Apparently, it doesn't like the url() reference to the > . How can I get this to w

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 http://www.erhverv.toldskat.dk/Blanketter/3

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. Kei

Re: Embedding TIFF in PDF results in huge filesize

2002-11-04 Thread Keiron Liddle
On Mon, 2002-11-04 at 11:29, Bellinger, Michael wrote: > I am embedding TIFF images into a PDF document to enable users to watch and > print the images from their browser without having a tiff-plugin. The TIFF > images are usually at 200 - 300 dpi (black/white) and use CCITT Fax Gr.4 > compression.

Re: vertical fo:leader problem

2002-06-25 Thread Keiron Liddle
The leader is always in the inline progression dimension (same direction as text). So if text is horizontal then the leader will be too. As reference orienation is not implemented you cannot change the direction. You probably want to use svg. On Tue, 2002-06-25 at 01:02, Muhammad Irfan wrote: > H

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 math

Re: One truth about FOP and SVG

2002-06-21 Thread Keiron Liddle
On Thu, 2002-06-20 at 21:31, Darya Said-Akbari wrote: > 1. It should be clear for anyone from the very first > beginning when working with FOP that FOP works fine > when PDF should be the result. > > 2. That it also work fine when you stay in the FO > namespace and create your stylesheets with FO

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

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: 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.3&content-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 th

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

2002-06-12 Thread Keiron Liddle
On Wed, 2002-06-12 at 01:37, Vollmer, Thomas - CannonSA wrote: > Ok, to clarify this, I've attached my Java code, the SVG file > and the resulting PDF file. According to the thread on svg-dev > http://marc.theaimsgroup.com/?l=fop-dev&m=100525746717186&w=2 > it should work like this. > > Why does

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. No

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 generat

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: 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, Bo

Re: Which Batik version in FOP 0.20.3

2002-06-07 Thread Keiron Liddle
It is version 1.1 There should be a readme in the lib directory but it appears that it was not included in that release. Christian, will the readme file be in the next release? I think it also needs to be updated with the versions of other jar files. On Fri, 2002-06-07 at 02:53, Vollmer, Thomas

Re: FOP outline extension specification

2002-06-06 Thread Keiron Liddle
Have a look at: docs/examples/fo/pdfoutline.fo On Thu, 2002-06-06 at 11:06, Florence Deforge wrote: > Is there a resource on the web that lists all the elements of the FOP > outline extension ? > I would like to make treeview-like outline : > > 1. Bookmark 1 > 1.1 Bookmark 1.1 > 1.2 Book

Re: SVGContext Exception

2002-06-06 Thread Keiron Liddle
On Wed, 2002-06-05 at 18:26, Ian Taylor wrote: > I have the latest > version of batik.jar and cannot see what might be wrong. That is what is wrong. You must use the batik that comes with FOP. When the batik api stops changing then you will be able to use the latest batik.

Re: SVG graphic box/size

2002-06-04 Thread Keiron Liddle
It is something to do with the width and height that you are setting on the svg through the content width and height. This is creating a view of only the corner of the image. Try setting the width and height on the svg itself. On Tue, 2002-06-04 at 10:06, Murad Sæter wrote: > Hi, > > I'm making

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 (a

Re: Images with Hyperlink

2002-05-29 Thread Keiron Liddle
Hi Ramesh, As mentioned before what you are trying is not supported. I was going to say you could use svg to have a link around an image but it appears that there are a couple of bugs. On Tue, 2002-05-28 at 08:55, Ramesh Suribhatla wrote: > Hi, > > I am having a problem to create a hyperlink to

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 larg

Re: Adding Fonts - Must I use absolute paths in fopconfig.xml?

2002-05-02 Thread Keiron Liddle
This is a bug. The base is ignored when reading font information. On 2002.05.01 15:23 Scott Moore wrote: I've got my own servlet with FOP which reads a fopconfig.xml file that I deploy with the servlet. So far, so good. However, when I added fonts to fopconfig.xml, I had a bunch of problems until

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 out

Re: Is FOP Actively Being Developed?

2002-04-26 Thread Keiron Liddle
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: 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: 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 Nicola

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.

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 might

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 problem

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 renders fine. It's actually the that actually causes the problem. Here

Re: SVG rendering in release 0.20.3

2002-04-12 Thread Keiron Liddle
I suspect this is a base url problem. Are you embedding?, is the base directory set? Is your URL correct? On 2002.04.12 03:39 Matthew L. Avizinis wrote: Hello all, This used to work in version 0.20.2 and 0.20.3rc http://www.w3.org/2000/svg"; width="{concat(@width,'mm')}" height="{concat(@hei

Re: document properties

2002-04-12 Thread Keiron Liddle
At the moment these things are not available. The creation date can be set from the current date and the title can come from the fo:title. It may be possible to create an extension to handle the other values similar to the bookmark extension. So these values have been considered but they are not

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 ge

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 03:29

Re: feature and limitation lists

2002-03-21 Thread Keiron Liddle
Hi, If you have any suggestions about how to do this easily then share your ideas with us. Do you have some volunteers in mind to put the real effort into getting this done? On 2002.03.21 09:47 "Fries, Markus, fiscus GmbH, Bonn" wrote: Hi, a lot of questions on this list are caused by propertie

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 bat

Re: external-graphic src syntax

2002-03-14 Thread Keiron Liddle
First it tries to load the given url directly using URL. If the url string is invalid then it tries with "file:" in front. This means that if you image url is a relative path (ie. "image.jpg") then it will find that file (automatically in java) if it is relative to the current directory. The cu

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 P

Re: Rendered SVG does not contain images from xsl:fo

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: FOP, SVG, and Text

2002-03-13 Thread Keiron Liddle
read this carefully: http://xml.apache.org/fop/svg.html On 2002.03.12 21:41 Alex Robinson wrote: I am currently using FOP 0.20.1 embedded in my Java application. I am now trying to insert SVG graphs into my PDF using font. I have been able to generate my PDF files with the SVG images embedded, but

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: 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: 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 ZapfDingbats

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 th

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 org.

Re: FopImageFactory caches too aggressively

2002-03-08 Thread Keiron Liddle
This issue is being dealt with. In the development cvs it uses a cache that will allow garbage collection, context (document) based, different caches etc. For the code see: http://cvs.apache.org/viewcvs.cgi/xml-fop/src/org/apache/fop/image/ImageFactory.java?rev=1.3&content-type=text/vnd.viewcvs-m

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 having

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 SVG.

Re: FopServlet question

2002-03-04 Thread Keiron Liddle
Hi, Lets consider what this problem could be: - you are getting a transform error when using xml and xslt (stylesheet error) - the files from the distribution also have the problem - the files in the distribution work in the distribution - your file probably also work on the command line - the Fop

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 wit

Re: SVG-rendered text looks crude with FOP 0.20.3rc; looked fine with 0.15.0

2002-02-20 Thread Keiron Liddle
Hi, Of course the first place you should look is the documentation: http://xml.apache.org/fop/svg.html This should answer all your questions. Note: FOP 0.15 did not use batik, which is why it is limited On 2002.02.20 05:35 Thorsten Daum wrote: Hi, SVG-rendered text looks very crude using FOP 0.20.3

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: Lock generated PDF was Re: Security on FOP

2002-02-06 Thread Keiron Liddle
On 2002.02.05 16:15 ewitness - Ben Fowler wrote: Yes. I am not sure that I will get started full before the end of February, but I intend to contribute to 1. Java 1.1.8 version 2. keep-with 3. Encryption Keeping jdk1.1 support is a hinderance to the development of FOP and as

Re: CVS version

2002-01-10 Thread Keiron Liddle
see: http://marc.theaimsgroup.com/?l=fop-dev&m=100374237103385&w=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:2

Re: build fails

2002-01-10 Thread Keiron Liddle
The api for jdk1.4 has changed. Use jdk1.2 or jdk1.3 On 2002.01.09 18:30 Sebastian Will wrote: Hi, I'm currently trying to compile Fop-0.20.1-src.tar from xml.apache.org unter w2k/sun jdk1.4beta2, but it says the following: [javac] E:\download\Programming\Java API's\Fop-0.20.1-src.tar\Fop-0.20.

Re: Embedding FOP

2001-12-27 Thread Keiron Liddle
On 2001.12.22 21:53 Dennis Thrysoe - Netnord A/S wrote: Hi, Is there an easy way of embedding FOP, including a stylesheet transformation? Using the Driver class doesn't seem to allow this (or did I miss something?). If I use Xalan to generate results to the ContentHandler, that the Driver inst

Re: True Type Fonts in Fop

2001-12-17 Thread Keiron Liddle
On 2001.12.14 18:05 [EMAIL PROTECTED] wrote: We noticed that when fonts are embeded by FOP they are imported with "Windows" encoding (in Adobe File->Document Info.->Fonts...). If you use a Adobe tool to embeded a font it's encoding is "Built-in" (or something to that effect). We found our Unix bo

Re: True Type Fonts in Fop

2001-12-14 Thread Keiron Liddle
When Fop is creating a PDF file by default it supports all inbuilt pdf fonts. ie. Helvetica HelveticaOblique HelveticaBold HelveticaBoldOblique TimesRoman TimesItalic TimesBold TimesBoldItalic Courier CourierOblique CourierBold CourierBoldOblique Symbol ZapfDingbats Obviously it defaults to a par

Re: Marker problem

2001-12-06 Thread Keiron Liddle
Hi, The messages about the marker not being added could be due to some minor error like the marker is not the first child of the block or there is whitespace before the marker (markers haven't been fully implemented yet). The message "Some static content could not fit in the area." indicates th

Re: Fop2PDFServlet using FOP 0.20.1

2001-09-25 Thread Keiron Liddle
On Fri, 21 Sep 2001 18:15:54 MEMMADI Said wrote: > Hi all, > I need example of servlet using FOP 0.20.1 and wich generate PDF file > from xsl file and xmlString. > > I've old code wich don't work now with this last version. > > What is the best way xmlString or creating DOM object if I've not xml

Re: FOP, SVG and external-graphic Question

2001-08-22 Thread Keiron Liddle
Fred, The xml markup between the and 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 combining external-gra

Re: Slow PDF generation

2001-08-17 Thread Keiron Liddle
On Tue, 14 Aug 2001 09:02:31 Jean-Michel Biollaz (hexalog) wrote: > Hello, > > I have embedded SVG drawing in my FO document, but the generation is very > slow, about 10sec/page. Is it normal ? How can I improve the generation > speed ? Is the SVG embedding document slow FOP ? > > Thank's in adva

Re: FO Frames

2001-08-15 Thread Keiron Liddle
Jean-Michel, I see you actually mean pdf text, that is the text that appears on the page is made from pdf text markup rather than shapes. If your needs are simple, each bit of text is same font, is a pdf font, is the same colour and isn't rotated then you can make it draw the text from svg into t

Re: FO Frames

2001-08-15 Thread Keiron Liddle
It may be possible to have fo markup inside svg but this is not implemented anywhere (that I know of) and is probably not a good solution. Maybe you could simply have the svg graphic behind the fo text. This will give you the svg graphic and then you can place the text in the required places. It

Re: Big PDF size

2001-08-15 Thread Keiron Liddle
Jean-Michel, When text is drawn by batik it actually draws the text as a set of curves and lines. This is the default behaviour. This results in a large amount of data, each character may need a number of curves. Compared with normal text it only needs one character per character plus a small over

Re: SVG size in PDF/FOP

2001-08-09 Thread Keiron Liddle
On Wed, 08 Aug 2001 18:01:49 Jean-Michel Biollaz (pb) wrote: > in FOP doc we can see : "It is also possible to specify the width and/or > height of the PDF document. Currently the SVG image is simply scaled in > PDF > so the result my not be the best possible" > How can we avoid the scaling of the

Re: Embedded SVG when running FOP from command line

2001-07-18 Thread Keiron Liddle
This is a problem with java. If AWT is used (by batik) then the jvm does not exit. This next version of FOP will exit after finishing to avoid this problem. On Wed, 18 Jul 2001 08:45:57 Darren Munt wrote: > Hi, > > I'm running FOP from the command line to transform XML into PDF. It works > fine

Re: keep.fo example

2001-07-17 Thread Keiron Liddle
There is no bug with the placement of the table inside the region-body. If you put text in place of the table you will notice that the region-body overlaps where the page number is by about 2.5 lines. It is simply the way that the page layout is setup. On Mon, 16 Jul 2001 12:44:39 Michail Biko

Re: fo:flow within fo:page-sequence

2001-07-12 Thread Keiron Liddle
On Thu, 12 Jul 2001 11:25:06 Wolf Gustavo (SGC-EXT) wrote: > Hi, > in the XML bible, chap. 15, I read that for a fo:page-sequence I > can > have one fo:flow per region, i.e.: , > and then another like , etc, > which > makes 5 in total per page. > However, when I try to define one flow for