You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by priby <pr...@gmail.com> on 2008/02/21 11:01:59 UTC

Font embedding of fop in unix

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.


Re: Font embedding of fop in unix

Posted by Jeremias Maerki <de...@jeremias-maerki.ch>.
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