I have several .otf fonts that have this property:  If I use
FontFacotry.getFont() with encoding BaseFont.IDENTITY-H to use them, I get
no exception, but nothing prints in the PDF (it's blank). 

However, if I change the encoding to BaseFont.WINANSI, the text prints fine
(and uses the font). 

How can I tell which encoding to specify when calling FontFactory.getFont()?

Thanks in advance,

---Andrew Binstock

-- 
View this message in context: 
http://old.nabble.com/Knowing-the-Correct-Font-Encoding-for-FontFactory.getFont%28%29-tp27270603p27270603.html
Sent from the iText - General mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
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