[xep-support] XEP3.2: font parsing error

David Tolpin dvd at renderx.com
Wed Feb 12 12:25:24 PST 2003

> When using JDK1.3.1 I get an error which I don't get when using J2SE1.4.1. It happens
> while parsing an AFM file. The message is the following:
> {!file:/tmp/XEP/etc/fonts.xml: couldn't parse metrics or glyph list for font
> CourierNewPSMT-Latin1: com.renderx.adobe.AdobeFileFormatError:
> /tmp/XEP/afm/../type1/CourierNewPSMT-Latin1.afm: no FontName specified}
> My fonts.xml file contains the following entry:
> <font embed="true" pfb="../type1/CourierNewPSMT-Latin1.pfb"
> afm="../type1/CourierNewPSMT-Latin1.afm" name="CourierNewPSMT-Latin1"/>
> I have attached the compressed AFM file, which contains a FontName entry.
> The message appears a large number of times during one run, which leads me to think
> that the AFM is parsed very often.


the only thing I can assume is that your build of 1.3.1 is faulty in some way.
I am using 1.3.1 for development and I've just tested your AFM. It went
swiftly. No error messages.


exact output of java -version; here is what I have:

java version "1.3.1-p7"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1-p7-dvd-021008-07:58)
Classic VM (build 1.3.1-p7-dvd-021008-07:58, green threads, OpenJIT)

(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo at renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html

More information about the Xep-support mailing list