Skip Headers
Oracle® Fusion Middleware Publishing Reports to the Web with Oracle Reports Services
11g Release 1 (11.1.1)

Part Number B32121-06
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Master Index
Master Index
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
PDF · Mobi · ePub

11.4 Generating a Bidirectional (BiDi) PDF File

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:

  1. REPORTS_BIDI_ALGORITHM

    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.

  2. REPORTS_ARABIC_NUMERAL

    This environment variable specifies the numeric format for Arabic PDF output.

11.4.1 Font Subsetting

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:

  1. Set NLS_LANG=ARABIC_EGYPT.AR8MSWIN1256 (or AR8ISO8859P6 on UNIX).

  2. Set REPORTS_PATH to the font directory in which the TrueType font exists. For example, C:\WINNT\fonts.

  3. 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"
    
  4. Create a report having Arabic data and set it to the font specified in the example.

  5. Run a report with DESTYPE=FILE DESFORMAT=PDF.