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.

6.3.1 Font Subsetting<br />

Generating a BiDi PDF File<br />

The steps involved in generating a Unicode PDF file using <strong>the</strong> font subsetting feature<br />

are as follows:<br />

1. Set NLS_LANG=AMERICAN_AMERICA.UTF8.<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 />

The specified font should cover <strong>the</strong> Unicode range that your report uses.<br />

4. Create a report having MLS data and set its font <strong>to</strong> <strong>the</strong> Unicode font.<br />

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

6.4 Generating a BiDi PDF File<br />

6.4.1 Font Subsetting<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 />

This section outlines <strong>the</strong> steps involved in generating a PDF file for bidirectional (BiDi)<br />

languages.<br />

<strong>Oracle</strong> <strong>Reports</strong> provides two environment variables that resolve font re-shaping and<br />

numeric options with bidirectional (BiDi) languages, such as Hebrew and Arabic. They<br />

are:<br />

1. REPORTS_BIDI_ALGORITHM<br />

This environment variable switches <strong>the</strong> layout algorithm for bidirectional (BiDi)<br />

languages (for example, Arabic or Hebrew). The valid values for this environment<br />

variable are ORACLE or UNICODE.<br />

See Also: REPORTS_BIDI_ALGORITHM<br />

For more information on <strong>the</strong> environment variable.<br />

2. REPORTS_ARABIC_NUMERAL<br />

This environment variable specifies <strong>the</strong> numeric format for Arabic PDF output.<br />

See Also: REPORTS_ARABIC_NUMERAL<br />

For more information on <strong>the</strong> environment variable.<br />

The steps involved in generating a PDF file for bidirectional (BiDi) languages using <strong>the</strong><br />

font subsetting feature are as follows:<br />

Using PDF in <strong>Oracle</strong> <strong>Reports</strong> 6-17

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

Saved successfully!

Ooh no, something went wrong!