How can set a specific font to whole document using XML ? Regards > -----Original Message----- > From: Bruno [SMTP:[EMAIL PROTECTED]] > Sent: 24 Ocak 2003 Cuma 16:21 > To: Russo Gaetano > Cc: [EMAIL PROTECTED] > Subject: Re: [iText-questions] extend the SAXiTextHandler-class > > Quoting Russo Gaetano <[EMAIL PROTECTED]>: > > > could you briefly describe process to include character such as > > Arial in whole document, using Custom Tags and iText XML > > How can I parse turkish XML template. I use ISO-8859-9 > > encoding.Bruno said in mailing list archive about cyrillic font : > > "If you use the iTextXML.jar AS-IS, you will not be able to convert > > a cyrillic XML into a PDF containing a cyrillic font. You will have to > > extend the SAXiTextHandler-class because the given XML functionality > only > > produces PDFs with Type1 fonts. Bruno" > > I looked into the archives for an answer I gave to the same question > a while ago. I didn't find it anymore. > > What you should try to do is this: > register a font to the FontFactory object (see the tutorial for this). > Check the name of the fonts that are registered. > I am almost sure you will be able to use that name for the font. > > If the person I explained this solution to is still on the mailing > list, I hope he will answer you. I didn't test this. > > If you want to know how this works internally, take a look > at the constructor of the com.lowagie.text.Font object > that takes a Properties-object. > > It may need some changes. Please post your findings to the mailing list. > > Bruno
------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions
