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 with multibyte fonts. Before using the font features covered in this section, refer to Table 10-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.
Refer to Table 10-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:
Set NLS_LANG=JAPANESE_JAPAN.JA16SJIS
(or JA16EUC
on UNIX).
Open the uifont.ali
file located and set the font alias under the [PDF]
section.
Note: Theuifont.ali file is located in the following directory on Windows and UNIX:
|
Example
[ PDF ] .....JA16SJIS = "KozMinPro-Regular-Acro" "MS UI Gothic".....JA16SJIS = "KozMinPro-Regular-Acro"
Create a report having Japanese data with the Japanese font (MS UI Gothic
).
Run a report with DESTYPE=FILE DESFORMAT=PDF
.
If your Acrobat Reader is a non-Japanese version installed on a non-Japanese operating system, you need to 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 do not need to install the Japanese font pack.
The steps involved in generating a PDF file for multibyte fonts using the font subsetting feature are as follows:
Set NLS_LANG=JAPANESE_JAPAN.JA16SJIS
(or JA16EUC
on UNIX)
Set the REPORTS_PATH
environment 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" "MS UI Gothic" = "msgothic.ttc"
Create a report having Japanese data and set it to the font specified in the example.
Run a report with DESTYPE=FILE DESFORMAT=PDF
.