Hi All,

  I am not able to convert the html paragraph with different fonts used to
pdf using HTMLWorker.
It appears that the font face tag is not recognized at all. For the example
below:

---
<html>
 <head>
 </head>
 <body>
<p>Blue performs a method</p>
<p>Default Font, < font face='Times New Roman'>Times New Roman TimesSize3<
font face="Times New Roman"> < font face="Segoe UI">SegoiUI < font
face="Rockwell Extra Bold">Rockwell extra < font face="Script MT
Bold">Script MJ Bold </p>
 </body>

</html>
---

Could someone please let me know how to read the different fonts in a HTML
Paragraph.
I have tried LoadTagStyle("p","face","Times New Roman"), but it sets the
font globally(for all chunks).

In the above example I have intentionally put a space between '<' and 'face'
for the sake of explanation, the actual code doesn't have any space.

Thank You,
Satish
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
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
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

Reply via email to