Getting the Font Mappings

Gets a list of all declared font mappings on a Web Intelligence server. There are three available platforms: HTML, Java, and Windows, with different font mappings. This call returns all mappings for all platforms.

Request

GET <webiURL>/configuration/fontmappings

Response

Response type: application/xml or application/json

Response body: the list of all declared font mappings on the Web Intelligence server:

  • The platform attribute specifies the type of platform that uses the fonts
  • The <serverName> element is the name of the font server
  • The <platformName> element lists the available fonts. Fonts with more than one word as their name are enclosed in quotes.

Example

<fontmappings>
    <mapping platform="HTML">
        <font>
            <serverName>Arial</serverName>
            <platformName>Arial, Helvetica, 'Courier New', 'Times New Roman'</platformName>
        </font>
        <font>
            <serverName>BOJapan</serverName>
            <platformName>'MS Gothic', 'Arial Unicode MS'</platformName>
        </font>
    </mapping>
    <mapping platform="Java">
        <font>
            <serverName>Arial</serverName>
            <platformName>Arial, Helvetica, 'Courier New', 'Times New Roman'</platformName>
        </font>    
    </mapping>
    <mapping platform="Windows">
        <font>
            <serverName>Arial</serverName>
            <platformName>Arial</platformName>
        </font>
        <font>
            <serverName>default</serverName>
            <platformName>Arial</platformName>
        </font>
    </mapping>
</fontmappings>