On 12/10/2013 8:05 PM, maxmcc wrote: > the paragraphs still fail to write, and I am left with a blank document. I > think that _this_ problem is related to the not.found.as.resource error
An exception is thrown and all exceptions in iText are localized, which means the actual text is stored in a language property file with extension .lng. If that .lng file is not found, the key of the entry in the language property file is used. In your case, you have an error with key "1.not.found.as.resource". The localization handler replaces the 1 with the first parameter passed to the exception, but as the .lng file is missing in your APK, the "1" isn't being resolved. An educated guess though would be that the value of "1" is in this case "Helvetica", meaning that the file "Helvetica.afm" is missing in your APK. All these errors are very common when creating your own Android version of iText, forgetting to include the resources into your APK, such as the .lng and .afm files. ------------------------------------------------------------------------------ Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions iText(R) is a registered trademark of 1T3XT BVBA. Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/ Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php