All this information and the info in
http://forums.xmetal.com/index.php/topic,968.0.html is very useful.
However, I can’t figure out how to specify the Calibri font in the xep.xml file.
This does not work
<font-family name="Calibri">
<font><font-data ttf="calibri.ttf"/></font>
<font style="oblique"><font-data ttf="calibrii.ttf"/></font>
<font weight="bold"><font-data ttf="calibrib.ttf"/></font>
<font weight="bold" style="oblique"><font-data ttf="calibriz.ttf"/></font>
</font-family>
I get the following error message when I try to create output from XMetal (Enhanced PDF with RenderX XEP), XMetal 6, Windows 7
<log_line>
[java] [error] Cannot read font metric from file:/C:/Windows/Fonts/calibrii.tff</log_line><log_line>
[java] [error] java.io.FileNotFoundException: C:\Windows\Fonts\calibrii.tff (The system cannot find the file specified)</log_line><log_line>
[java] Rendering failed: Could not obtain font metric for font family 'Calibri'</log_line>
Does anyone know how to refer to the calibri italic, calibri bold, and calibri italic bold fonts on Windows 7? I can get calibri regular to work (XEP accepts calibri.tff but cannot find calibrii.tff for instance)
When I search for these fonts on my machine, I see the following in the c:\windows\font directory: Calibri Bold, Calibri Bold Italic, Calibri Regular, Calibri Italic. There are no file extensions (e.g., no .tff).
Thanks.