Creating BaseFonts from .ttc files give spurious DocumentException errors.
This appears to be caused by this error at the end of line 567 of
com.lowagie.text.pdf.BaseFont.java:
[...] || nameBase.toLowerCase().indexOf(".ttc,")
The literal for the ending of the file name should be ".ttc" not ".ttc,"
That is, there should be no comma.
Unless I'm crazy (always a possibility!) can this be fixed?
Thanks,
---mr. bean
--
View this message in context:
http://www.nabble.com/Found-bug-in-BaseFont%27s-handling-of-.ttc-fonts-tp21188543p21188543.html
Sent from the iText - General mailing list archive at Nabble.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