Re: Batik not loaded

2011-12-21 Thread Lars Bjørndal
Hi!

[Pascal Sancho]

> Lars, are you running FOP on Linux without Xserver?

Yes, I'm blind, and don't need the graphic. Also, I do run from a server
to which I connect through ssh.

> If this is the case, you should run FOP (and Batik) in headless
> environment. See [1] for further info.
>
> [1] http://xmlgraphics.apache.org/fop/1.0/graphics.html#batik

I tried to run 'xvfb-run fop ', but that doesn't give any
better result. I looked at your reference, but I'm not able to figure
out how to do this. Can you please give me some more hints?

Thanks and regards,
Lars

> Le 20/12/2011 10:01, Luis Bernardo a écrit :
>> You are including images in SVG, correct? Then the error may be
>> misleading what what you are missing is a different jar (probably JAI
>> ImageIO), not the Batik jar. Try that...
>> 
>> On Tue, Dec 20, 2011 at 8:27 AM, Lars Bjørndal  wrote:
>>> [Terence]
>>>
 On 12/19/2011 1:28 PM, Lars Bjørndal wrote:
> I get the following error from fop:
>
> 19.des.2011 20:14:28 
> org.apache.fop.image.loader.batik.PreloaderSVG$Loader getImage
> WARNING: Batik not in class path
>
> Even though, I have the following CLASSPATH variable:
>
> /usr/share/java/commons-io.jar:/usr/share/java/batik-all.jar:/usr/share/java/avalon-framework-api.jar:/usr/share/java/avalon-framework-impl.jar:/usr/share/java/xmlgraphics-commons.jar:/usr/share/java/commons-logging.jar:/usr/share/java/fop.jar::/home/lrs/fop/fop-hyph.jar:/usr/share/java/batik-all.jar
>
> So, what's the problem here? Doesn't the reference to batik-all include
> batik? The file exists, and is from package batik-1.7-11.fc15.
>
> Regards,
> Lars

 Hi, Lars-

 Are the two colons before /home/lrs/fop/fop-hyph.jar a typo?
>>>
>>> Yes or no.. In my .foprc file, I have:
>>> CLASSPATH="$CLASSPATH:/home/lrs/fop/fop-hyph.jar:/usr/share/java/batik-all.jar".
>>> When this is put together by the script, there is two colons. I tried
>>> to drop the colon. The CLASSPATH is then right, but I have the exactly same
>>> situation regarding Batic not in classpath.
>>>
>>> Regards,
>>> Lars

-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



Re: Magically LucidaSansRegular show up

2011-12-21 Thread J.Pietschmann
Am 20.12.2011 03:40, schrieb Rob Sargent:
> I happen to be using a font, StoneSerif (and the ITCStoneSerifCom
> version thereof) which doesn't have many bullet glyphs. For instance it
> is missing the "open bullet" (x25e6).  Luckily for me fop-1.0 is
> substituting the glyph from LucidaSansRegular, which is in my list of
> fonts.  Just curious how this is being picked up with explicit
> instruction to do so.  Can anyone shed some light on this for me?

See
 http://xmlgraphics.apache.org/fop/1.0/fonts.html#selection
Bullets count as single words and are subject to automatic substitution.

J.Pietschmann

-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org