1)Finally i could resolve the problem. It was a class path set up problem. I set the classpath separately and then run
d:\fop-0.20.5>org.apache.fop.fonts.apps.TTFReader C:\WINNT\Fonts\mssong.ttf ttfmssong.xml
 
At least it did not give me error and create ttfmssong.xml file.
 
2)Later opened <fopBaseDir>/conf/config.xml and added inside it
 
   <font metrics-file="D:\fop-0.20.5\ttfmssong.xml" embed-file="C:\WINNT\Fonts\mssong.ttf" kerning="yes">
      <font-triplet name="MSSong" style="normal" weight="normal"/>
      <font-triplet name="MSSong" style="normal" weight="bold"/>
      <font-triplet name="MSSong" style="italic" weight="normal"/>
      <font-triplet name="MSSong" style="italic" weight="bold"/>
   </font>
3)Inside my .xsl file i am using MSSong font but still i am getting
unknown font MSSong,normal,normal so defined defaulted font....
 
 
Pls Pls help me, i really need that font to display Chinese characters.
 
 
Thanks in advance
Manisha
 
 
 
 
 

Manisha Sathe <[EMAIL PROTECTED]> wrote:
I am trying to set it up MS Song Font now
 
1)I installed mssong font on my machine (mssong.ttf)
2)Opend dos command prompt
 
d:\fop-0.20.5> java -cp build\fop.jar;lib\avalon-framework-cvs-20020806.jar;lib\xml-apis.jar; lib\xercesImpl-2.2.1.jar;lib\xalan-2.4.1.jar org.apache.fop.fonts.apps.TTFReader C:\WINNT\Fonts\mssong.ttf ttfcm.xml
 
But i am getting following error
 
Exception in Thread "main" java.lang.NoClassDefFoundError lib/xercesImpl-2/2/1/jar;lib\xalan-2/4/1/jar
 
 
I do not know how the name of jar files are getting changed. What am i missing ?
 
regards
Manisha
 
 
 


Do you Yahoo!?
Yahoo! Mail - Find what you need with new enhanced search. Learn more.


Do you Yahoo!?
Yahoo! Search presents - Jib Jab's 'Second Term'

Reply via email to