RE: Japanese char support by FOP or not...
Hi, I tried to add a Japanese font in the userconfig.xml as per the details approach written ith following side. http://www.zvon.org/HowTo/Output/cid-fonts.pdf But when I am trying to compile a fo file it's giving the following error. D:\FOP\Fop-0.20.3rcC:\jdk1.3\bin\java -cp build\fop.jar;lib\logkit-1.0b4.jar;. ;lib\batik.jar;lib\xalan-1.2.2.jar;lib\xalan-2.0.0.jar;lib\xerces-1.2.3.jar; lib\ ant.jar;lib\avalon-framework-4.0.jar;lib\jimi-1.0.jar;lib\buildtools.jar;lib \bsf .jar;lib\xalanj1compat.jar;lib\stylebook.jar;org\apache\log\format\* -jar lib\l ogkit-1.0b4.jar;build\fop.jar org.apache.fop.apps.Fop -c conf\userconfig.xml -f o cool5.fo -pdf cool5.pdf Exception in thread main java.util.zip.ZipException: The system cannot find th e path specified at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.init(ZipFile.java:110) at java.util.jar.JarFile.init(JarFile.java:115) at java.util.jar.JarFile.init(JarFile.java:57) -Original Message- From: J.Pietschmann [SMTP:[EMAIL PROTECTED]] Sent: Monday, May 20, 2002 10:58 PM To: [EMAIL PROTECTED] Subject: Re: Japanese char support by FOP or not... Anil Kumar Mishra wrote: Hi, I want to know that whether FOP support Japanese character. I tried to insert some Japanese character in fo file, but couldn't get the proper data(Japanese chars.) in output pdf file. Can anyone suggest me anything about this. FOP is able to process japanese characters. This doesn't mean you see glyphs for japanese characters in the PDF. In order to get this, you have to supply a font with appropriate glyphs to FOP. First, locate a font. If you have other applications on your platform which display japanese, look where the system stores fonts. Secont, you have to prepare a font metrics file and tell FOP to use it. This is described in the documentation in the FOP distribution: docs/html-docs/fonts.html. You are told to assign your font a name there. Third, construct a small FO file to test it. Declare some standard page master, and insert a block with japanese characters in the flow. Select the font you installed in step 2 using the font-family property (e.g. if you named it foo, declare font-family=foo on the block. Depending on your editor, you can insert the japanese characters directly into the FO file, or use XML character references. J.Pietschmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] This message is confidential and may also be legally privileged. If you are not the intended recipient, please notify us immediately. You should not copy it or use it for any purpose, nor disclose it's contents to any other person. The views and opinions expressed in this e-mail message are the author's own and may not reflect the views and opinions of Wilco International. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: Japanese char support by FOP or not...
Anil Kumar Mishra wrote: I tried to add a Japanese font in the userconfig.xml as per the details approach written ith following side. http://www.zvon.org/HowTo/Output/cid-fonts.pdf But when I am trying to compile a fo file it's giving the following error. D:\FOP\Fop-0.20.3rcC:\jdk1.3\bin\java -cp build\fop.jar;lib\logkit-1.0b4.jar;. ;lib\batik.jar;lib\xalan-1.2.2.jar;lib\xalan-2.0.0.jar;lib\xerces-1.2.3.jar; lib\ ant.jar;lib\avalon-framework-4.0.jar;lib\jimi-1.0.jar;lib\buildtools.jar;lib \bsf .jar;lib\xalanj1compat.jar;lib\stylebook.jar;org\apache\log\format\* -jar lib\l ogkit-1.0b4.jar;build\fop.jar org.apache.fop.apps.Fop -c conf\userconfig.xml -f o cool5.fo -pdf cool5.pdf Your method of invoking Java is odd. Simply use the fop.bat command, as explained in docs/html-docs/running.html Exception in thread main java.util.zip.ZipException: The system cannot find th e path specified at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.init(ZipFile.java:110) at java.util.jar.JarFile.init(JarFile.java:115) at java.util.jar.JarFile.init(JarFile.java:57) This is probably due to the odd (and probably incompatible) command line. J.Pietschmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: Japanese char support by FOP or not...
Thanks a lot yaar... I am able to solve the problem... Now I am getting the Japanese character in my pdf document... Thanks a lot again Anil Mishra -Original Message- From: J.Pietschmann [SMTP:[EMAIL PROTECTED]] Sent: Thursday, May 23, 2002 1:48 AM To: [EMAIL PROTECTED] Subject: Re: Japanese char support by FOP or not... Anil Kumar Mishra wrote: I tried to add a Japanese font in the userconfig.xml as per the details approach written ith following side. http://www.zvon.org/HowTo/Output/cid-fonts.pdf But when I am trying to compile a fo file it's giving the following error. D:\FOP\Fop-0.20.3rcC:\jdk1.3\bin\java -cp build\fop.jar;lib\logkit-1.0b4.jar;. ;lib\batik.jar;lib\xalan-1.2.2.jar;lib\xalan-2.0.0.jar;lib\xerces-1.2.3.ja r; lib\ ant.jar;lib\avalon-framework-4.0.jar;lib\jimi-1.0.jar;lib\buildtools.jar;l ib \bsf .jar;lib\xalanj1compat.jar;lib\stylebook.jar;org\apache\log\format\* -jar lib\l ogkit-1.0b4.jar;build\fop.jar org.apache.fop.apps.Fop -c conf\userconfig.xml -f o cool5.fo -pdf cool5.pdf Your method of invoking Java is odd. Simply use the fop.bat command, as explained in docs/html-docs/running.html Exception in thread main java.util.zip.ZipException: The system cannot find th e path specified at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.init(ZipFile.java:110) at java.util.jar.JarFile.init(JarFile.java:115) at java.util.jar.JarFile.init(JarFile.java:57) This is probably due to the odd (and probably incompatible) command line. J.Pietschmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] This message is confidential and may also be legally privileged. If you are not the intended recipient, please notify us immediately. You should not copy it or use it for any purpose, nor disclose it's contents to any other person. The views and opinions expressed in this e-mail message are the author's own and may not reflect the views and opinions of Wilco International. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: Japanese char support by FOP or not...
Anil Kumar Mishra wrote: Hi, I want to know that whether FOP support Japanese character. I tried to insert some Japanese character in fo file, but couldn't get the proper data(Japanese chars.) in output pdf file. Can anyone suggest me anything about this. FOP is able to process japanese characters. This doesn't mean you see glyphs for japanese characters in the PDF. In order to get this, you have to supply a font with appropriate glyphs to FOP. First, locate a font. If you have other applications on your platform which display japanese, look where the system stores fonts. Secont, you have to prepare a font metrics file and tell FOP to use it. This is described in the documentation in the FOP distribution: docs/html-docs/fonts.html. You are told to assign your font a name there. Third, construct a small FO file to test it. Declare some standard page master, and insert a block with japanese characters in the flow. Select the font you installed in step 2 using the font-family property (e.g. if you named it foo, declare font-family=foo on the block. Depending on your editor, you can insert the japanese characters directly into the FO file, or use XML character references. J.Pietschmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]