Click OK. The Paper Layout view should now be able to read the boundary.

11-2 Publishing Reports to the Web with Oracle Reports Services

11.2 PDF Features Included in Oracle Reports

Oracle Reports supports PDF 1.4 and is capable of generating high fidelity PDF reports on all platforms. The PDF features supported by Oracle Reports include: ■ Compression ■ Font-Related Features ■ Precedence of Execution ■ Encryption, Password Protection, and Permissions Security ■ Accessibility ■ Taxonomy ■ Graph Support

11.2.1 Compression

PDF compression decreases the PDF file size, thereby reducing the time spent in downloading the PDF file. The amount of space saved using compression varies based on the contents of the report, for example, the number of images versus the size of the content. ■ Images : PDF compression does not significantly affect the size of files containing images in it, as image files are typically already compressed. ■ Formatted data : Highly formatted data can achieve higher compression rates. However, actual compression rates will vary for each report. Compressed files are about one fifth the size of the original file. Testing has shown that the best case compression ratio of one-eighth to the worst case compression ratio of one-half was achieved based on the contents in the original file. Support for all character sets in PDF. With the new font model, no misalignment will be seen in the PDF subsetted report output. Support for Unicode font subsetting in PDF on UNIX. Only multibyte reports supported. PFM and PFA files must be created to resolve text misalignments in UNIX output. Dependence on AFM files. Variable width font output was especially problematic, because Reports was unable to get width of characters beyond the first 256 characters in the file, and assumed fixed width for all these characters, resulting in misalignment. Simplified font management and configuration through Oracle Enterprise Manager. Use Oracle Enterprise Manager to modify aliasing and subsetting entries in uifont.ali such as global aliasing, PDF aliasing, and PDF subsetting. Defalut Resolution, and Default Font to modify the PPD file. Configure fonts in uifont.ali and configuration files. PDF, password protection, and security. Specify new command line arguments to password-protect PDF reports generated from Oracle Reports. You can also suppress certain permissions to provide security for the generated PDF reports. No capability to encrypt PDF reports or specify security permissions. Font diagnostics. Easy to understand tracing for diagnosis of font issues. Reporting of fonts used, and other debugging tools. Difficult to diagnose issues. Table 11–1 Cont. 11g Font Features vs. 10g Functionality 11g New Features Equivalent 10g Functionality Using PDF in Oracle Reports 11-3

11.2.1.1 Setup

By default, PDF output generated by Oracle Reports is compressed. To specify the level of compression, use PDFCOMP on the command line. For more information, see Section A.7.24, PDFCOMP . Although compressed files download quickly, the time taken to generate a compressed file is much more when compared to a non-compressed file. Figure 11–1 Compressed Output Versus Non-Compressed Output

11.2.2 Font-Related Features

This section outlines the PDF font-related features supported by Oracle Reports: ■ Font Aliasing ■ Font Subsetting ■ Font Embedding ■ Font Feature Summary

11.2.2.1 Font Aliasing

Font aliasing enables you to substitute one font for another; that is, font-to-font substitution. This font-to-font substitution is usually used when porting applications in this case, your PDF file across platforms. You can alias multibyte fonts as well as character sets. For font aliasing considerations when designing multilingual applications, see Section 23.2.1.3.2, Font Aliasing Considerations . The font enhancements introduced in Oracle Reports 11g Release 1 11.1.1 make font aliasing unnecessary in almost all cases. In prior releases, a report may have been created with fonts that are readily available on Windows, but not on UNIX for example, Arial font. In such cases, it was necessary to alias the Windows fonts to other fonts with a similar style available on UNIX for example, Helvetica. Now, with support for TTF and TTC files on UNIX, a font such as Arial is supported on both Windows and UNIX, eliminating the need for aliasing. Font aliasing occurs at the time of generating the PDF file. The PDF file will contain only the necessary font information required to display the output. The fonts used will not be embedded in the PDF file. At the time of viewing the report, Adobe Acrobat replaces the aliased fonts based on the following: Note: Compression rate depends on the reports content; thus, the time taken to generate the PDF file as well as the PDF file size will vary from report to report. Note: The fonts must be available on the machine displaying the PDF output. The fonts need not be available on the machine generating the PDF file. 11-4 Publishing Reports to the Web with Oracle Reports Services 1. If the fonts do not exist on the machine displaying the output, Adobe Acrobat substitutes it with the Adobe Sans MM font. 2. If the Adobe Sans MM font does not match, the output may display dots for the data. Font aliasing will work with any or all of the following: ■ Single byte fonts, including Eastern European fonts for both ASCII and IS0-Latin character sets. ■ Adobe multibyte Character ID CID fonts listed in Table 11–2 , which are available as a free download from Adobe. ■ Type1 PostScript fonts. ■ TrueType fonts. Table 11–2 outlines the mapping between Oracle NLS_CHARACTERSET, CMap name, and CID font name used in PDF font aliasing for multibyte fonts. These fonts are available in Adobe Acrobat Reader 5.0 and later. These fonts are available in Adobe Acrobat Reader 4.0 and later. It is recommended that you use Version 5.0 CID fonts in order to avoid unexpected font mapping, which results in multibyte characters overlapping. Version 5.0 fonts are compatible with Adobe Acrobat Reader 5.0 and later.

11.2.2.1.1 Setup

If font aliasing is necessary, use Oracle Enterprise Manager to define the aliasing, instead of directly editing the uifont.ali file as in prior releases. For information about using Oracle Enterprise Manager for font configuration, see Section 7.9.1, Configuring Fonts . For more information about the uifont.ali file, refer to uifont.ali in Section 9.3, Font Configuration Files :

11.2.2.1.2 Troubleshooting

If font aliasing does not work, verify that: Table 11–2 CID Font Mapping for PDF Font Aliasing Language Oracle NLS_CHARACTERSET Name CMap Name CID Font Name Japanese JA16SJIS JA16EUC 90ms-RKSJ-H EUC-H KozMinPro-Regular-Acro HeiseiKakuGo-W5-Acro HeiseiMin-W3-Acro Korean KO16KSC5601 K016MSWIN949 KSC-EUC-H KSCms-UHC-H HYSMyeongJoStd-Medium-Acro HYGothic-Medium-Acro HYSMyeongJo-Medium-Acro Traditional Chinese ZHT32EUC ZHT16BIG5, ZHT16MSWIN950 ZHT16HKSCS CNS-EUC-H ETen-B5-H HKscs-B5-H MSungStd-Light-Acro MHei-Medium-Acro MSung-Light-Acro MSungStd-Light-Acro Simplified Chinese ZHS16CGB231280 ZHS16GBK GB-EUC-H GBK-EUC-H STSongStd-Light-Acro STSong-Light-Acro