Oracle BI publisher for peoplesoft, support limited number of default-font types. However, when you want to add another font which is not a default font type delivered by BI publisher your report will not display the appropriate font you want.
In order to change the font you want, you have to take a configuration change in BI publisher.
BI Publisher system properties settings are defined in the xdo.cfg file. The default xdo.cfg file is located in the $PSHOME/appserver directory, which is shared by all application server and process scheduler domains by default.
For example you want to use font say "Bodoni MT" which is not a default font configured in BI Publisher settings in Application Server.
Therefore, a xdo.cfg BI publisher config file in App server need to be modified to include "Bodoni MT" font.
Here is the example xdo.cfg file with added Bodoni MT font.
<config version="1.0.0" xmlns="http://xmlns.oracle.com/oxp/config/">
<!-- Properties -->
<properties>
<!-- System level properties -->
<!-- PLEASE SELECT A VALID TEMPFILE DIRECTORY!!! -->
<property name="system-temp-dir">c:/Temp</property>
<!-- PDF compression -->
<property name="pdf-compression">true</property>
<!-- PDF security -->
<property name="pdf-security">false</property>
<property name="pdf-open-password">user</property>
<property name="pdf-permissions-password">owner</property>
<property name="pdf-no-printing">true</property>
<property name="pdf-no-changing-the-document">true</property>
</properties>
<!-- Font setting -->
<fonts>
<!-- Windows Wingdings font -->
<font family="Wingdings" style="normal" weight="normal">
<truetype path="C:\WINNT\fonts\wingding.ttf" />
</font>
<font family="GnuMICR" style="normal" weight="normal">
<truetype path="C:\WINNT\fonts\GnuMICR.ttf" />
</font>
<font family="Times New Roman" style="normal" weight="normal">
<truetype path="C:\windows\Fonts\times.ttf" />
</font>
<font family="3 of 9 Barcode" style="normal" weight="normal">
<truetype path="C:\WINNT\fonts\3of9.ttf" />
</font>
<font family="Bodoni MT" style="normal" weight="normal">
<truetype path="C:\WINDOWS\Fonts\BOD_R.TTF" />
</font>
</fonts>
</config>
to add a font, add font element (see example above for Bodoni MT) and set the truetype path as above.
No comments:
Post a Comment