Paul Swift wrote: > Hi, > > I have searched through the list archives and my copy of iText in Action > but cannot find an answer to my question. Please forgive me if I have > missed something obvious. > > I am using iTextSharp version 4.1.2 and want to print a line that > contains a mixture of font heights. However, the line in always printed > so that characters are aligned at their tops, rather than the baseline.
I have never, ever seen that behavior. You are doing something that isn't obvious. Honestly: I wouldn't know how to achieve the result you are describing. > Is there an example of how to do this i.e. so that all of the text on > the same printed line share the same baseline, regardless of the various > font heights? iText works exactly according to your requirement: http://1t3xt.info/examples/browse/?page=example&id=397 -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/ - http://www.1t3xt.info ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php
