I have an XSL-FO document which uses custom fonts. I have configured the fonts
in the xep.xml file and the PDF is rendered correctly with the fonts. However,
XEP always outputs some warning messages to stderr:
[warning] could not find any font family matching "'Garamond-BookCondensed'"
; replaced by Helvetica
[warning] could not find any font family matching "'HelveticaNeue-BoldCond'"
; replaced by Helvetica
[warning] could not find any font family matching "'HelveticaNeue-LightCond'
"; replaced by Helvetica
))
The XSL-FO document uses these fonts plus some others, which there are no
warnings for. These warnings are both misleading and annoying. Is there anyway
to suppress them?
Here is the snippet from my xep.xml file:
<font-group xml:base="file:/C:/th/fonts/" label="Type1 Fonts" embed="true"
subset="false">
<font-family name="Helvetica 47 Light Condensed">
<font>
<font-data afm="HLLC____.AFM" pfb="HLLC____.PFB"/>
</font>
</font-family>
<font-family name="Helvetica 57 Condensed">
<font>
<font-data afm="HLC_____.AFM" pfb="HLC_____.PFB"/>
</font>
</font-family>
<font-family name="Helvetica 77 Bold Condensed">
<font>
<font-data afm="HLBC____.AFM" pfb="HLBC____.PFB"/>
</font>
</font-family>
<font-family name="Helvetica 55 Roman">
<font>
<font-data afm="HLR_____.AFM" pfb="HLR_____.PFB"/>
</font>
</font-family>
<font-family name="ITC Garamond Book Condensed">
<font>
<font-data afm="GAWC____.AFM" pfb="GAWC____.PFB"/>
</font>
</font-family>
<font-family name="ITC Garamond Book Condensed Italic">
<font>
<font-data afm="GAWCI___.AFM" pfb="GAWCI___.PFB"/>
</font>
</font-family>
<font-family name="ITC Garamond Bold Condensed">
<font>
<font-data afm="GABC____.AFM" pfb="GABC____.PFB"/>
</font>
</font-family>
<font-family name="ITC Garamond Bold Condensed Italic">
<font>
<font-data afm="GABCI___.AFM" pfb="GABCI___.PFB"/>
</font>
</font-family>
<font-alias name="HelveticaNeue-LightCond" value="Helvetica 47 Light Condensed"/>
<font-alias name="HelveticaNeue-Condensed" value="Helvetica 57 Condensed"/>
<font-alias name="HelveticaNeue-BoldCond" value="Helvetica 77 Bold Condensed"/>
<font-alias name="HelveticaNeue-Roman" value="Helvetica 55 Roman"/>
<font-alias name="Garamond-BookCondensed" value="ITC Garamond Book Condensed"/>
<font-alias name="Garamond-BookCondensedItalic" value="ITC Garamond Book
Condensed Italic"/>
<font-alias name="Garamond-BoldCondensed" value="ITC Garamond Bold Condensed"/>
<font-alias name="Garamond-BoldCondensedItalic" value="ITC Garamond Bold
Condensed Italic"/>
</font-group>
Thanks,
Chris
-------------------
(*) 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.html
Received on Thu Dec 16 07:03:35 2004
This archive was generated by hypermail 2.1.8 : Thu Dec 16 2004 - 07:03:35 PST