Hello,
i'm just evaluating XEP 4.0 and have a problem with my ttf-Fonts. I got
the following error message:
java.lang.RuntimeException: com.renderx.fonts.BadFontDataException:
Could not obtain font metric for font family 'Handbuchlight'
In XEP 2.78 i used the following lines in fonts.xml which worked well
with the fonts located in the afm directory:
<font name="Handbuchlight"
ttf="Conduit_Light.ttf"
embed="true">
<alias name="Conduit"/>
<alias name="Conduit-Roman"/>
<alias name="Conduit-Light"/>
</font>
<font name="Handbuchlightitalic"
ttf="Conduit_LightItalic.ttf"
embed="true">
<alias name="Conduit-Italic"/>
</font>
<font name="Handbuchbold"
ttf="Conduit_Bold.ttf"
embed="true">
<alias name="Conduit-Bold"/>
</font>
<font name="Handbuchbolditalic"
ttf="Conduit_BoldItalic.ttf"
embed="true">
<alias name="Conduit-BoldItalic"/>
</font>
In XEP 4.0 I moved the ttf-files to a fonts subdirectory and used the
following lines in xep.xml:
<font-group xml:base="file:/path/To/Fonts/fonts" label="Conduit"
embed="true"
subset="true">
<font-family name="Handbuchlight">
<font>
<font-data ttf="Conduit_Light.ttf"/>
</font>
<font style="italic">
<font-data ttf="Conduit_LightItalic.ttf"/>
</font>
<font weight="bold">
<font-data ttf="Conduit_Bold.ttf"/>
</font>
<font style="italic" weight="bold">
<font-data ttf="Conduit_LightItalic.ttf"/>
</font>
</font-family>
<font-alias name="Conduit" value="Handbuchlight"/>
<font-alias name="Conduit-Roman" value="Handbuchlight"/>
<font-alias name="Conduit-Light" value="Handbuchlight"/>
<font-alias name="Conduit-Italic" value="Handbuchlightitalic"/>
<font-alias name="Conduit-Bold" value="Handbuchbold"/>
<font-alias name="Conduit-BoldItalic"
value="Handbuchbolditalic"/>
</font-group>
What went wrong?
Best regards,
Michael Fritsch
-- Dr. Michael Fritsch Technical Editor tel +49.40.325587.214 fax +49.40.325587.999 michael.fritsch@coremedia.com CoreMedia Ludwig-Erhard-Str. 18 20459 Hamburg, Germany <www.coremedia.com> CoreMedia - The Content Technology Experts ------------------- (*) 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/tos.htmlReceived on Mon Nov 15 03:29:02 2004
This archive was generated by hypermail 2.1.8 : Mon Nov 15 2004 - 03:29:03 PST