Font not found error
Hitoshi Ozawa <Ozawa_Hitoshi <at> ogis-ri.co.jp>
2012-01-26 06:11:27 GMT
I'm trying to specify Japanese fonts to use with Forrest 0.9 but keep
getting the following error:
WARN - Font 'IPAGothic,normal,400' not found. Substituting with
'any,normal,400'.
WARN - Font 'IPAGothic,normal,700' not found. Substituting with
'any,normal,700'.
WARN - Font 'IPAGothic,italic,400' not found. Substituting with
'any,italic,400'.
I've created the following forrest.properties.xml file:
<?xml version='1.0'?>
<properties>
<property name="output.pdf.fontFamily.serif" value="IPAPGothic"/>
<property name="output.pdf.fontFamily.sansSerif" value="IPAPGothic"/>
<property name="output.pdf.fontFamily.monospace" value="IPAPGothic"/>
<property name="output.pdf.fontFamily.arial" value="IPAPGothic"/>
<property name="output.pdf.fontFamily.TimesNewRoman" value="IPAPGothic"/>
<property name="output.pdf.fontFamily.Courier" value="IPAPGothic"/>
<property name="output.pdf.fontFamily.arialMT" value="IPAPGothic"/>
<property name="output.pdf.fontFamily.arial-BoldMT" value="IPAPGothic"/>
<property name="output.pdf.fontFamily.arial-ItalicMT" value="IPAPGothic"/>
<property name="output.pdf.fontFamily.TimesNewRomanPSMT"
value="IPAPGothic"/>
</properties>
and the following config.xml file:
<fop version="1.0">
<renderers>
<renderer mime="application/pdf">
<fonts>
(Continue reading)