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

From: Thomas Schraitle <tom_schr@web.de>
Date: Tue Oct 04 2005 - 09:56:49 PDT

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@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
Received on Tue Oct 4 10:21:52 2005

This archive was generated by hypermail 2.1.8 : Tue Oct 04 2005 - 10:21:53 PDT