> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of Feng Dihai
> Sent: Tuesday, November 07, 2006 1:14 AM
> To: [email protected]
> Subject: Re: [iText-questions] Enhancement (or changes) for 
> Asian fontsupport
> 
> Thanks for your reply.
> Your explainations are very useful for me, but I still have some 
> different opions.
> 
> About embedment of Unicode TrueType Font, I do really mean not to 
> embed only some Japanese(or Chinese/Korean) font which are quite 
> large even for a subset and obviously installed on our target 
> user's machine. In fact, there is a popular commercial report 
> software in Japan (WingArc SVF, not based on iText) which can 
> produce pdf files without embedment of Japanese font. Those pdf 
> files are not intended to be distributed widely but inside a 
> local company as a report solution. I think it is better that 
> iText does not force embedment of Unicode TrueType Font but 
> give a chance to change.
>

There's a way to not embed Unicode TrueType fonts but it's not by just
removing the font file from the font descriptor. If you can, please send
me privately one of those WingArc reports.
 
> About output text with an alternate font, your suggestion on 
> FontSelector is very helpful, but it seems only supporting high 
> level objects. In my case, PdfContentByte is used to obtain 
> high performance in a template-based report tool. Is there a 
> similar mechanic for PdfContentByte? 
> 

No. In any case you'll only gain something if all the text is left
aligned so that you don't have to calculate the metrics. You can look at
the FontSelector source and do something similar for PdfContentByte.

Paulo


Aviso Legal:
Esta mensagem é destinada exclusivamente ao destinatário. Pode conter 
informação confidencial ou legalmente protegida. A incorrecta transmissão desta 
mensagem não significa a perca de confidencialidade. Se esta mensagem for 
recebida por engano, por favor envie-a de volta para o remetente e apague-a do 
seu sistema de imediato. É proibido a qualquer pessoa que não o destinatário de 
usar, revelar ou distribuir qualquer parte desta mensagem. 

Disclaimer:
This message is destined exclusively to the intended receiver. It may contain 
confidential or legally protected information. The incorrect transmission of 
this message does not mean the loss of its confidentiality. If this message is 
received by mistake, please send it back to the sender and delete it from your 
system immediately. It is forbidden to any person who is not the intended 
receiver to use, distribute or copy any part of this message.


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to