> -----Original Message-----
> From: weihua li [mailto:[EMAIL PROTECTED]
>
> Now when I run it, I got following error:
> [ERROR] Failed to read a font metrics file:
>         Invalid font metrics file: msgothic.xml
>         (no protocol: msgothic.xml)

> usercofig.xml and msgothic.xml are in some directory.

As far as I can see, this exception is only thrown when failing to build the
URL for the metrics file[1]. So, my first guess would be to double-check the
baseDir setting in userconfig.xml (--is it a valid URL?)

If that doesn't help, try if you can debug a bit further (via the
command-line -d option, or via the loggers when embedding).


Cheers,

Andreas

[1] org.apache.fop.configuration.FontInfo : line 87


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

Reply via email to