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

Werner Donné werner.donne at re.be
Thu Feb 13 02:41:15 PST 2003


David,

I did it on Linux with this:

java version "1.3.1_06"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_06-b01)
Java HotSpot(TM) Client VM (build 1.3.1_06-b01, mixed mode)

That doesn't work. I have now upgraded to:

java version "1.3.1_07"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_07-b02)
Java HotSpot(TM) Client VM (build 1.3.1_07-b02, mixed mode)

That doesn't work either. On a Solaris Sparc I tried with the following:

java version "1.3.1_02"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_02-b02)
Java HotSpot(TM) Client VM (build 1.3.1_02-b02, mixed mode)

That works fine. I don't understand.

Werner.

David Tolpin wrote:
>>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.
> 
> 
> Werner,
> 
> 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.
> 
> Please,
> 
> 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)
> 
> David
> -------------------
> (*) 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
> 
> 

-- 
Werner Donné  --  Re BVBA
Engelbeekstraat 8
B-3300 Tienen
tel: (+32) 486 425803	e-mail: werner.donne at re.be

-------------------
(*) 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