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,
You've posted this query in the wrong forum. This forum handles questions
related to the iText library.
As to your specific questions, Google is your friend.
---mr. bean
rajeshkarka wrote:
Hi All,
what is difference between string.slice() and string.substring().
For both
mister bean wrote:
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
Creating a BaseFont for file cambria.ttc (which ships with Vista) generates a
DocumentException. The specific code is:
BaseFont bf = BaseFont.createFont( fontFilename, winansi,
BaseFont.NOT_EMBEDDED);
where fontFilename is the full path and filename for cambria.ttc Note that
this code works
Hi.
On Sat, 27 Dec 2008 21:41:41 -0800 (PST), mister bean
abinst...@pacificdataworks.com wrote:
Creating a BaseFont for file cambria.ttc (which ships with Vista)
generates a
DocumentException. The specific code is:
BaseFont bf = BaseFont.createFont( fontFilename, winansi,
I totally missed that. Thanks very much. ---mr. bean
Benjamin Podszun wrote:
Hi.
On Sat, 27 Dec 2008 21:41:41 -0800 (PST), mister bean
abinst...@pacificdataworks.com wrote:
Creating a BaseFont for file cambria.ttc (which ships with Vista)
generates a
DocumentException. The specific