01.02.2013 Views

Publishing Reports to the Web - Downloads - Oracle

Publishing Reports to the Web - Downloads - Oracle

Publishing Reports to the Web - Downloads - Oracle

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Adding Fonts<br />

4.2 Adding Fonts<br />

parameters. For non-Unicode environments, <strong>the</strong> font is obtained from <strong>the</strong> icon objects.<br />

You can change it by modifying <strong>the</strong> fonts via Display Property > Appearance. Select<br />

Icon from <strong>the</strong> drop down box and select <strong>the</strong> desired font name and size. For Japanese<br />

Unicode systems, <strong>the</strong> font is MS Gothic. For Korean, it’s MS Sans Serif. For simplified,<br />

traditional, and Hong Kong it’s Arial. For o<strong>the</strong>r languages, it’s Lucida Sans Unicode.<br />

You can also change <strong>the</strong> Windows <strong>to</strong>ol tip font by changing <strong>the</strong> icon font as described<br />

above. This change is not completely reflected across <strong>Reports</strong> Builder because some<br />

<strong>to</strong>ol tip fonts are taken from <strong>the</strong> resource file.<br />

In <strong>Oracle</strong> <strong>Reports</strong>, fonts for <strong>the</strong> <strong>Web</strong> Source view are selected by making an entry in<br />

<strong>the</strong> alias file under <strong>the</strong> [RWBUILDER] section. The entry required for this change should<br />

only be aliased <strong>to</strong> <strong>the</strong> character set and not <strong>to</strong> any specific font. For example, if you<br />

want <strong>to</strong> use Arial Unicode MS when NLS is set <strong>to</strong> UTF8, <strong>the</strong>n you should create an<br />

entry like this one:<br />

…..UTF8 = "Arial Unicode MS"…..<br />

Refer <strong>to</strong> Font Aliasing for more information.<br />

The supported styles are: Plain, Italic, Oblique, Underline, Outline, Shadow, Inverted,<br />

Overstrike, and Blink.<br />

The supported weights are: Ultralight, Extralight, Light, Demilight, Medium,<br />

Demibold, Bold, Extrabold, and Ultrabold.<br />

You should not use fonts with a weight of Regular because this weight is not<br />

supported and may cause <strong>Reports</strong> Builder <strong>to</strong> display undesirable results.<br />

In <strong>Oracle</strong> <strong>Reports</strong>, fonts can be added for use:<br />

■ At build time (in <strong>Reports</strong> Builder)<br />

■ At runtime (in <strong>the</strong> output)<br />

■ In <strong>the</strong> user interface<br />

4.2.1 Adding Fonts <strong>to</strong> <strong>Reports</strong> Builder<br />

To build a report in a certain font, <strong>the</strong> font must be available in <strong>Reports</strong> Builder from<br />

<strong>the</strong> font picker when you are designing <strong>the</strong> report. In order for <strong>the</strong> fonts <strong>to</strong> appear in<br />

<strong>the</strong> font picker, <strong>the</strong> fonts should be added <strong>to</strong> <strong>the</strong> system or <strong>the</strong> display on which<br />

<strong>Reports</strong> Builder is running. Please review your operating system documentation for<br />

adding fonts before attempting this procedure.<br />

To add Type1 fonts on UNIX:<br />

1. Get <strong>the</strong> font-related files from <strong>the</strong> vendor. These include <strong>the</strong> .pfb, .pfa, and <strong>the</strong><br />

AFM files.<br />

2. Convert <strong>the</strong> .pfb binary file <strong>to</strong> .pfa ASCII font using one of <strong>the</strong> available<br />

conver<strong>to</strong>rs. Typically, you can get such converters as shareware, e.g., t1ascii.<br />

3. Copy <strong>the</strong> .pfa files <strong>to</strong> <strong>the</strong> direc<strong>to</strong>ry where <strong>the</strong> fonts need <strong>to</strong> be installed following<br />

<strong>the</strong> instructions for our platform.<br />

4. Verify <strong>the</strong> installation of <strong>the</strong> fonts by entering <strong>the</strong> xlsfonts -u command. This<br />

command lists all <strong>the</strong> fonts that are available for that system.<br />

4-6 <strong>Oracle</strong> Application Server <strong>Reports</strong> Services <strong>Publishing</strong> <strong>Reports</strong> <strong>to</strong> <strong>the</strong> <strong>Web</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!