Development platform Fixing Font-Related Issues

12-10 Publishing Reports to the Web with Oracle Reports Services 5. Ensure that the fonts used in your report are not aliased. For example, edit the uifont.ali file and comment the entries in the [Global] section, where Arial and Courier New are aliased to Helvetica and Courier, respectively. [ Global ] Put mappings for all surfaces here. Mapping from MS Windows Arial = helvetica Courier New = courier This ensures that Arial and Courier New are not aliased to any other font. 6. Run the report. http:mywebserver.com:reportsrwservlet?server=myserver+report=homemyreport stest.rdf+authid=hrhrmydb+desformat=htmlcss+destype=cache The HTMLCSS output of your report will look exactly the same as the one generated on Windows.

12.4.2.1 Troubleshooting Information

If you encounter deployment issues, review the following troubleshooting information: ■ If you do not get the correct fonts in the HTMLCSS 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 10, Printing on UNIX with Oracle Reports for more information on DEBUG_SLFIND. Note: The uifont.ali file is located in the following directory on Windows and UNIX: ■ On windows: ORACLE_ INSTANCE\config\FRComponent\frcommon\tools\common ■ On UNIX: ORACLE_ INSTANCEconfigFRComponentfrcommonguicommontk admin Use font aliasing only if you are unable to generate the AFM file for a particular font. You can then alias the missing font to the closest match. The fonts must be made available on the machine displaying the report output and not necessarily on the machine generating the report output.