Frequently Asked Questions Generating HTMLCSS, RTF, or Web Output

12-14 Publishing Reports to the Web with Oracle Reports Services

3. Copy the Windows TTF files that you have used in your report to the fonts

directory on your UNIX machine. For example, ORACLE_ HOMEreportsfonts.

4. Add the path to the TTF files in the REPORTS_PATH environment variable. This

ensures that the font files can be referenced by Reports Runtime.

5. Edit the screenprinter.ppd file with any text editor.

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. Table 12–5 Post Conversion Font File Names Before Converting After Converting After Renaming arial.ttf arial.afm Arial cour.ttf cour.afm CourierNew Note: If you have defined a default printer by including an entry in ORACLE_HOMEguicommontkadminuiprint.txt, you must add the appropriate entries in the printers PPD file for a PostScript printer or in the HPD file for a PCL printer. Beginning with Oracle Reports 10g Release 1 9.0.4, if you have not set up a default printer: ■ A default printer surface that mimics the screen screenprinter.ppd is used for formatting. ■ You must add the necessary font and resolution entries in the screenprinter.ppd file. The PPD and HPD files are located at: ■ ORACLE_ INSTANCEconfigFRComponentfrcommonguicommontk admin ■ ORACLE_HOMEguicommontkadmin Oracle Reports searches for HPD or PPD files initially in the Oracle Instance location and then in the Oracle Home location. Refer to Section 10.8.1, ScreenPrinter for more information on the screenprinter.ppd file. Font Model and Cross-Platform Deployment 12-15 6. Copy the converted AFM files to the ORACLE_ HOMEguicommontkadminAFM directory. 7. Ensure that the uiprint.txt has the entry for the appropriate PPD file: printer name:PostScript:2:test:ppd file For 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 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 is the same as the font name given in the PPD file. Oracle Reports searches for this file based on the font name in the PPD file. 10. Ensure that the fonts used in your report are not aliased. For example, edit the uifont.ali and comment the entries in the [Global] section where Arial and Courier New are aliased, by default, to Helvetica and Courier respectively. [ Global ] Put mappings for all surfaces here. Mapping from MS Windows Arial = helvetica Courier New = courier Note: Copy the PPD file from ORALCE_ HOMEguicommontkadmin PPD to the following location: ORACLE_ INSTANCEconfigFRComponentfrcommonguicommontkad minPPD