RE: Whether Chinese Characters / Unicode supported by FOP ?

2005-02-14 Thread Manisha Sathe
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 aregetting changed. What am i missing ?

regards
Manisha




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

RE: Whether Chinese Characters / Unicode supported by FOP ?

2005-02-14 Thread Manisha Sathe
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.5org.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 aregetting 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'

Re: Whether Chinese Characters / Unicode supported by FOP ?

2005-02-14 Thread Jeremias Maerki
There's a space in the classpath you need to remove.

On 14.02.2005 02:33:38 Manisha Sathe 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 ?


Jeremias Maerki


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



Solved: RE: Whether Chinese Characters / Unicode supported by FOP ?

2005-02-14 Thread Manisha Sathe
Initially i tried to changed userconfig.xml (as mentioned in documentation http://xml.apache.org/fop/configuration.html ) But goterror so also triedchanging config.xml. 

The thing i was missing was 

fop -c userconfig.xml ...

This part- path -i was specifying wrongly - but finally i got it correctly

Thanks to all who helped in my all previousposts. At last i could create one proper pdf document in English / Chinese. Of-course i am testing it through command line prompt. Now will beshifting it to Struts,

regards
Manisha




Manisha Sathe [EMAIL PROTECTED] wrote:

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.5org.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 aregetting 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'
		Do you Yahoo!? 
Yahoo! Mail - Easier than ever with enhanced search. Learn more.

Whether Chinese Characters / Unicode supported by FOP ?

2005-02-11 Thread Manisha Sathe
What i am doing is - taking data from database - put inside XML and then create PDF from that. 

I also need to print chinese characters. I tried first with some unicode (HTML equivalent) 
#29699;#36187;#32534;#21495;

But i am not getting this in PDF, what's the solution for this ?

regards
Manisha

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

Sorry: Re: Whether Chinese Characters / Unicode supported by FOP ?

2005-02-11 Thread Manisha Sathe
Sorry, wrong post

answer was givenin my last post

regards
ManishaManisha Sathe [EMAIL PROTECTED] wrote:

What i am doing is - taking data from database - put inside XML and then create PDF from that. 

I also need to print chinese characters. I tried first with some unicode (HTML equivalent) 
#29699;#36187;#32534;#21495;

But i am not getting this in PDF, what's the solution for this ?

regards
Manisha



Do you Yahoo!?Yahoo! Search presents - Jib Jab's 'Second Term'
		Do you Yahoo!? 
Yahoo! Mail - You care about security. So do we.

Re: Whether Chinese Characters / Unicode supported by FOP ?

2005-02-11 Thread Manisha Sathe
Hi all,

i want to display some chinese characters. I am tryingfollowing unicodes. These get display in HTML properly. But in pdf i do not get these characters. 

#29699;#36187;#32534;#21495;

I tried many different fonts but still the same. Which font shall i make use off ?

regards
Manisha



Manisha Sathe [EMAIL PROTECTED] wrote:

Sorry, wrong post

answer was givenin my last post

regards
ManishaManisha Sathe [EMAIL PROTECTED] wrote:

What i am doing is - taking data from database - put inside XML and then create PDF from that. 

I also need to print chinese characters. I tried first with some unicode (HTML equivalent) 
#29699;#36187;#32534;#21495;

But i am not getting this in PDF, what's the solution for this ?

regards
Manisha



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


Do you Yahoo!?Yahoo! Mail - You care about security. So do we.
		Do you Yahoo!? 
Meet the all-new My Yahoo! – Try it today! 

Re: Whether Chinese Characters / Unicode supported by FOP ?

2005-02-11 Thread Arun Sinha
Hi,
Try setting font family to MS Hei or MS Song.
Cheers.
Arun

From: Manisha Sathe [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: Whether Chinese Characters / Unicode supported by FOP ?
Date: Thu, 10 Feb 2005 22:43:25 -0800 (PST)
Hi all,
i want to display some chinese characters. I am trying following unicodes. 
These get display in HTML properly. But in pdf i do not get these 
characters.

ÇòÈü±àºÅ
I tried many different fonts but still the same. Which font shall i make 
use off ?

regards
Manisha

Manisha Sathe [EMAIL PROTECTED] wrote:
Sorry, wrong post
answer was given in my last post
regards
Manisha
Manisha Sathe [EMAIL PROTECTED] wrote:
What i am doing is - taking data from database - put inside XML and then 
create PDF from that.

I also need to print chinese characters. I tried first with some unicode 
(HTML equivalent)
ÇòÈü±àºÅ

But i am not getting this in PDF, what's the solution for this ?
regards
Manisha

-
Do you Yahoo!?
Yahoo! Search presents - Jib Jab's 'Second Term'
-
Do you Yahoo!?
Yahoo! Mail - You care about security. So do we.
-
Do you Yahoo!?
 Meet the all-new My Yahoo! ¨C Try it today!
_
The real power of teamwork. Experience it in real time. 
http://www.microsoft.com/india/office/experience/  Experience MS Office 
System.

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


Re: Whether Chinese Characters / Unicode supported by FOP ?

2005-02-11 Thread Manisha Sathe
hmm..

it's giving me 'unknown font' for both. is there any way for it ? Whether it means that on my m/c need to have these fonts ?

regards
ManishaArun Sinha [EMAIL PROTECTED] wrote:
Hi,Try setting font family to "MS Hei" or "MS Song".Cheers.ArunFrom: Manisha Sathe <[EMAIL PROTECTED]>Reply-To: [EMAIL PROTECTED]To: [EMAIL PROTECTED]Subject: Re: Whether Chinese Characters / Unicode supported by FOP ?Date: Thu, 10 Feb 2005 22:43:25 -0800 (PST)Hi all,i want to display some chinese characters. I am trying following unicodes. These get display in HTML properly. But in pdf i do not get these characters.ÇòÈü±àºÅI tried many different fonts but still the same. Which font shall i make use off ?regardsManishaManisha Sathe <[EMAIL PROTECTED]>wrote:Sorry, wrong postanswer was given in my last
 postregardsManishaManisha Sathe <[EMAIL PROTECTED]>wrote:What i am doing is - taking data from database - put inside XML and then create PDF from that.I also need to print chinese characters. I tried first with some unicode (HTML equivalent)ÇòÈü±àºÅBut i am not getting this in PDF, what's the solution for this ?regardsManisha-Do you Yahoo!?Yahoo! Search presents - Jib Jab's 'Second Term'-Do you Yahoo!?Yahoo! Mail - You care about security. So do we.-Do you Yahoo!? Meet the all-new My Yahoo! ¨C Try it today!_The real power of teamwork. Experience it in real time.
 http://www.microsoft.com/india/office/experience/ Experience MS Office System.-To unsubscribe, e-mail: [EMAIL PROTECTED]For additional commands, e-mail: [EMAIL PROTECTED]
		Do you Yahoo!? 
Yahoo! Search presents - Jib Jab's 'Second Term'

Re: Whether Chinese Characters / Unicode supported by FOP ?

2005-02-11 Thread Arun Sinha
Yes.
You need those fonts on your machine.
Arun

From: Manisha Sathe [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: Whether Chinese Characters / Unicode supported by FOP ?
Date: Thu, 10 Feb 2005 23:13:43 -0800 (PST)
hmm..
it's giving me 'unknown font' for both. is there any way for it ? Whether 
it means that on my m/c need to have these fonts ?

regards
Manisha
Arun Sinha [EMAIL PROTECTED] wrote:
Hi,
Try setting font family to MS Hei or MS Song.
Cheers.
Arun
From: Manisha Sathe
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: Whether Chinese Characters / Unicode supported by FOP ?
Date: Thu, 10 Feb 2005 22:43:25 -0800 (PST)

Hi all,

i want to display some chinese characters. I am trying following 
unicodes.
These get display in HTML properly. But in pdf i do not get these
characters.

ÇòÈü±àºÅ

I tried many different fonts but still the same. Which font shall i make
use off ?

regards
Manisha




Manisha Sathe wrote:
Sorry, wrong post

answer was given in my last post

regards
Manisha

Manisha Sathe wrote:
What i am doing is - taking data from database - put inside XML and then
create PDF from that.

I also need to print chinese characters. I tried first with some unicode
(HTML equivalent)
ÇòÈü±àºÅ

But i am not getting this in PDF, what's the solution for this ?

regards
Manisha



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

-
Do you Yahoo!?
Yahoo! Mail - You care about security. So do we.

-
Do you Yahoo!?
 Meet the all-new My Yahoo! ¨C Try it today!

_
The real power of teamwork. Experience it in real time.
http://www.microsoft.com/india/office/experience/ Experience MS Office
System.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
Do you Yahoo!?
 Yahoo! Search presents - Jib Jab's 'Second Term'
_
Make team work really work! Work together, stay connected! 
http://www.microsoft.com/india/office/experience/  With Microsoft Office 
System.

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


Re: Whether Chinese Characters / Unicode supported by FOP ?

2005-02-11 Thread Arun Sinha
Hi,
You may need the following too.
Register Fonts with FOP
You must tell FOP how to find and use the font metrics files by registering 
them in the FOP Configuration. Add entries for your custom fonts, regardless 
of font type, to the configuration file in a manner similar to the 
following:

font metrics-file=FTL_.xml kerning=yes
 embed-file=C:\myfonts\FTL_.pfb
 font-triplet name=FrutigerLight style=normal weight=normal/
/font
Change the values above as per your requirement.
Cheers.
Arun

From: Manisha Sathe [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: Whether Chinese Characters / Unicode supported by FOP ?
Date: Thu, 10 Feb 2005 23:13:43 -0800 (PST)
hmm..
it's giving me 'unknown font' for both. is there any way for it ? Whether 
it means that on my m/c need to have these fonts ?

regards
Manisha
Arun Sinha [EMAIL PROTECTED] wrote:
Hi,
Try setting font family to MS Hei or MS Song.
Cheers.
Arun
From: Manisha Sathe
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: Whether Chinese Characters / Unicode supported by FOP ?
Date: Thu, 10 Feb 2005 22:43:25 -0800 (PST)

Hi all,

i want to display some chinese characters. I am trying following 
unicodes.
These get display in HTML properly. But in pdf i do not get these
characters.

ÇòÈü±àºÅ

I tried many different fonts but still the same. Which font shall i make
use off ?

regards
Manisha




Manisha Sathe wrote:
Sorry, wrong post

answer was given in my last post

regards
Manisha

Manisha Sathe wrote:
What i am doing is - taking data from database - put inside XML and then
create PDF from that.

I also need to print chinese characters. I tried first with some unicode
(HTML equivalent)
ÇòÈü±àºÅ

But i am not getting this in PDF, what's the solution for this ?

regards
Manisha



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

-
Do you Yahoo!?
Yahoo! Mail - You care about security. So do we.

-
Do you Yahoo!?
 Meet the all-new My Yahoo! ¨C Try it today!

_
The real power of teamwork. Experience it in real time.
http://www.microsoft.com/india/office/experience/ Experience MS Office
System.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
Do you Yahoo!?
 Yahoo! Search presents - Jib Jab's 'Second Term'
_
MSN Spaces! Your space, your time. http://www.msn.co.in/spaces Your personal 
haven online.

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


RE: Whether Chinese Characters / Unicode supported by FOP ?

2005-02-11 Thread Pascal Sancho
Hi,

You can find howto add your own fonts at http://xml.apache.org/fop/fonts.html.
This can be summed up as follows:
1. get font files (type 1 or true type)
2. make metric file (using either PFMReader or TTFReader)
3. make your own config file
4. enjoy!

Pascal
 

 -Message d'origine-
 De : Arun Sinha [mailto:[EMAIL PROTECTED] 
 Envoyé : vendredi 11 février 2005 08:20
 You may need the following too.
 
 Register Fonts with FOP
 You must tell FOP how to find and use the font metrics files 
 by registering them in the FOP Configuration. Add entries for 
 your custom fonts, regardless of font type, to the 
 configuration file in a manner similar to the
 following:
 
 font metrics-file=FTL_.xml kerning=yes
   embed-file=C:\myfonts\FTL_.pfb
   font-triplet name=FrutigerLight style=normal 
 weight=normal/ /font
 
 Change the values above as per your requirement.
 
 From: Manisha Sathe [EMAIL PROTECTED]
 Reply-To: [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: Re: Whether Chinese Characters / Unicode supported by FOP ?
 Date: Thu, 10 Feb 2005 23:13:43 -0800 (PST)
 
 it's giving me 'unknown font' for both. is there any way for it ? 
 Whether it means that on my m/c need to have these fonts ?
 
 Arun Sinha [EMAIL PROTECTED] wrote:
 
 Try setting font family to MS Hei or MS Song.
 
  From: Manisha Sathe
  Reply-To: [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Subject: Re: Whether Chinese Characters / Unicode 
 supported by FOP ?
  Date: Thu, 10 Feb 2005 22:43:25 -0800 (PST)
  
  i want to display some chinese characters. I am trying following
 unicodes.
  These get display in HTML properly. But in pdf i do not get these 
  characters.
  
  I tried many different fonts but still the same. Which 
 font shall i 
  make use off ?


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



Re: Whether Chinese Characters / Unicode supported by FOP ?

2005-02-11 Thread Manoj_Nair
ManishaYou need to make use of userconfig.xml. Create font metrics file and register it with FOP. I have done this with Japanese characters and it works fine..ThanksManoj-Manisha Sathe [EMAIL PROTECTED] wrote: -To: [EMAIL PROTECTED]From: Manisha Sathe [EMAIL PROTECTED]Date: 02/10/2005 11:13PMSubject: Re: Whether Chinese Characters / Unicode supported by FOP ?hmm..it's giving me 'unknown font' for both. is there any way for it ? Whether it means that on my m/c need to have these fonts ?regardsManishaArun Sinha [EMAIL PROTECTED] wrote:Hi,Try setting font family to "MS Hei" or "MS Song".Cheers.ArunFrom: Manisha Sathe <[EMAIL PROTECTED]>Reply-To: [EMAIL PROTECTED]To: [EMAIL PROTECTED]Subject: Re: Whether Chinese Characters / Unicode supported by FOP ?Date: Thu, 10 Feb 2005 22:43:25 -0800 (PST)Hi all,i want to display some chinese characters. I am trying following unicodes. These get display in HTML properly. But in pdf i do not get these characters.ÇòÈü±àºÅI tried many different fonts but still the same. Which font shall i make use off ?regardsManishaManisha Sathe <[EMAIL PROTECTED]>wrote:Sorry, wrong postanswer was given in my last postregardsManishaManisha Sathe <[EMAIL PROTECTED]>wrote:What i am doing is - taking data from database - put inside XML and then create PDF from that.I also need to print chinese characters. I tried first with some unicode (HTML equivalent)ÇòÈü±àºÅBut i am not getting this in PDF, what's the solution for this ?regardsManisha-Do you Yahoo!?Yahoo! Search presents - Jib Jab's 'Second Term't;-Do you Yahoo!?Yahoo! Mail - You care about security. So do we.-Do you Yahoo!? Meet the all-new My Yahoo! ¨C Try it today!_The real power of teamwork. Experience it in real time. http://www.microsoft.com/india/office/experience/ Experience MS Office System.-To unsubscribe, e-mail: [EMAIL PROTECTED]For additional commands, e-mail: [EMAIL PROTECTED]Do you Yahoo!? Yahoo! Search presents - Jib Jab's 'Second Term'

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