Jump to content
Server Maintenance This Week. ×

problem with iText on OS X 10.10


This topic is 3152 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Scriptmaster 4.42  running as a a server plugin with FMS 14.02

If I load jar files locally the following code works, if I run it as a PSOS script - with the jars loaded into the JVM, it appears to not properly load the resources, so I get the error message underneath, which point to the the fact that A: the .lng is not loading so it can't find the error message and that the helvetica.afm is also not loading which causes the error

import com.itextpdf.text.pdf.BaseFont

try{
bf = BaseFont.createFont()
return bf
} catch (e) {
return e
} 
return true

 error is

com.itextpdf.text.DocumentException: No message found for 1.not.found.as.resource

 

see following as it appears to be a JVM issue.

http://stackoverflow.com/questions/31357638/helvetica-base-font-returning-an-error/31358097?noredirect=1#comment50698373_31358097

 

Edited by john renfrew
Link to comment
Share on other sites

  • 3 weeks later...
  • 1 month later...

This topic is 3152 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.