Phil Newman wrote:
> I want to embed the ZAPF font so changed the code to the following:
> 
> Dim BFZ As BaseFont = BaseFont.CreateFont(Server.MapPath(fontFolder +
> "ZD______.PFM"), "", BaseFont.EMBEDDED)
> Dim ZDfont As Font = New Font(BFZ, 4, Font.NORMAL,
> iTextSharp.text.Color.BLACK)
> Dim outputList As ZapfDingbatsList = New ZapfDingbatsList(108, 10)
> outputList.Symbol.Font = ZDfont
> 
> However now when i render my PDF the bullet points are white, or not visible
> in the PDF. Having looked through the book I think that my problem might be
> because it's using the default encoding type but i'm not really sure. Please
> could someone help?

Do you have the file ZD______.PFB in the same folder as ZD______.PFM?
-- 
This answer is provided by 1T3XT BVBA
http://www.1t3xt.com/ - http://www.1t3xt.info

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
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