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.

Table 4–5 (Cont.) Font mapping file sections<br />

Section name Description<br />

Display Only applies <strong>to</strong> <strong>the</strong> display (<strong>the</strong> screen).<br />

Display:Motif Applies only <strong>to</strong> <strong>the</strong> Motif display.<br />

Display:CM Applies only <strong>to</strong> character-mode display.<br />

PDF Used for font aliasing (from <strong>Oracle</strong> <strong>Reports</strong> 6i)<br />

and multibyte language support (from <strong>Oracle</strong><br />

<strong>Reports</strong>)<br />

PDF:Embed (<strong>Oracle</strong> <strong>Reports</strong> only) Used for Type 1 font<br />

embedding.<br />

PDF:Subset (<strong>Oracle</strong> <strong>Reports</strong> only)<br />

RWBUILDER (<strong>Oracle</strong> <strong>Reports</strong> only) Fonts for <strong>the</strong> <strong>Web</strong> source<br />

and PL/SQL edi<strong>to</strong>r can be mapped in this<br />

section.<br />

printer_name A section for a specific printer, such as:<br />

[Printer:PostScript1:2op813a]<br />

Note: In <strong>the</strong> <strong>Web</strong> Source view of <strong>the</strong> Report Edi<strong>to</strong>r, <strong>the</strong> following<br />

languages may appear garbled: Japanese, Thai, Arabic, and<br />

Hebrew. To work around this issue, you can set <strong>the</strong> font names for<br />

<strong>Reports</strong> Builder in uifont.ali as follows:<br />

[rwbuilder]<br />

.....ja16sjis="MS Gothic"<br />

.....ar8mswin1256="Courier New"<br />

Font Aliasing<br />

Order of precedence<br />

When aliasing a particular font, only one section is read based upon <strong>the</strong> context in<br />

which <strong>the</strong> font is used. Hence, if three sections apply, only one is read. For example,<br />

suppose you have three sections, [Printer], [Printer:PostScript], and<br />

[Printer:PostScript:2op813a]. When generating output, if <strong>the</strong> printer is<br />

2op813a, only <strong>the</strong> mapping rules in section [Printer:PostScript:2op813a] are<br />

read. For printers o<strong>the</strong>r than 2op813a, <strong>Oracle</strong> <strong>Reports</strong> would use <strong>the</strong><br />

[Printer:PostScript] section.<br />

The more specific sections of <strong>the</strong> alias file take precedence over <strong>the</strong> more general<br />

sections. For example, a specific printer section, such as<br />

[Printer:PostScript1:2op813a] would take precedence over <strong>the</strong><br />

[Printer:PostScript1] section, which would take precedence over <strong>the</strong><br />

[Printer] section, which would take precedence over <strong>the</strong> [Global] section.<br />

The uifont.ali file is <strong>the</strong> configuration file controlling all of <strong>the</strong> <strong>Oracle</strong> <strong>Reports</strong><br />

PDF font enhancements. It can be found in <strong>the</strong> ORACLE_HOME\<strong>to</strong>ols\common90<br />

(Windows) direc<strong>to</strong>ry and in <strong>the</strong> ORACLE_HOME/guicommon9/tk90/admin (UNIX)<br />

direc<strong>to</strong>ry. The uifont.ali file is text readable, i.e., you can edit it with a standard<br />

text edi<strong>to</strong>r. Exercise caution when editing <strong>the</strong> file. The uifont.ali file should be<br />

saved as a text file with no formatting or special characters that may corrupt <strong>the</strong> file.<br />

Managing Fonts in <strong>Oracle</strong> <strong>Reports</strong> 4-15

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

Saved successfully!

Ooh no, something went wrong!