Re: PostScript with Unicode fonts

2003-01-31 Thread Rodolfo M. Raya
On Thu, 2003-01-30 at 05:12, Jeremias Maerki wrote: You will have to go with the PDF renderer for now, I'm afraid. OK. Is there any other tool that can convert PDF to PostScript in Windows? Win32 port of pdftops from the xpdf package perhaps:

RE: preserve space

2003-01-31 Thread vinod.nayak
Though I am not a Guru in this field, I suggest a small change in the xml structure as well as in the xsl. There may be other solutions. Decide which one would ease your building XML. XML: ColorCode CodeRed/code CodeBlue/code CodeGreen/code ColorCode XSL:

Re: PostScript with Unicode fonts

2003-01-31 Thread Jeremias Maerki
On 31.01.2003 02:19:03 Rodolfo M. Raya wrote: On Thu, 2003-01-30 at 05:12, Jeremias Maerki wrote: snip/ Is there any other tool that can convert PDF to PostScript in Windows? Win32 port of pdftops from the xpdf package perhaps:

Re: preserve space

2003-01-31 Thread Toufic Nehme
Roberto, I absolutely agree with you. But I don't have any control over the xml file's structure. I have this requirement on my desk and the guy who wrote it out, does not have any idea about xml. I tried to convince him, but it's very difficult to negociate in a big organization. Thank you

Re: preserve space

2003-01-31 Thread jaccoud
Although format is surely not to reside in data files, the XML Rec. provides for character-level structural preservation, by means of the special xml:space attribute. If the text is preformatted, your DTD should declare this attribute as FIXED with the value preserve in the elements in which this

userconfig.xml in servlet

2003-01-31 Thread Peter Menzel
Hi everybody! I want to set FOPs userconfig.xml in the servlet, using these lines: File userConfigFile = new File(getServletContext().getResource(/WEB-INF/userconfig.xml).toExternalForm() ); Otions options = new Options(userConfigFile); this code compiles, but when running the servlet, I get an

multithreading issues - FOP, TIFFRenderer, Solaris 4-proc machine, pja x-server

2003-01-31 Thread reto . blunschi
Hello, I am using FOP 0.20.5rc to produce TIFF files from XML in an EJB environment. I experience strange multithreading issues when I run the thing in the (production-near) test-environement on a 4-proc box - the font sizes get messed up completly on the 4 proc machine but only if I render

Re: PostScript with Unicode fonts

2003-01-31 Thread Rodolfo M. Raya
On Fri, 2003-01-31 at 03:23, Jeremias Maerki wrote: I need to solve this problem soon. If I'm able fix the PS renderer, I will contribute all the code. Problem is, I know nothing about the PS renderer and how to handle Unicode fonts with it. I wouldn't recommend this at the moment if

Re: userconfig.xml in servlet

2003-01-31 Thread Oleg Tkachenko
Peter Menzel wrote: I want to set FOPs userconfig.xml in the servlet, using these lines: File userConfigFile = new File(getServletContext().getResource(/WEB-INF/userconfig.xml).toExternalForm() ); So check here whether such file exists: if (userConfigFile.exists()) Otions options = new

Re: multithreading issues - FOP, TIFFRenderer, Solaris 4-proc machine, pja x-server

2003-01-31 Thread Oleg Tkachenko
[EMAIL PROTECTED] wrote: I am using FOP 0.20.5rc to produce TIFF files from XML in an EJB environment. I experience strange multithreading issues when I run the thing in the (production-near) test-environement on a 4-proc box - the font sizes get messed up completly on the 4 proc machine but only

java/util/Hashmap

