Friday, February 7, 2014

Add New Font to OBIEE 11g

To add a new font use the following steps:

1. open the file
../Oracle_BI1/bifoundation/web/msgdb/messages/commonuitemplates.xml and add
the new font. For example:

<WebMessage name="kuiFormatUIFontOptions" translate="false"><HTML><option
value="Arial">Arial</option><option value="Arial Black">Arial
Black</option><option value="Arial Narrow">Arial Narrow</option><option
value="Calibri">Calibri</option><option value="Courier New">Courier
New</option><option value="Garamond">Garamond</option><option value="Lucida
Sans Unicode">Lucida Sans Unicode</option><option value="Microsoft Sans
Serif">Microsoft Sans Serif</option><option value="Times New Roman">Times New
Roman</option><option value="Tahoma">Tahoma</option><option
value="Verdana">Verdana</option></HTML></WebMessage>

In this example the Font Calbri has been added.

2. Save the file.

3. Next add the Calbri font details in following schema for validation:
Oracle_BI1/bifoundation/web/schemas/analysis_formats.xsd

xs:simpleType name="fontFamily">
    <xs:annotation>
      <xs:documentation>
        family of fonts supported
      </xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Arial"/>
      <xs:enumeration value="Arial Black"/>
      <xs:enumeration value="Arial Narrow"/>
      <xs:enumeration value="Calibri"/>
      <xs:enumeration value="Courier New"/>
      <xs:enumeration value="Garamond"/>
      <xs:enumeration value="Lucida Sans Unicode"/>
      <xs:enumeration value="Microsoft Sans Serif"/>
      <xs:enumeration value="Times New Roman"/>
      <xs:enumeration value="Tahoma"/>
      <xs:enumeration value="Verdana"/>
    </xs:restriction>
  </xs:simpleType>

4. Save the file

5. Restart the Presentation Services, and you will see the new font in the column formatting options.

Reference Meatalink Note:  https://support.oracle.com/epmos/faces/DocumentDisplay?id=1572003.1

No comments:

Post a Comment