Re: PostScript with Unicode fonts

2003-01-30 Thread Jeremias Maerki
On 29.01.2003 19:29:02 Rodolfo M. Raya wrote: On Wed, 2003-01-29 at 14:41, Jeremias Maerki wrote: Hi The Arial font you're talking about is TrueType, right? You can't use TrueType fonts with the PostScript renderer, yet. The PostScript renderer is not anywhere near the functionality

Re: Web page embedding

2003-01-30 Thread Laurent Forêt
I am new to this mailing list, and sorry if I ask very known question ? But, I have tried the Servlet exmple code and it seems that it uses deprecated methods : com/clipack/portal/util/FOPRenderer.java [40:1] warning: getParser() in org.apache.fop.apps.XSLTInputHandler has been deprecated

Re: Web page embedding

2003-01-30 Thread Jeremias Maerki
Yes, FOP 0.20.5 will contain a set of examples that uses JAXP. They are currently only accessible via CVS. Here's an URL to the example you need: http://cvs.apache.org/viewcvs.cgi/xml-fop/examples/embedding/java/embedding/Attic/ExampleXML2PDF.java?rev=1.1.2.1content-type=text/vnd.viewcvs-markup

Re: Web page embedding

2003-01-30 Thread Laurent Forêt
OK thanks a lot. Now I am lookinkg to the ExampleObj2XML at http://cvs.apache.org/viewcvs.cgi/xml-fop/examples/embedding/java/embedding/ Attic/ExampleObj2XML.java?rev=1.1.2.1content-type=text/vnd.viewcvs-markup And We don't have the code for the ProjectTeam class, specially

Re: Java novice

2003-01-30 Thread Jeremias Maerki
On 30.01.2003 11:55:11 Matthew Lancashire wrote: I hace created an exe from ExampleXML2PDF. Well, exe don't exist in Java. I guess you mean you ran the build script in examples/embedding and now you've got a bunch of *.class files in the build directory, right? How can I run this. I get

RE: Java novice

2003-01-30 Thread Matthew Lancashire
I am using MS VJ++ 6 which builds an exe file! The class is the Driver class (found from debugging not the error message) CML was supposed to be XML. Any clues -Original Message- From: Jeremias Maerki [mailto:[EMAIL PROTECTED] Sent: 30 Jan 2003 11:28 To: [EMAIL PROTECTED] Subject: Re:

Nice attitude! FW: OT: Java novice

2003-01-30 Thread Matthew Lancashire
Is this the sort of help you want to encourage? -Original Message- From: Herr Christian Wolfgang Hujer [mailto:[EMAIL PROTECTED] Sent: 30 Jan 2003 12:09 To: Matthew Lancashire Subject: Re: OT: Java novice -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Oh no, Am Donnerstag, 30. Januar

Re: Nice attitude! FW: OT: Java novice

2003-01-30 Thread Ben Fowler
We can't do much about the answers/ help offered, but do we want to encourage questions on the J++ language and .EXE files? If the answer is no, how should they be discouraged? See URL: http://www.catb.org/~esr/faqs/smart-questions.html for guidance on answering (and asking) questions; and

Re: Web page embedding

2003-01-30 Thread Laurent Forêt
Not exactly, my question was more simple : Can I use XMLReaderAdapter (from the SAX package) instead of AbstractObjectReader given in your example? I think yes, but is there something I missed? regards, Laurent Forêt. - Original Message - From: Jeremias Maerki [EMAIL PROTECTED] To:

RE: Nice attitude! FW: OT: Java novice

2003-01-30 Thread Celine Murphy
Title: RE: Nice attitude! FW: OT: Java novice could ye guys please stop clogging up user list with pointless inane rubbish. -Original Message- From: Herr Christian Wolfgang Hujer [mailto:[EMAIL PROTECTED]] Sent: 30 January 2003 13:51 To: [EMAIL PROTECTED]; Matthew Lancashire

Re: Nice attitude! FW: OT: Java novice

2003-01-30 Thread Johan Åbrandt
I so agree... Celine Murphy wrote: could ye guys please stop clogging up user list with pointless inane rubbish. -Original Message- From: Herr Christian Wolfgang Hujer [mailto:[EMAIL PROTECTED] Sent: 30 January 2003 13:51 To: [EMAIL PROTECTED]; Matthew Lancashire Subject: Re: Nice

Re: Web page embedding

2003-01-30 Thread Jeremias Maerki
I don't think so. You'll see when you go that way. If it doesn't work it's easy enough to switch. On 30.01.2003 14:37:39 Laurent Forêt wrote: Not exactly, my question was more simple : Can I use XMLReaderAdapter (from the SAX package) instead of AbstractObjectReader given in your example? I

Re: Web page embedding

2003-01-30 Thread Laurent Forêt
I have missed something. I didn't have understood the mecanism between AbstractObjectReader and EasyGenerationContentHandlerProxy. Now, if I have well understood the object which extends AbstractObjectReader will treat the event generated by himself throuh the handler of type

Re: Java novice

2003-01-30 Thread Jeremias Maerki
I would have put it a little differently, but Mr. Hujer is right. You won't have any luck with VisualJ++, especially as a Java novice. I recommend you switch to a more compatible Java VM. As the release notes say you need at least JDK 1.2. FWIW the Driver class is in fop.jar. So you need to get

Re: Web page embedding

2003-01-30 Thread Jeremias Maerki
Right. AbstractObjectReader constructs the EasyGenerationContentHandlerProxy (See line 64 in AbstractObjectReader) and uses that to initiate SAX events. The proxy then forwards the events to the real ContentHandler. If you just copy the ProjectTeamXMLReader and adjust it to your environment you

RE: Java novice

2003-01-30 Thread Matthew Lancashire
Thanks for the help. I was using the VJ6++ IDE because I am used to MS IDEs. The class seems just fine. I still use the sun java bits to run the class. Have given up on the exe -Original Message- From: Jeremias Maerki [mailto:[EMAIL PROTECTED] Sent: 30 Jan 2003 14:32 To: [EMAIL PROTECTED]

Re: preserve space

2003-01-30 Thread J.Pietschmann
Toufic Nehme wrote: I have an element with formatted text inside an xml file. When I generate my pdf, all spaces, LF and CR are skipped in the fo:block. I need to output the text as it is formatted in the xml file. I tried with xsl:preserve-space elements=ColorCode/ in the xsl file, with

Re: preserve space

2003-01-30 Thread Oleg Tkachenko
Toufic Nehme wrote: I have an element with formatted text inside an xml file. When I generate my pdf, all spaces, LF and CR are skipped in the fo:block. I need to output the text as it is formatted in the xml file. I tried with xsl:preserve-space elements=ColorCode/ in the xsl file, with