Hi Andreas,

Thanks for replying. I had been trying over the font embedding and finally i
was able to embed the font.
I wanted to use the default font option with fop-0.95 but i was not able to
get it correctly.
But through the use of font metric file i was able to get the things in
place.
Also i guess once the pdf is generated with embed fonts then the pdf is
correctly viewed even in system where the embed font is not instaleld in the
system. I tried to experiment this scenario in differnt machine and was able
to see the pdf coming correctly, But wanted to learn from your experience of
there is a flaw inmy understanding.

Also currently i have been able to do this in Windows XP using Arialuni.ttf
font (font family: Arial unicode MS) but our applicaition in production
enviroenment runs in unix boxes. So now can you please guide me as to which
font i should use for Unix enviroenmt which will serve like ArailUni.ttf
i.e. cover most of the international langauge and is also a free
distribution.

Best Regards
Sumit





Andreas Delmelle-2 wrote:
> 
> On 02 Jul 2009, at 20:02, Sumit4dreams wrote:
> 
> Hi Sumit
> 
> Apologies for the late follow-up...
> 
>> First of all thankyou for replying to my query.
>> I am totally new to FOP so i dont know all the feature of FOP.
>> I am using the latest FOP version.
> 
>> The current problem is that in my application we genrate a copyright  
>> pdf.
>> This was working fine with English character. But now Chinese users  
>> have
>> been included and for them the Chinese font get displayed as #.
>> What we feel is that iif we can have unicode encoding then this  
>> problem in
>> pdf genration will never come if any other language is used other than
>> english langauage.
> 
> Not necessarily. FOP 0.95 does not yet support font-selection, so you  
> still have to take care that Arial Unicode always appears everywhere  
> as the first specified font-family.
> 
> If you have something like:
> 
> <fo:block font-family="Helvetica,Arial Unicode,GungSeo">
> 
> and the block contains Chinese text, the Helvetica font will be used,  
> and you will end up with the missing-glyph character '#' all over the  
> place, even if the 'Arial Unicode' and 'GungSeo' fonts have been  
> properly configured.
> 
>> So actaully i am looking for general solution to resolve any issue  
>> which can
>> come with any international language
> 
> FOP Trunk does look at all the specified font-families, so FOP will  
> try all fonts for each word. It then picks the first font-family that  
> can display the most characters.
> (see behavior described at:
> http://xmlgraphics.apache.org/fop/trunk/fonts.html#selection)
> 
> So, with FOP Trunk you should be able to happily mix English with  
> Chinese without really having to do anything special (apart from  
> making sure that the fonts are properly registered; see Chris' earlier  
> suggestions)
> 
> 
> Regards,
> 
> Andreas
> 
> Andreas Delmelle
> mailto:andreas.delmelle.AT.telenet.be
> jabber: [email protected]
> skype: adlm0608
> 
> ---
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/how-to-embed-Asian-font-while-genrating-PDF-using-FOP---tp24303664p24360836.html
Sent from the FOP - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to