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.

Usage Notes<br />

Resolving PDF Font Issues During Cross-Platform Deployment<br />

■ On Windows, use <strong>the</strong> registry <strong>to</strong> specify <strong>the</strong> value. On Unix/Linux, set <strong>the</strong><br />

environment variable in reports.sh.<br />

■ Generating a high resolution chart will increase <strong>the</strong> PDF file size relatively and <strong>the</strong><br />

time taken <strong>to</strong> generate <strong>the</strong> PDF file/printer output.<br />

■ When you set a DPI value greater than 250 and your chart is bigger than 5"x5"<br />

(approximately), you may also need <strong>to</strong> change <strong>the</strong> JVM heap size value via<br />

REPORTS_JVM_OPTIONS <strong>to</strong> avoid <strong>the</strong> Out Of Memory error for <strong>the</strong> JVM. See<br />

REPORTS_JVM_OPTIONS, for more information on setting <strong>the</strong> JVM options<br />

■ To revert <strong>to</strong> <strong>the</strong> old behavior, set <strong>the</strong> value of this environment variable <strong>to</strong> 72 DPI.<br />

■ This variable is currently not supported in <strong>Oracle</strong> <strong>Reports</strong> distribution<br />

functionality as this is specific <strong>to</strong> PDF, PS, and printer outputs only.<br />

6.2 Resolving PDF Font Issues During Cross-Platform Deployment<br />

There are font and text alignment issues when you design a report (single byte or<br />

multibyte) on <strong>the</strong> Windows platform and deploy it on a UNIX platform. The reason is<br />

that <strong>the</strong> font handling and windowing system are completely different across <strong>the</strong> two<br />

platforms.<br />

6.2.1 Designing and Deploying <strong>the</strong> Report on <strong>the</strong> Same Platform<br />

Your report is designed and deployed on <strong>the</strong> same platform, e.g., Windows:<br />

■ There should be no font or text alignment issues in <strong>the</strong> PDF file.<br />

■ If <strong>the</strong> PDF file is generated with font subsetting enabled, <strong>the</strong>n <strong>the</strong> PDF file can be<br />

viewed in <strong>the</strong> same manner across platforms.<br />

6.2.2 Designing <strong>the</strong> Report on and Deploying it on UNIX<br />

Your report is designed on <strong>the</strong> Windows platform and deployed on <strong>the</strong> UNIX<br />

platform.<br />

(Windows) You use <strong>the</strong> TrueType fonts located in <strong>the</strong> Windows machine. <strong>Oracle</strong><br />

<strong>Reports</strong> queries <strong>the</strong> font information from <strong>the</strong> Windows system for formatting <strong>the</strong><br />

report.<br />

(UNIX) When this report is sent <strong>to</strong> PDF on Solaris or any o<strong>the</strong>r UNIX platforms, <strong>the</strong>re<br />

are two stages:<br />

1. <strong>Oracle</strong> <strong>Reports</strong> renders <strong>the</strong> font metrics information for <strong>the</strong> fonts and uses this<br />

information <strong>to</strong> format various objects in <strong>the</strong> report.<br />

Note: <strong>Oracle</strong> <strong>Reports</strong> renders <strong>the</strong> font metrics information from<br />

<strong>the</strong> AFM files mentioned in <strong>the</strong> printer’s PPD file.<br />

2. <strong>Oracle</strong> <strong>Reports</strong> <strong>the</strong>n looks for <strong>the</strong> entries in <strong>the</strong> [PDF] section of <strong>the</strong> uifont.ali<br />

file. For font subsetting, <strong>Oracle</strong> <strong>Reports</strong> refers <strong>to</strong> <strong>the</strong> [PDF: Subset] section and<br />

subsets <strong>the</strong> TrueType fonts from <strong>the</strong> given location. The subsetted fonts are <strong>the</strong>n<br />

embedded in <strong>the</strong> PDF file.<br />

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

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

Saved successfully!

Ooh no, something went wrong!