The code has been adapted from svn commit 272 to remove " and ' quotes from font family names. Thanks for the notification of this bug.

On 9/02/2012 19:34, Dean McCarthy wrote:

Also, just as something else to be aware of, if you create your CSS in Visual Studio and any of your font names have more than one word and are enclosed in quotes, such as

body
{
     font-family: 'Century  Gothic';
     font-size:10pt;
     color:#000000;
}

XMLWorker will NOT render this font. You'll need to remove the quotes, such as

body
{
     font-family:Century  Gothic;
     font-size:10pt;
     color:#000000;
}

And XMLWorker will render the font correctly.

Cheers

Dean


Kind Regards
Balder

--
twitter <http://twitter.com/redlabbe>
redlab-log <http://www.redlab.be/blog/>
------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to