[xep-support] Strange problem with Type1 font (broken font?)

Alexei Gagarinov agagarinov at renderx.com
Fri Oct 7 03:53:44 PDT 2005


Hello Thomas,

Could you please send the font files (TSer4___.pfb and TSer4i__.afm) to
support at renderx.com

Best regards,
  Alexei Gagarinov
RenderX 

-----Original Message-----
From: owner-xep-support at renderx.com [mailto:owner-xep-support at renderx.com]
On Behalf Of Thomas Schraitle
Sent: Tuesday, October 04, 2005 8:57 PM
To: xep-support at renderx.com
Subject: [xep-support] Strange problem with Type1 font (broken font?)

Hi,

some day ago I wanted to try another font for my documents. Therefor I 
inserted the respective data in the configuration file "xep.xml", 
switched my XSLT stylesheet to the new font, transformed my XML and 
formatted the FO file. However I received the following error:

[error] Cannot output subset for Type 1 font 
'file:/local/fonts/TSer4i__.pfb', the font is broken
[error] java.lang.NumberFormatException: For input string: ""
  the font is broken

The relevant part of the configuration file looks like this:

 <font-group label="Thesis" 
   xml:base="file:///local/fonts/"
   embed="true" subset="true"
   ligatures="&#xFB00; &#xFB01; &#xFB02; &#xFB03; &#xFB04; &#xFB05;">
  <font-family name="MySerif">
     <font>
       <font-data pfb="TSer4___.pfb"
                  afm="TSer4___.afm"/>
     </font>
     <font style="italic">
       <font-data pfb="TSer4i__.pfb"
                  afm="TSer4i__.afm"/>
     </font>
  </font-family>
 </font-group>


I tried the same font in OpenOffice with success. So it seems the font is 
not broken.
Another attempt was to load it into fontforge and save it as PFB again 
(the license allows this). Although the resulting PFB file is a bit 
smaller I can use it without any errors.

Have somebody an idea what's going on here? I use XEP 4.4 build 20050822.

Thanks,
Tom

-- 
Thomas Schraitle
-------------------
(*) 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/terms-of-service.html

-------------------
(*) 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/terms-of-service.html



More information about the Xep-support mailing list