> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of Feng Dihai
> Sent: Wednesday, November 08, 2006 1:12 AM
> To: [email protected]
> Subject: Re: [iText-questions] Enhancement (or changes) for 
> Asian fontsupport
> 
> See my comments below, please.
> 
> Paulo Soares <psoares <at> consiste.pt> writes:
> 
> > 
> > 
> > > -----Original Message-----
> > > From: itext-questions-bounces <at> lists.sourceforge.net 
> > > [mailto:itext-questions-bounces <at> lists.sourceforge.net] On 
> > > Behalf Of Feng Dihai
> > > Sent: Tuesday, November 07, 2006 1:14 AM
> > > To: itext-questions <at> lists.sourceforge.net
> > > Subject: Re: [iText-questions] Enhancement (or changes) for 
> > > Asian fontsupport
> > > 
> > > 
> > > About embedment of Unicode TrueType Font, I do really mean not to 
> > > ...
> > 
> > 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.
> 
> I have sent you a sample pdf file. Please check your email box.
>

I saw the file and supporting it will take some work. I'll add it to my
to-do list.
 
> > 
> > > About output text with an alternate font, your suggestion on 
> > > ... ...
> > 
> > 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.
> 
> In my template-base report solution, most text which mapping 
> with a pre-defined
> field are output via PdfContentByte directly to gain 
> performance advantage.
> Alignment is calculated before calling 
> PdfContentByte#showText(String). Only   
> for Element.ALIGN_JUSTIFIED(_ALL), a 1x1 PdfPTable are used 
> for each field
> instead. I know it must cost more, but most of fields of a 
> report need not to be
> justified.
> That is the reason why I invented my own way to combine with 
> an alternate font
> by modifing PdfContentByte. It even works well with JFreeChart.
> 

Your solution is specific to your needs and can't be included as-is in
the main iText distribution. However, you raise a valid point
concearning the extensability of PdfContentByte. I'll have to think
about a generic solution.

Paulo

> > 
> > Paulo
> > 
> 
> 
> 
> 
> 
> 
> --------------------------------------------------------------
> -----------
> 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
> 


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