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