Oracle® Fusion Middleware Publishing Reports to the Web with Oracle Reports Services 11g Release 1 (11.1.1) B32121-01 |
|
![]() Previous |
![]() Next |
This section outlines the steps involved in generating a PDF file for bidirectional (BiDi) languages. Before using the font features covered in this section, refer to Table 10-4 to determine which feature best suits your application needs.
Oracle Reports provides two environment variables that resolve font re-shaping and numeric options with bidirectional (BiDi) languages, such as Hebrew and Arabic. They are:
This environment variable switches the layout algorithm for bidirectional (BiDi) languages (for example, Arabic or Hebrew). The valid values for this environment variable are ORACLE, ENHANCED
or UNICODE
.
This environment variable specifies the numeric format for Arabic PDF output.
The following example assumes you are using Arabic environment. The steps involved in generating a PDF file for bidirectional (BiDi) languages using the font subsetting feature are as follows:
Set NLS_LANG=ARABIC_EGYPT.AR8MSWIN1256
(or AR8ISO8859P6
on UNIX).
Set REPORTS_PATH
to the font directory in which the TrueType font exists. For example, C:\WINNT\fonts
.
Open the uifont.ali
file and edit the [PDF:Subset]
section to specify the TrueType font name.
Note: Theuifont.ali file is located in the following directory on Windows and UNIX:
|
Example
[PDF:Subset] "Andale Duospace WT J" = "Aduoj.ttf" "Albany WT J"="AlbanWTJ.ttf"
Create a report having Arabic data and set it to the font specified in the example.
Run a report with DESTYPE=FILE DESFORMAT=PDF
.