mct.addElement(w);
doc.add(mct); // no result
} catch (DocumentException e1) {
e1.printStackTrace();
}
do you have any suggestions how to make it work?
thanks in advance,
jb
>
> It's FontFactory.getFont(...) not FontFactoryImp.getFont(...);
> unless you looked at the internal iText classes.
> Apparently there's a difference in the JVM in run mode versus
> debug mode. Did you use registerDirectories() or something else?
> Maybe the state of your JVM is different in run
> I don't think you have to look inside the iText source
> to find the culprit. I think you should look into your
> own code; more specifically the lines where you create
> the font "arialn.ttf". Apparently you have access to
> that file when creating tabs_run.pdf but not when creating
> tabs_debu
find the responsible lines in the
iText source?
thanks in advance,
jb.
tabs_debug.pdf
Description: Adobe PDF document
tabs_run.pdf
Description: Adobe PDF document
-
Check out the new SourceForge.net Marketplace.
It's
behind...
any help would be appreciated..
thanks in advance,
jb
***
try {
RtfParser rtfParser = new RtfParser();
FileInputStream inputStream = new FileInputStream("apple.rtf");
FileOutputStream outputSt
se give me some hint!
thanks in advance,
jb.
for(all the files) {
convert(file)
}
synchronized convert(file) {
RtfParser = new RtfParser();
Document document = new Document();
PdfWriter writer = new PdfWriter.getInstance(document, outputStream);
document.open();
rtfParser.convertRtf