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.

Figure 6–3 Font Embedding<br />

6.1.2.3.2 Troubleshooting<br />

If PDF font embedding does not work, verify <strong>the</strong> following:<br />

PDF Features Included in <strong>Oracle</strong> <strong>Reports</strong><br />

■ In Acrobat Reader, click File > Document Properties > Fonts. Verify that <strong>the</strong><br />

embedded font has been added <strong>to</strong> <strong>the</strong> list. If <strong>the</strong> font has not been added, <strong>the</strong>n font<br />

embedding did not occur. The problem could be ei<strong>the</strong>r that <strong>the</strong> fonts were not<br />

found or <strong>the</strong> entry in <strong>the</strong> uifont.ali file is incorrect.<br />

■ The correct font file name is used.<br />

■ The font path specified in <strong>the</strong> REPORTS_PATH environment variable is correct.<br />

When generating <strong>the</strong> PDF file, <strong>Oracle</strong> <strong>Reports</strong> looks for fonts in <strong>the</strong> paths specified<br />

in <strong>the</strong> REPORTS_PATH environment variable.<br />

■ The font type is a Type1 font.<br />

■ The font name is enclosed within double quotes if it consists of 2 or more words.<br />

■ The [PDF:Embed] section name in <strong>the</strong> uifont.ali file has not been modified.<br />

<strong>Oracle</strong> <strong>Reports</strong> parses <strong>the</strong> file looking for <strong>the</strong> section name.<br />

■ The format <strong>to</strong> specify <strong>the</strong> embedded font is valid<br />

Font Name="fontfilename.pfm/.afm file fontfilename.pfb/.pfa file".<br />

For example (Windows):<br />

U<strong>to</strong>piaMediumItalic = "U<strong>to</strong>piaMediumItalic.pfm U<strong>to</strong>piaMediumItalic.pfb"<br />

■ The font name is correct and available on <strong>the</strong> machine where <strong>the</strong> PDF file is<br />

generated.<br />

6.1.3 Precedence of Execution<br />

The precedence order for <strong>the</strong> same font in multiple places within <strong>the</strong> uifont.ali<br />

file is as follows:<br />

1. Font aliasing takes precedence over font embedding (highest)<br />

2. Font embedding takes precedence over font subsetting (intermediate)<br />

3. Font subsetting takes no precedence (lowest)<br />

For example, if you have included <strong>the</strong> same font entries for both font embedding and<br />

font subsetting, <strong>the</strong>n font embedding will override font subsetting. This is assuming<br />

you have not set <strong>the</strong> command line option of PDFEMBED=NO.<br />

For all font features —font aliasing, font subsetting, and font embedding—include <strong>the</strong><br />

specific entries first followed by <strong>the</strong> generic entries. For example, if you want <strong>to</strong> subset<br />

Using PDF in <strong>Oracle</strong> <strong>Reports</strong> 6-9

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

Saved successfully!

Ooh no, something went wrong!