I am trying to use iText to convert XML document to PDF. When I tried one of the given examples, it worked fine. (Example Chap0703) Then I want to change the font using the tagmap as
<tag name="paragraph" alias="title"> <attribute name="font" value="TSC_Avarangal" /> <attribute name="leading" value="14"/> <attribute name="size" value="10"/> </tag>
But it did not work. Then I also generated the XML file along with PDF. It seems it is not taking the "font" attribute. It always puts font="unknown". Is it a bug? If there is a workaround for this, please let me know.
Thanks, Jones.
PS:
The main reason I am using a different font is to write bi-lingual text in PDF. I tried directly creating a base font with the TTF and it works fine. But I want to use the XML to PDF feature of iText so I can avoid lots of programming.
_________________________________________________________________
Let the new MSN Premium Internet Software make the most of your high-speed experience. http://join.msn.com/?pgmarket=en-us&page=byoa/prem&ST=1
------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions