Frequently Asked Questions Generating Multibyte PDF Output

12-24 Publishing Reports to the Web with Oracle Reports Services Ensure that the PPDHPD file used contains an entry for each AFM or TFM file that you use in your report. PPDHPD files are configuration files containing printer driver settings and the list of all the fonts supported by the printer. Navigate to the to the Font Information section in the PPD file and add the necessary entries for the font files in the following format: FONTNAME:ENCODING:VERSION:LOCATION For example: Font Arial: Standard Version 2.76 Standard ROM Font CourierNew: Standard Version 2.76 Standard ROM Ensure that the AFM file name exactly matches the font name specified in the PPD file as Oracle Reports searches for this file based on the font name in the PPD file. 7. Ensure that the uiprint.txt has the entry for the appropriate PPD file. printer name:PostScript:2:test:ppd file In this example: printer1:PostScript:2:test:hpljet42.ppd 8. Edit the hpljet42.ppd file with any text editor. 9. Ensure that the PPDHPD file used contains an entry for each AFM or TFM file that you use in your report. Navigate to the Font Information section and add the necessary entries for the new AFM files in the following order: FONTNAME:ENCODING:VERSION:LOCATION For example: Font ArialUnicodeMS: Standard Version 2.76 Standard ROM 10. In the [PDF:Subset] section, add the following entries to subset the fonts used in your report. For example: [ PDF:Subset ] Arial Unicode MS = arialuni.ttf Use the PDF subsetting feature to generate multibyte PDF output from your reports and to ensure your PDF report is portable. Thus, there is not dependency on the machine deploying the report to have the fonts installed. 11. Run the report to PDF and view it. http:mywebserver.com:reportsrwservlet?server=myserver+report= homemyreportstest.rdf+authid=hrhrmydb+desformat=PDF+destype=cache Note: Copy the PPD file from ORACLE_ HOMEguicommontkadminPPD to the following location: ORACLE_ INSTANCEconfigFRComponentfrcommonguicommontkad minPPD Font Model and Cross-Platform Deployment 12-25 The PDF should contain the unicode font used in your report. For example, Arial Unicode MS.

12.7.2.1 Troubleshooting Information

If you encounter deployment issues, review the following troubleshooting information: ■ If you do not get the correct fonts in the PDF output, set the environment variable DEBUG_SLFIND to a log file name for example, debug.txt and run the report. The font files that are looked up while parsing the PPD file as well as the fonts used will be written to the log file debug.txt. Specifically, check for the following:

1. The PPD file that you modified should be picked up. If it is not picked up it is

a configuration issue. Refer to Chapter 9, Managing Fonts in Oracle Reports .

2. The AFM files that you have copied to AFM directory should be picked up

next. See Chapter 11, Using PDF in Oracle Reports for more information on DEBUG_ SLFIND.

12.7.3 Frequently Asked Questions