Re: Printing with Rendering Transform/Results

2004-03-08 Thread Chris Cruzdal
Hi Nacho, Thomas, I have been playing around in order to find a solution to this problem, which I have, so far, not encountered, but I have made a few observations which I would like to share: In theory, I would picture the "printing with rendering transform" as the following sequence: 1) Retriev

ImageTranscoder problem

2004-03-08 Thread Brecht Yperman
Hi, i'm new to Batik. I've searched the archive to find an answer to my problem, but I didn't find anything. We're developing a tool to visualise networks. We'd like to be able to export them to different graphic formats. Exporting to svg is no problem. For export to JPG, TIF and PNG, i first cr

Re: UpdateManager.dispatchSVGUnLoadEvent() Question

2004-03-08 Thread Chris Cruzdal
Hi, I am found the following solution to the problem: simply do not call the stopProcessing() method in the destroy() method of the applet... this is not clean, but it works, and does neither produce any exceptions nor any other side-effects. If I sign the applet, it works, too, but as this impli

Re: ImageTranscoder problem

2004-03-08 Thread Thomas DeWeese
Brecht Yperman wrote: Exporting to svg is no problem. For export to JPG, TIF and PNG, i first create a temporary svg file and then transcode that file to one of those formats. What seems to be the problem: the svg file doesn't have width or height attributes. Displaying a 1000*1000 svg file is no

Re: ImageTranscoder problem

2004-03-08 Thread Chris Cruzdal
Hi, I think I know a solution to your problem. In short, I suspect your SVG files do not have a proper viewBox and/or width and height. In long, check http://koala.ilog.fr/batik/mlists/batik-users/archives/msg01121.html and http://koala.ilog.fr/batik/mlists/batik-users/archives/msg01123.html as

Converting from SVG to JPEG/PDF/WMF: Fonts?

2004-03-08 Thread Hans Stoessel
Hi I'm converting a SVG file to JPEG, PDF and WMF. Now I have some problems with the fonts. To test it, I have used several different fonts in differnet sizes, bold and not bold, italic and not italic. The SVG looks fine, all fonts are OK. But the converted files (JPEG, PDF, WMF) are not OK. Some

Re: Converting from SVG to JPEG/PDF/WMF: Fonts?

2004-03-08 Thread ananth balasubramanyam
Hi Hans, I am also working on a similar setup where i need to have my font information consistent from SVG to JPEG. SVG allows SVG Fonts which are nothing but font outlines described using SVG curves and shapes. If you have a true type font (a .ttf file), then you can use batik's ttf2svg font con