Re: converting SVG to PDF

2002-03-01 Thread James Richardson
fred redf wrote: > > > Hi Boby, > > The prob is that svg renderer *need* to connect to an > X11 server cause batik relies on AWT. When you run it > via the command line there is no prob (assuming you > actually are connected to some kind of X11 server). I > found a workaround by running servle

Re: [Understanding] SVG [6]

2002-02-27 Thread James Richardson
Jeremias Maerki wrote: > and... > - Try to get the Batik team to remove the AWT dependencies so FOP can be > run on a head-less Unix machine without Xvfb. > Well, if you use PJA (http://www.eteks.com), you dont even need to do an X hack like that, and its pure java. Works for me. Cheers

Re: Tool for generating bar graphs with Java

2002-02-26 Thread James Richardson
Sergei Timofejev wrote: > > > KavaChart > > http://www.aoindustries.com/docs/javachart/api/chart.package.html > Or PopChart. http://www.corda.com. Its very quick, and produces svg, flash, and gif graphs. Its a breeze to set up, and accessibile via http or direct api. Cheers James

Re: Problem with generated PDF files

2002-02-14 Thread James Richardson
Phillips Tony wrote: > > > Win2K/NT... wonder if it's not going out of scope before I pick up the > copy, > hmm. Perhaps if I force a garbage collect it will help! Something to > try... > > thanks > > Tony > Not that this is a FOP related thing. But forcing a gc is the _wrong_ way to do

Re: Problem with generated PDF files

2002-02-14 Thread James Richardson
Phillips Tony wrote: > > > Hello, > > I think I have a problem with my generated PDF files! To make it easier to > handle distribution of the output files, I produce the output PDF in a > temporary 'working' directory which is fine. I then copy the output PDF to > its final destination and,

Re: weblogic and fop

2002-01-02 Thread James Richardson
OK, the problem is that weblogic contains in its classpath some XML parser stuff. (Off topic, but why anybody ever decided that using a single static method to get an XML parser (which one you get only controlled by the classpath is totally beyond me. It might work fine in some cases, but sin

Re: FOP performance on Win98/JRE 1.3.1

2001-12-12 Thread James Richardson
Just a thought... did anybody try FOP with jRockit JVM? James - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]

Re: FOP performance on Win98/JRE 1.3.1

2001-12-11 Thread James Richardson
The performance of FOP needs quite a bit of work. At least thats the impression I get from many people round here. However, its really new software ( hanve version 0.20 I would imagine ), and I think that that probably the coders are working on getting the functionality there before spending

Re: number of pages generated

2001-12-11 Thread James Richardson
I like the idea I was also wondering if theres a way to get notified of certain events happening, like the completion of a page, number of pages calculated, or similar, via some callback mechanism This way I could keep more of an eye on the progress of a rendering job. Cheers James

Re: Problems with seeing pdf-files in IE 5.0

2001-12-07 Thread James Richardson
Jim Urban wrote: So how do you use a url that ends > with .pdf when using servlets? > I think you can do http://any.url/servlets/Blah?stuff=.pdf but not certain James - To unsubscribe, e-mail: [EMAIL PROTECTED] Fo

Re: Automatic generation of cell size

2001-12-07 Thread James Richardson
Although really you should use the font metrics & kerning tables... James Buchtík, Michal wrote: > > > It's not universal for all fonts, but > we know font which is used and the font-size > so we find a longest string in collumn > > column-width = longest_string_length * avg(charsizes_of_f

Re: Advice please

2001-12-05 Thread James Richardson
Phillips Tony wrote: > > > Hi, > > I'm putting together a bill production facility which is now almost > complete; there's some reasonably complex XSL:FO stuff to produce lovely > bills in PDF...and I'm impressed with FOP. However, I now need to print > 'em! > > I've looked at a couple of

Re: Page Breaks

2001-12-04 Thread James Richardson
Jim Urban wrote: > > Using XSLT does not change the data. It simply formats the data for > display. not that this relates to FOP, but I think XSLT, as its turing complete, cannot be said to change any data any less than perl, or James --

Re: Jaggies

2001-12-03 Thread James Richardson
gt; it should tell you what you need to know. > > On 2001.11.30 17:47 James Richardson wrote: > >>When rendering my previous post, Batik seems to be able to render fine >>in the GUI, but when included in FOP ( either as external graphic, or >>instream foreign object ), t

Jaggies

2001-11-30 Thread James Richardson
When rendering my previous post, Batik seems to be able to render fine in the GUI, but when included in FOP ( either as external graphic, or instream foreign object ), the rendered text has the most ugly jaggies. I think I read in the archive that FOP rasterises the SVG before inserting into

Re: Fill pattern problem

2001-11-30 Thread James Richardson
Please excuse my stupidity I had the following in the SVG: Note lack of end tag for the Still, the error msg threw me a little. Cheers! James - To unsubscribe, e-mail: [EMAIL PROTECTED] For addition

Re: Fill pattern problem

2001-11-30 Thread James Richardson
Keiron Liddle wrote: > > > Hi, > > Have you tried the svg standalone though batik. > The exception is being thrown by batik. It looks like a problem where > batik causes a class cast exception when an image cannot be found (ie. > file:///m:/overlay.txt is wrong). My apologies, I didn't ex

Fill pattern problem

2001-11-30 Thread James Richardson
Hi, The following svg file crashes out the PDF renderer I hand wrote the file, so I dont know if is a bug in the XML. Adobe's plugin seems to render it OK. http://www.w3.org/TR/2000/03/WD-SVG-2303/DTD/svg-2303-stylable.dtd"; > http://www.w3.org/2000/svg"; >

Classpath & FOP (or CLASSPATH &

2001-11-28 Thread James Richardson
There must be a better way for specifying sax parsers than each project in the work rewriting java/xml/parsers/SAXParserFactory. This is completely terrible. I've just looked throught the various jar files I have and I have no less than 5 different implementations! FOP is (and surely other p

[Fwd: Classpath problems with FOP & Weblogic 6.0]

2001-11-28 Thread James Richardson
Since posting this, I have come to realise that this is a common problem. I have not seen though a definative solution for the problem. Weblogic does seem to include a lot of the xerces / xalan code, but it is repackaged, so I think the problem lies with the order in which the classes are set