01.02.2013 Views

Publishing Reports to the Web - Downloads - Oracle

Publishing Reports to the Web - Downloads - Oracle

Publishing Reports to the Web - Downloads - Oracle

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Troubleshooting Font Issues<br />

4.4.4 Font Aliasing File Verification<br />

fontchk90 is used <strong>to</strong> verify whe<strong>the</strong>r <strong>the</strong> uifont.ali file is correct and can be found<br />

in <strong>the</strong> ORACLE_HOME/bin direc<strong>to</strong>ry. It is always advisable <strong>to</strong> run this utility on <strong>the</strong><br />

modified uifont.ali file <strong>to</strong> catch any errors:<br />

fontchk90 [filename]<br />

where filename is <strong>the</strong> name of <strong>the</strong> uifont.ali file. If you don't specify any file<br />

name, it will check <strong>the</strong> default file based on <strong>the</strong> environment variables.<br />

If <strong>the</strong> alias file has errors, <strong>the</strong> utility returns an error message along with <strong>the</strong> file on<br />

which <strong>the</strong> error was found. For example:<br />

Parsing font alias file "/home/oracle/guicommon9/tk90/admin/uifont.ali"<br />

Ms san serif<br />

Error at line 85: Invalid font specification<br />

Parse of font alias file failed<br />

The above error indicates that <strong>the</strong>re is a syntax error in uifont.ali in <strong>the</strong> mapping<br />

rule for MS San Serif font on line 85.<br />

4.5 Troubleshooting Font Issues<br />

See Also: Chapter 6, "Using PDF in <strong>Oracle</strong> <strong>Reports</strong>"<br />

For more information on <strong>the</strong> various sections in <strong>the</strong> uifont.ali<br />

file.<br />

How <strong>to</strong> check whe<strong>the</strong>r <strong>the</strong> desired font is used in a PostScript file:<br />

PostScript files have a list of fonts, which is created after reading <strong>the</strong> PPD file. If you<br />

examine <strong>the</strong> PostScript file, you can check <strong>the</strong> fonts by looking for <strong>the</strong> following tags:<br />

■ DocumentNeededResource has <strong>the</strong> list of fonts referenced in <strong>the</strong> PPD file.<br />

■ DocumentSuppliedResource has <strong>the</strong> list of fonts for which <strong>the</strong> PostScript<br />

driver was able <strong>to</strong> find <strong>the</strong> AFM file.<br />

■ %%Page paragraph before <strong>the</strong> field’s %IncludeResource:font has <strong>the</strong> font<br />

name which will be used for <strong>the</strong> field.<br />

For PCL output files, you can check whe<strong>the</strong>r a particular font was used or not.<br />

Depending on this information <strong>the</strong> font settings in <strong>Oracle</strong> <strong>Reports</strong> or <strong>the</strong> printer can be<br />

modified.<br />

Example:<br />

The test results below are based on a Lexmark Optra printer. The fonts and <strong>the</strong>ir<br />

numbers as well as <strong>the</strong> control commands are examples and may vary with o<strong>the</strong>r<br />

printers.<br />

Font info The Lexmark has a small menu with <strong>the</strong> option of printing all available<br />

fonts (PCL Emulation Fonts). This includes both resident fonts (defaults) and Flash<br />

fonts (installed on <strong>the</strong> printer separately)<br />

4-16 <strong>Oracle</strong> Application Server <strong>Reports</strong> Services <strong>Publishing</strong> <strong>Reports</strong> <strong>to</strong> <strong>the</strong> <strong>Web</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!