2003-01-31 Thread Matthew Lancashire
I keep getting the noclassdeffounderror for hashmap. Where is this MS VM? Matthew Lancashire IT Project Manager Intitial Electronic Security Ltd Tel: +44 1282 473554 Fax: +44 1254 267552 - To unsubscribe, e-mail: [EMAIL

Re: java/util/Hashmap

2003-01-31 Thread Johan Åbrandt
Matthew Lancashire wrote: VJ++ 6.0 Yeah. I have both Sun JDK and MS JDK. Is it in there? If the Sun JDK is above version 1.2 then yes. Try java -version on the command line, or print System.getProperty( java.version ) in a program. i.e public class Prop { public static void main( String[] args

Re: java/util/Hashmap

2003-01-31 Thread Oleg Tkachenko
Matthew Lancashire wrote: VJ++ 6.0 Yeah. I have both Sun JDK and MS JDK. Is it in there? MS JDK is ancient java 1.1.4, you cannot use it with FOP. -- Oleg Tkachenko eXperanto team Multiconn Technologies, Israel - To unsubscribe,

RE: java/util/Hashmap

2003-01-31 Thread Matthew Lancashire
Its 1.3.1_06. What do I need to do to get the class in to my classes folder. -Original Message- From: Johan Åbrandt [mailto:[EMAIL PROTECTED] Sent: 31 Jan 2003 15:34 To: [EMAIL PROTECTED] Subject: Re: java/util/Hashmap Matthew Lancashire wrote: VJ++ 6.0 Yeah. I have both Sun JDK and

RE: java/util/Hashmap

2003-01-31 Thread Matthew Lancashire
What about the sun one? -Original Message- From: Oleg Tkachenko [mailto:[EMAIL PROTECTED] Sent: 31 Jan 2003 15:36 To: [EMAIL PROTECTED] Subject: Re: java/util/Hashmap Matthew Lancashire wrote: VJ++ 6.0 Yeah. I have both Sun JDK and MS JDK. Is it in there? MS JDK is ancient java

RE: userconfig.xml in servlet

2003-01-31 Thread Rakesh Patel
Hi Peter, I had the same issue. Here's my servlet code: ServletContext scntxt = this.getServletContext(); String pathToFile = scntxt.getRealPath(/WEB-INF); String imagePath = file: + pathToFile; org.apache.fop.configuration.Configuration.put(baseDir, imagePath); Hope that helps Rakesh

Re: userconfig.xml in servlet

2003-01-31 Thread Oleg Tkachenko
Peter Menzel wrote: I cannot specify the basedir/fontbasedir in the userconfig.xml, because I do not know it. My web application will be deployed as a war file in some servlet container from which I do not know anything about directory structures.. Is there another way, to set the font basedir in

Re: java/util/Hashmap

2003-01-31 Thread Herr Christian Wolfgang Hujer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Matthew, I keep getting the noclassdeffounderror for hashmap. Yes. What do I need to do to get the class in to my classes folder. You're not supposed to extract system classes from their library and include them with your code. 1. How do you

RE: userconfig.xml in servlet

2003-01-31 Thread Peter Menzel
Thanks, but it still does not work. I use File userConfigFile = new File(getServletContext().getRealPath(/WEB-INF/userconfig.xml)); to set the userconfig file, and this works fine. but all efforts to set the baseDir didn't work: I tried: String pathToFile =

RE: java/util/Hashmap

2003-01-31 Thread Matthew Lancashire
I used the command java -version -Original Message- From: Herr Christian Wolfgang Hujer [mailto:[EMAIL PROTECTED] Sent: 31 Jan 2003 16:14 To: [EMAIL PROTECTED]; Matthew Lancashire Subject: Re: java/util/Hashmap -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Matthew, I keep getting

RE: java/util/Hashmap

2003-01-31 Thread Matthew Lancashire
Just looked in the JDK folder and there is an src.zip that contains the .java for hashmap -Original Message- From: Herr Christian Wolfgang Hujer [mailto:[EMAIL PROTECTED] Sent: 31 Jan 2003 16:14 To: [EMAIL PROTECTED]; Matthew Lancashire Subject: Re: java/util/Hashmap -BEGIN PGP

RE: Counting the number of pages generated in the pdf file

2003-01-31 Thread Rakesh Patel
Hi, the standard way is to add a block (with an id value) on the end of the fo and then reference it. Rakesh -Original Message- From: MARTIN Franck [mailto:[EMAIL PROTECTED] Sent: 31 January 2003 16:52 To: [EMAIL PROTECTED] Subject: Counting the number of pages generated in the pdf

Re: java/util/Hashmap

2003-01-31 Thread Herr Christian Wolfgang Hujer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Matthew, Am Freitag, 31. Januar 2003 17:44 schrieb Matthew Lancashire: Just looked in the JDK folder and there is an src.zip that contains the .java for hashmap but you're not supposed to do that for a) SUN's copyright. b) It must work without

Re: Counting the number of pages generated in the pdf file

2003-01-31 Thread Oleg Tkachenko
MARTIN Franck wrote: Is there any way to count the number of pages for a pdf generated file? You can get number of generated pages using driver.getResults().getPageCount(); -- Oleg Tkachenko eXperanto team Multiconn Technologies, Israel

Re: Counting the number of pages generated in the pdf file

2003-01-31 Thread Rodolfo M. Raya
On Fri, 2003-01-31 at 13:51, MARTIN Franck wrote: Is there any way to count the number of pages for a pdf generated file? Maybe the following code can help: File userConfigFile = new File(lib/userconfig.xml); options = new Options(userConfigFile); output = new FileOutputStream(outputFile);

Re: userconfig.xml in servlet

2003-01-31 Thread J.Pietschmann
Peter Menzel wrote: ... String pathToFile = file://w:/projekte/owservlet/build/WEB-INF/; ... but the fop tells me [ERROR] Failed to read font metrics file /projekte/owservlet/build/WEB-INF/mtcorsiva.xml : null whats happening to the file://w: part of the path ? Study the file: scheme URI syntax,

Re: Counting the number of pages generated in the pdf file

2003-01-31 Thread J.Pietschmann
MARTIN Franck wrote: Is there any way to count the number of pages for a pdf generated file? Check the FAQ for hints and caveats: http://xml.apache.org/fop/faq.html#faq-N10597 J.Pietschmann - To unsubscribe, e-mail: [EMAIL