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
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
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/