Re: Rendering Svg in PDF

2002-10-28 Thread Keiron Liddle
On Mon, 2002-10-28 at 11:37, marco scotoni wrote: > Are you meaning in FOP CVS? or Batik? FOP cvs. This is where the pdf transcoder is. This contains all the classes that batik uses to render and create the pdf output document. > > Hi, > > > > The linear gradient is not implemented in the versio

Re: Rendering Svg in PDF

2002-10-28 Thread Keiron Liddle
Hi, The linear gradient is not implemented in the version you are using. It is implemented in cvs however there is some work todo before this can be used with cocoon. Keiron. On Mon, 2002-10-28 at 10:58, marco scotoni wrote: > Hi, > > i use batik 1.5b4, fop 0.20.4 on cocoon 2.0.3. > i have a

Re: Printing Multi-page document

2002-08-16 Thread Keiron Liddle
On Thu, 2002-08-15 at 17:56, Yanick Gaudet wrote: > Hi, > > I need to print a Multi-page document. The JSVGCanvas Renders the document > perfectly, but when I try to print the Document using the PrintTranscoder > all of the document is printed on one sheet of paper. (Good for the trees > not for

Re: Transcoder - Turn off antialiasing?

2002-08-15 Thread Keiron Liddle
On Wed, 2002-08-14 at 15:47, Nikitin, Dimitry wrote: > Is it possible to globally turn antialiasing off using hints/some other api? > I use BATIK 1.1.1 to rasterize svg generated by FOP 0.20.3 so I don't have > much control over source svg file. The problem is that resulting image > contains small

Re: SVG -> PDF - Preserving text

2002-07-24 Thread Keiron Liddle
On Wed, 2002-07-24 at 11:02, Mark Stanton wrote: > Hi all > > I have stumbled across FOP & Batik recently and am specifically interested > in converting SVG docs to PDF. I got very excited when I first came across > them and then heart broken when I realised that the end result of this > conversi

Re: Embedded pictures in 2DGraphics

2002-07-04 Thread Keiron Liddle
Hi, Nothing like this is implemented. I'm not that familiar with OPI but from a quick read it appears that it puts in a low resolution image into the postscript doc, then later on it replaces it with a high resolution image. This might be possible with some sort of pdf editing tool as the image i

Re: PDF transcoder problem?

2002-05-09 Thread Keiron Liddle
Hi Joel, You need to use the version of batik that comes with the FOP that you are using. This is due to api changes. Hopefully in future this api will settle down so that new FOP and Batik versions will work together. On Thu, 2002-05-09 at 22:22, Joel Brown wrote: > Hi- > > I can't get the Ra

Re: Bad quality after converting SVG to PDF

2002-04-14 Thread Keiron Liddle
There are a number of problems trying to convert complicated svg into pdf. By complicated I mean it contains transparency, effects or other similar things that require drawing images. The pdf transcoder does not handle any transparency so transparent objects or shading come out badly especiall

Re: howto output eps?

2002-04-01 Thread Keiron Liddle
Hi, You can output PDF with Batik+FOP. You should be able to convert the pdf into eps using a tool. I know of a pdf to ps. On 2002.03.29 17:03 Gerdes Kim wrote: > hi there, > > can someone tell me what is the best way to transform my (very simple) > batik svg graphics into eps? > > is there

Re: Batik, FOP, and PDF

2002-03-15 Thread Keiron Liddle
Hi, The real problem here is that the api with batik has been changing. The batik.jar that comes with FOP is from the build-all target and when that was done depends on what version of FOP you are using. FOP uses a number of internal api's which have been subject to change from version 1.0 ->

Re: Batik problem in multithreaded application

2002-03-04 Thread Keiron Liddle
Hi, This is really for the fop list but it appears that your problem is a threading issue with the way that FOP handles images. On 2002.03.05 05:28 Ramakrishnan.G wrote: > Hai Vincent, > > Basically my aim is to generate pdf and ps from xml and xsl files. > As i have to process bulk of files

Re: Occasional Rasterizer error

2002-02-27 Thread Keiron Liddle
On 2002.02.27 23:33 Anthony Shawver wrote: > I have a jsp page that displays about 10 graphs. I haven't changed the > code > for some time, but recently I noticed the following error appearing very > infrequently. When it appears, I can resubmit the same data, and I will > not > receive the erro

Re: SVG pagination

2002-02-22 Thread Keiron Liddle
On 2002.02.21 19:07 Brian Grainger wrote: > At 09:08 AM 2/21/02 +0100, you wrote: > >> When FOP+batik is used to convert an SVG to a PDF it can only put all >> the PDF on one page. It is the same as rendering to a png, you only get >> the one image out. > > So in other words if the input SVG i

Re: SVG pagination

2002-02-21 Thread Keiron Liddle
On 2002.02.20 22:46 Brian Grainger wrote: > Being new to FOP, I have a question which has > probably been answered many times before. > > Given an SVG document of an arbitrarily large > size, is it possible with FOP to 'chunk' it into > page-sized pieces, or do I need to work instead > at a lower

Re: Why doesn't SVG viewBox work?

2001-11-05 Thread Keiron Liddle
=1.86&r2=1.87&diff_format=h The problem has been solved on 30/8/2001. A look at the release dates indicates this is probably in version 0.20.2 so I suggest you try that version. Regards, Keiron Liddle On 2001.11.01 21:44 Scott Moore wrote: > Hi all, > > I embedding some SVG into my

Re: confused about SVG size when converted to PDF

2001-08-20 Thread Keiron Liddle
Steve, There seems to be a number of issues here (some which are really fop related). If you are embedding an svg image in xsl-fo markup it is using the dpi the same as for the xsl-fo, which happens to be 72dpi. This value is only really used for conversion of units (in -> pt, cm -> pt etc.) exce

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: Graphical rendering of an SVGDocument (no canvas)

2001-06-06 Thread Keiron Liddle
You can render the svg document directly to a java Graphic. ie. something like this. protected void renderSVGDocument(Document doc, int x, int y) { UserAgent userAgent = new MUserAgent(new AffineTransform()); GVTBuilder builder = new GVTBuilder(); GraphicsNodeRender