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 11-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
.
See Also:
This environment variable specifies the numeric format for Arabic PDF output.
See Also:
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:
The uifont.ali
file is located in the following directory on Windows and UNIX:
ORACLE_INSTANCE
\config\FRComponent\
frcommon\guicommon\tk\admin
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
.