Using External Fonts
To use fonts other than those that are pre-defined, you need to create a font mapping in the fonts section of the xdo.cfg file.
See Defining System Properties, for details on xdo.cfg file.
This is an example of font mapping syntax for RTF templates:
<config version="1.0.0" xmlns="http://xmlns.oracle.com/oxp/config/">
<properties>
<!-- System level properties -->
<property name="xslt-xdoparser">true</property>
…
</properties>
<fonts>
<font family="Arial" style="normal" weight="normal">
<truetype path="C:\Windows\fonts\arial.ttf" />
</font>
<font family="Arial" style="normal" weight="bold">
<truetype path="C:\Windows\fonts\arialbd.ttf" />
</font>
</fonts>
</config>This is an example of font substitution syntax for PDF templates:
<config version="1.0.0" xmlns="http://xmlns.oracle.com/oxp/config/">
<properties>
<!-- System level properties -->
<property name="xslt-xdoparser">true</property>
…
</properties>
<fonts>
<font-substitute name="Helvetica">
<truetype path="C:\Windows\fonts\calibri.ttf" ttccno="0" />
</font-substitute>
</fonts>
</config>See Oracle Fusion Middleware Administrator's Guide for Oracle Business Intelligence Publisher, “Appendix C Configuration File Reference”, “Font Definitions,” for additional details on the font mapping syntax.