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.5 Generating a Multibyte PDF File

This section outlines the steps involved in generating a PDF file with multibyte fonts. Before using the font features covered in this section, refer to Table 11-4 to determine which feature best suits your application needs.

In PDF font subsetting output, you may see a Wave Dash (U+301C) instead of a Fullwidth Tilde (U+FF5E). This is due to incompatibility in character mapping between Microsoft and other vendors. To avoid this issue, you can use either JA16SJISTILDE or JA16EUCTILDE character set for PDF font subsetting. This issue, however, is not observed with the PDF font aliasing feature.

11.5.1 Font Aliasing

Refer to Table 11-2 for a summary of mapping between Oracle NLS_CHARACTERSET, CMap name, and its CID font name used in PDF font aliasing for multibyte fonts.

The steps involved in generating a PDF file for multibyte fonts using font aliasing are as follows:

  1. Set NLS_LANG=JAPANESE_JAPAN.JA16SJIS (or JA16EUC on UNIX).

  2. Open the uifont.ali file located and set the font alias under the [PDF]section.

    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 ]
    .....JA16SJIS = "KozMinPro-Regular-Acro"
    "MS UI Gothic".....JA16SJIS = "KozMinPro-Regular-Acro"
    
  3. Create a report having Japanese data with the Japanese font (MS UI Gothic).

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

  5. If your Acrobat Reader is a non-Japanese version installed on a non-Japanese operating system, you must install the Japanese font pack from Adobe's site.

    If you view the PDF file with the Japanese version of Acrobat Reader 4.0/5.0 on the Japanese version of Windows, you need not install the Japanese font pack.

11.5.2 Font Subsetting

The steps involved in generating a PDF file for multibyte fonts using the font subsetting feature are as follows:

  1. Set NLS_LANG=JAPANESE_JAPAN.JA16SJIS (or JA16EUC on UNIX)

  2. Set the REPORTS_PATH environment 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"
    "MS UI Gothic" = "msgothic.ttc"
    
  4. Create a report having Japanese data and set it to the font specified in the example.

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