itext-questions  

Re: [iText-questions] different output in debug mode

jb
Sun, 29 Jun 2008 10:09:29 -0700

>
> 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 mode versus
> debug mode. Note that programs executed in the same JVM before
> executing your code in run mode could have registered the font.
>   
i work with the itext source, and so it is FontFactoryImp for sure :-)
originally registerDirectories() was not invoked in run mode nor in 
debug mode.
this way in run mode the program could access the necessary font files, 
but not in
debug mode. i added an extra call to registerDirectories(), and so font 
files
are loaded in both cases.

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Do you like iText?
Buy the iText book: http://www.1t3xt.com/docs/book.php
Or leave a tip: https://tipit.to/itexttipjar