| By Date: | <-- --> |
| By Thread: | <-- --> |
--Mark Storer
Senior Software Engineer
Cardiff.com
#include <disclaimer>
typedef std::Disclaimer<Cardiff> DisCard;
-----Original Message-----
From: itext-questions-bounces (at) lists.sourceforge.net [mailto:itext-questions-bounces (at) lists.sourceforge.net]On Behalf Of Venkat Tubati
Sent: Wednesday, January 31, 2007 10:24 PM
To: itext-questions (at) lists.sourceforge.net
Subject: [iText-questions] Font problemHello Team,I cant able to render different fontstyles in the PDF file(like: MonotypeCorsiva) in this case it is assigning the default style(HELVETICA)to the text.I am using this code please look at for the reference and let me know where i need to change my code.___________________________________________________________________________________________________________________//renderedStringInfo is the string which i am renderingfont = iTextSharp.text.FontFactory.GetFont(renderedStringInfo.Font.Name, renderedStringInfo.Font.Size , Convert.ToInt32(renderedStringInfo.Font.Style), iTextSharp.text.Color.BLACK);font.Color = new iTextSharp.text.Color(brushColor);
baseFont = font.GetCalculatedBaseFont(false);
pdfContentByte.SetFontAndSize(baseFont, renderedStringInfo.Font.Size);
___________________________________________________________________________________________________________________Thanks in advance,T.Venkat.
------------------------------------------------------------------------- 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 iText-questions (at) lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/