Re: NullPointer in setupDefaultMappings in embedded FOP

2004-01-21 Thread J.Pietschmann
Angus McIntyre wrote:
I get the following error:
Exception in thread main java.lang.NullPointerException
at org.apache.fop.apps.Service.providers(Driver.java:597)
It's a class loader problem, most likely related to a security
violation. I'm not a wizard on this topic.
Make sure
- you aren't tampering with the bootclasspath or the boot
 class loaders
- your application is loaded in the same security context
 as whatever loads your app, whatever this means.
J.Pietschmann
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re[2]: Embeded EPS in PDF

2004-01-21 Thread Torsten
Hello Jeremias,

Tuesday, January 20, 2004, 9:41:31 PM, you wrote:

xx-snip

JM My interpretation of the EPS specs is indeed so that all parts (EPS or
JM preview) can be located at any place. That's what the indices and
JM section sizes are for. But this applies to device-specific screen
JM previews only. There are also device-independent screen previews that
JM work with DSC comments which are, however, not supported by the
JM EPSReader ATM.

The device independent preview doesn't make trouble, because it's a
dsc comment (just as you said).
The prob is the binary preview header/code which isn't at the
beginning of a postscript file. (See attached Ad.ps line 72, 5789,
5790) The eps logo was simply inserted into an ordinary postscript
file as it is (standalone) incl. preview.

Now I've seen that not just the generated pdf, but also the postscript
file per se will cause parser errors on some
postscript interpreters (ghostscript, Adobe Illustrator), so my suspision is
that this postscript file isn't valid against the spec.

If this is true, the discussion about fixing this isn't on the FOP
side ;)

xx- snip

JM development focus is clearly on HEAD. Patches for HEAD are highly
JM welcome however. But I guess you know that already. We keep talking
JM about that all the time and it gets boring. :-)

sorry I've forget it, because of my absence from the list for the last
few months

-- 
Best regards,
 Torstenmailto:[EMAIL PROTECTED]

Ad.ps
Description: PostScript document
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: Embeded EPS in PDF

2004-01-21 Thread Jeremias Maerki
Torsten,

that PostScript file is totally screwed up if you ask me. I've come to
the same conclusion as you have. The biggest problem seems to be the as
is integration of the EPS without removing the binary header and the
binary preview first.


Jeremias Maerki


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