Can you please ask questions on the fop-users mailing list? Thanks.
From Nabble: http://www.nabble.com/FOP---Users-f353.html
No, it's not necessary to install the font to generate the font metrics
files. Maybe you simply have a permission problem in that directory.
On 21.02.2008 11:01:59 priby wrote:
>
> Greetings to all,
>
> I am trying to embed Japanese font in unix.(In windows I was able to do this
> succesfully.)
>
> I moved MSMINCHO.ttf(TTF file corresponding to Japanese) present in windows
> machine to /var/tmp/test/ folder in UNIX. When I issue the following command
> for generating the metrics file , I get the error as
> java.io.FileNotFoundException: /var/tmp/test/MSMINCHO.ttf (No such file or
> directory)
>
> Command I used for generating metrics file:
>
> java -cp
> /var/tmp/test/fop-0.20.5/build/fop.jar:/var/tmp/test/fop-0.20.5/lib/avalon-framework.jar:/var/tmp/test/fop-0.20.5/lib/xml-apis.jar:/var/tmp/test/fop-0.20.5/lib/xerces-1.4.4.jar:/var/tmp/test/fop-0.20.5/lib/xerces-2.0.1.jar
> org.apache.fop.fonts.apps.TTFReader/var/tmp/test/MSMINCHO.ttf
> /var/tmp/test/MSMINCHO.xml
>
> Is it neccessary to install the TTF font before creating the metrics file?
> Or is there some other reason for this problem?
>
> Any help appreciated.
>
> Thanks,
> princy
> --
> View this message in context:
> http://www.nabble.com/Font-embedding-of-fop-in-unix-tp15607240p15607240.html
> Sent from the FOP - Dev mailing list archive at Nabble.com.
Jeremias Maerki