RE: PDF-PS-PDF with EPS

2004-07-11 Thread Chris Pratt
How about just delivering a link to FreeHEP and requiring the end user to
download FreeHEP if they need that support and are willing to agree to the
license?
  (*Chris*)

-Original Message-
From: Jeremias Maerki [mailto:[EMAIL PROTECTED] 
Sent: Saturday, July 10, 2004 2:34 pm
To: [EMAIL PROTECTED]
Subject: Re: PDF-PS-PDF with EPS 

Hehe, I'm dreaming about that, too. Means we need a PostScript
interpreter. FreeHEP has a PS interpreter but it is distributed under
the LGPL which makes virtually impossible for us to use.

Any students out there looking for a nice little project? How about
writing a PostScript interpreter? :-)

Without that interpreter there's no way we can get EPS files to display
in Acrobat Reader. Work-arounds involve external programs that convert
EPS to SVG, for example.

On 09.07.2004 19:57:55 Wouter de Vaal wrote:
 (but I even hope more that in FOP 1.0 the eps's will
 allways show op in acrobat programs ;-).


Jeremias Maerki


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: EPS image printing problem

2004-07-11 Thread Peter Gustafsson
 Since I indicated Ghostscript users should use 7.06 in that POST, can
 you confirm whether or not your problem still exists in 7.06?

I have only tried viewing the images with 7.04 so I wouldn't know about 7.06
but with 7.04 the
images shows up as intended...

I will go on vacation for a week now but please continue the discussion
around this topic, I will read it all when I come back.

/Peter



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: XMLParser error with unicode characters in XML file.

2004-07-11 Thread Mike Ferrando
Manoj,

For the XML declaration, the encoding attribute value is specified by
the IANA values. The uppercase value of 'utf-8' is the prefered form
of the character set.

This is the first time I have seen the need for choosing the
preferred value, but I will make a note of it for my stylesheets.

You can find a list of character set values online (below).

Mike Ferrando
Washington, DC

IANA character set spec
http://www.iana.org/assignments/character-sets

W3c XML 1.0 spec
http://www.w3.org/TR/2004/REC-xml-20040204/#sec-existing-stds
--- [EMAIL PROTECTED] wrote:
 
 Thanks for the reply. However this problem has nothing to do with
 data
 transfer as I am creating XML file on the fly. So if is installed
 on Unix
 file gets created on Unix and same for windows...
 
 My guess turned out right. On Unix you need to specify the encoding
 as
 'UTF-8' ( case sensitive ) while on windows 'utf8' ( and for that
 matter
 'UTF-8') works fine..
 
 FYI
 Manoj
 
 
 
 

   
   J.Pietschmann  
   
   [EMAIL PROTECTED]To:  
 [EMAIL PROTECTED]  
   e   cc: 
   
Subject:  Re:
 XMLParser error with unicode characters in XML   
   07/08/2004 03:59  file.  
   
   AM   
   
   Please respond to
   
   fop-user 
   

   

   
 
 
 
 
 [EMAIL PROTECTED] wrote:
  My boss just called me and informed me that on UNIX ( where we
 have our
  jars and where we run our application server) its getting an
 error
  saying encoding error utf8. It worked on windows 2000 pro which
 I am
  using. Does the utf8 string needs to be different on unix?
 
 The most likely problem is that the files got corrupted during
 transfer.
 
 You should definitely get some education about encoding issues
 rather
 than stumbling along blindly. Start here for the XML related
 problems
   http://skew.org/xml/tutorial/
 There are some websites dealing with encoding issues in Java and
 with
 transferring files across machines as well.
 
 J.Pietschmann
 

-
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 
 
 
 

-
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 




__
Do you Yahoo!?
Yahoo! Mail - You care about security. So do we.
http://promotions.yahoo.com/new_mail

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Invoking FOP from C++

2004-07-11 Thread Steve Afdahl
Have you looked into the Java Native Interface (JNI)?  It works both 
ways.  You can use it in Java to call native libraries and you can also 
use it to call Java code from C/C++.  This should give you access to the 
page count property as well as controlling output creation.

This link might help you get started:
http://java.sun.com/docs/books/tutorial/native1.1/implementing/index.html
Oosterbaan, Douglas S. (LNG-DAY) wrote:
Has anyone invoked FOP 0.20.5 from a C++ process?  We have a large
existing C++ component which needs the services provided by
FOP.   I've downloaded the binary and played around with it,
and was considering using a fork() and exec(), but FAQ 2.8 states:
It is best to avoid exec'ing FOP, use the library interface
instead.
FAQ 2.8 is in reference to the Jave Runtime.exec() call, but 
I assume the same would apply to a C++ exec().  Also, I need
to get back the page count that is included in the results 
object returned by FOP.

My next approach is to download the source, write a Java
wrapper for FOP, and call my wrapper process either through
an exec() or a CORBA call.  But if possible I would like to 
just use the binary in it's original form.

Has anyone else had any experience calling FOP from C++?
Thanks.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: EPS image printing problem

2004-07-11 Thread Wouter de Vaal
  Since I indicated Ghostscript users should use 7.06 in that POST, can
  you confirm whether or not your problem still exists in 7.06?

 I have only tried viewing the images with 7.04 so I wouldn't know about
7.06
 but with 7.04 the
 images shows up as intended...

I've tested 7.06. It works.

Wouter


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: PDF-PS-PDF with EPS

2004-07-11 Thread Jeremias Maerki
The problem is that we would probably need to write some code that
interfaces directly with FreeHEP's PostScript interpreter. This is a
thing we can't do licence-wise. If there was an Apache-compatible
general API in between that frees us from directly importing
org.freehep.postscript.* we would have a different situation.

One other possibility, of course, is to talk to the FreeHEP people and
ask them to licence the PS interpreter under an Apache-compatible
licence.

Another would to be to finally get the FSF to publicly describe the
impact of the (L)GPL license on the Java programming language.

Finally, the integration code could also be hosted somewhere at
SourceForge, for example, but this whole mix of licences makes it very
hard to use FOP in a commercial environment if you need this
functionality. Having all this under a BSD/Apache-style licence would
make things more comfortable.

On 11.07.2004 05:38:48 Chris Pratt wrote:
 How about just delivering a link to FreeHEP and requiring the end user to
 download FreeHEP if they need that support and are willing to agree to the
 license?
   (*Chris*)
 
 -Original Message-
 From: Jeremias Maerki [mailto:[EMAIL PROTECTED] 
 Sent: Saturday, July 10, 2004 2:34 pm
 To: [EMAIL PROTECTED]
 Subject: Re: PDF-PS-PDF with EPS 
 
 Hehe, I'm dreaming about that, too. Means we need a PostScript
 interpreter. FreeHEP has a PS interpreter but it is distributed under
 the LGPL which makes virtually impossible for us to use.
 
 Any students out there looking for a nice little project? How about
 writing a PostScript interpreter? :-)
 
 Without that interpreter there's no way we can get EPS files to display
 in Acrobat Reader. Work-arounds involve external programs that convert
 EPS to SVG, for example.
 
 On 09.07.2004 19:57:55 Wouter de Vaal wrote:
  (but I even hope more that in FOP 1.0 the eps's will
  allways show op in acrobat programs ;-).



Jeremias Maerki


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]