The problem is not the URL size. I'll wait for the listing. Best Regards, Paulo Soares
> -----Original Message----- > From: Craig Earls [SMTP:[EMAIL PROTECTED]] > Sent: Thursday, September 19, 2002 18:16 > To: Paulo Soares ; [EMAIL PROTECTED] > Subject: RE: [iText-questions] StartCharMetrics not found in 0.94 > > I won't be able to get that listing for a few hours. Could it be something > about the LENGTH of the path to the afm file? The server that breaks it > gives a pretty long URL > (http://carbon.xpogen.com/xad/tool/RNViewer/RNViewer.jar is something like > the actaul URL the server generates to send the jar file) . The servers it > works on are fairly short > (http://192.168.1.100/~cpearls/Sites/RNViewer.jar) Does that explain the > difference between 0.94 and 0.92 ? > > -----Original Message----- > From: Paulo Soares > To: Craig Earls; [EMAIL PROTECTED] > Sent: 9/19/2002 12:41 PM > Subject: RE: [iText-questions] StartCharMetrics not found in 0.94 > > The thrown error line is: > > throw new DocumentException("Missing StartCharMetrics in " + fileName); > > This can happen if the afm file is truncated. Can you send me the > listing > with the directories, names and sizes of what you have in your jar? > > Best Regards, > Paulo Soares > > > -----Original Message----- > > From: Craig Earls [SMTP:[EMAIL PROTECTED]] > > Sent: Thursday, September 19, 2002 17:28 > > To: Paulo Soares ; [EMAIL PROTECTED] > > Subject: RE: [iText-questions] StartCharMetrics not found in 0.94 > > > > Hard to give details, but I'll try. The applet is packaged with iText > and > > several other jar files included in a single jar file. That removes > any > > problems I have with CLASSPATHS, I think. It alos makes a more > reliable > > download (The 'applet' is over 2MB, don't ask why, I just write what > the > > spec tells me to write :). > > > > It works when served from a static site, but when served through our > > dynamical server (AOLServer) it breaks. I have been unable to detact > any > > difference between the jar that comes out of the AOLServer and a jar > that > > works as expected. And as I said going back to 0.92 works completely, > > which totally mystifies me. > > > > If you can give some places to look I will be glad to help trouble > shoot > > this, but I am not certain where even to try to track this down as it > > apparently is strangely platform dependent. (Java: write once, test > > everywhere) > > > > -----Original Message----- > > From: Paulo Soares > > To: Craig Earls; [EMAIL PROTECTED] > > Sent: 9/19/2002 11:03 AM > > Subject: RE: [iText-questions] StartCharMetrics not found in 0.94 > > > > The fonts are now stored as files inside the jar. I don't know why it > > doesn't work. Can you give some more details on your configuration, > > architecture, etc? > > > > Best Regards, > > Paulo Soares > > > > > > > -----Original Message----- > > > From: Craig Earls [SMTP:[EMAIL PROTECTED]] > > > Sent: Thursday, September 19, 2002 12:13 > > > To: [EMAIL PROTECTED] > > > Subject: [iText-questions] StartCharMetrics not found in 0.94 > > > > > > Hello, > > > Congratulations on iText. It is a VERY useful tool. I was using > > > 0.92 for sometime in an Applet environment, and when I switch to > 0.94 > > I > > > go some VERY strange results. When testing the applet on my local > > > machine, or on my iMac sitting on my home LAN, everything was fine. > > But > > > when I put the applet out on my primary server I got "Error: > > > StartCharMetrics not found" for every font I tried to use, even the > > > normal fonts (supposedly "built-in"). When I reverted to 0.92 the > > > problem disappeared. Any clues on this one? I am content to stick > > with > > > 0.92 it does everything I need, but I was surprised by the error. > > > > > > Craig Earls > > > > > > > > > ------------------------------------------------------- > > > This sf.net email is sponsored by:ThinkGeek > > > Welcome to geek heaven. > > > http://thinkgeek.com/sf > > > _______________________________________________ > > > iText-questions mailing list > > > [EMAIL PROTECTED] > > > https://lists.sourceforge.net/lists/listinfo/itext-questions ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions
