"BO" adds a custom font to the Webi report

Source: Internet
Author: User

This article explains how to add fonts to the Web Intelligence Report component of SAP Business objects. Because the system default preset font is too ugly for Chinese, some font special meow directly to the Chinese into square box!

First, the system environment:

SAP businessobjects Business Intelligence (BI) 4.x

Windows server2008r2

Sample font: Microsoft Black

Second, the Operation procedure

1, first to ensure that "Microsoft ya Black" font has been installed in the Windows system ("Installation" refers to: TTF files are stored in this directory: [OS install drive]\windows\fonts)

In this example, the file name and suffix of "Microsoft Jas" are: Msyh.ttf (normal), Msyhbd.ttf (bold)

This font needs to be installed on the server service side of Bo, and rich client fat clients who need access to the report will also install this font.

2, to ensure that the installation after the completion of the font can be used normally. Detection method: On the server side or client, open Office Word 20XX (or Notepad), hit a few Chinese characters + English characters + numbers, and then modify its format as "Microsoft Jas Black" to see if the font changes to the style we expect.

3. On the BO Server service side, edit open located in [install Directory]\sap businessobjects\sap businessobjects Enterprise XI 4.0\win64_x64\fonts\ The Fontalias.xml file under the directory.

4. Add the following code:

<FONTNAME= "msyahei">  <FONTFAMILYPLATFORM= "TTF"NAME= "msyahei">    <FontattributeBOLD= "false"ITALIC= "false"LOGICAL= "msyahei"Physical= "msyh.ttf"/>    <FontattributeBOLD= "true"ITALIC= "false"LOGICAL= "msyahei Bold"Physical= "msyhbd.ttf"/>  </FONTFAMILY>  <FONTFAMILYPLATFORM= "Win"NAME= "msyahei"/>  <FONTFAMILYPLATFORM= "Java"NAME= "Msyahei, Arial, ' Times New Roman '"/>  <FONTFAMILYPLATFORM= "html"NAME= "Msyahei, Arial, ' Times New Roman '"/></FONT>

Attention:

Msyahei is the display name that we want to display in the Font format drop-down list;

Just modify the part of the code that already has a yellow background for what we need.

5. Repeat steps 3 and 4, edit open located in [install Directory]\sap businessobjects\sap businessobjects Enterprise XI 4.0\win32_x86\fonts\ The Fontalias.xml file under the directory is also added to the code above.

6, repeat step 5, in the rich client system that requires access to the Webi report, edit opens the [install Directory]\sap BUSINESSOBJECTS\SAP businessobjects Enterprise The Fontalias.xml file under the XI 4.0\win32_x86\fonts\ directory.

7. Bo Service End multiplicity the Tomcat service and Intelligence processing Server service, the FAT client needs to exit completely and then reopen.

After the service started, once again into the Webi, randomly select a cell, edit the format, the Font drop-down list of one of our expected "Microsoft Ya Black" come out!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.