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.

Generating a Multibyte PDF File<br />

1. Set NLS_LANG=ARABIC_EGYPT.AR8MSWIN1256 (or AR8ISO8859P6 on UNIX)<br />

2. Set REPORTS_PATH <strong>to</strong> <strong>the</strong> font direc<strong>to</strong>ry in which <strong>the</strong> TrueType font exists. For<br />

example, C:\WINNT\Fonts.<br />

3. Open <strong>the</strong> uifont.ali file and edit <strong>the</strong> [PDF:Subset] section <strong>to</strong> specify <strong>the</strong><br />

TrueType font name.<br />

Example<br />

[PDF:Subset]<br />

"Andale Duospace WT J" = "Aduoj.ttf"<br />

"Albany WT J"="AlbanWTJ.ttf"<br />

4. Create a report having Arabic data and set it <strong>to</strong> <strong>the</strong> font specified in <strong>the</strong> example.<br />

5. Run a report with DESTYPE=FILE DESFORMAT=PDF.<br />

6.5 Generating a Multibyte PDF File<br />

This section outlines <strong>the</strong> steps involved in generating a PDF file with multibyte fonts.<br />

Figure 6–5 outlines <strong>the</strong> mapping table between <strong>Oracle</strong> NLS_CHARACTERSET, CMap<br />

name, and its CID font name used in aliasing pdf.<br />

Figure 6–5 CID Font Mapping for Aliasing PDF<br />

6.5.1 Font Aliasing<br />

Note: The uifont.ali file is located in:<br />

■ ORACLE_HOME\<strong>to</strong>ols\common90 (Windows)<br />

■ ORACLE_HOME/guicommon9/tk90/admin (UNIX)<br />

(*) Those fonts are available Adobe in Acrobat Reader Version 5<br />

(**) Those fonts are available Adobe in Acrobat Reader Version 4<br />

It is recommended that you use Version 5 CIDFonts(*) with Acrobat Reader 5.0 in<br />

order <strong>to</strong> avoid unexpected font mapping, which results in multibyte characters<br />

overlapping.<br />

The steps involved in generating a PDF file for multibyte fonts using <strong>the</strong> font aliasing<br />

feature are as follows:<br />

6-18 <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!