Está en la página 1de 6

Subject: How to Generate an Arabic PDF File with Oracle Reports 9i and Above Doc ID: 212560.

1 Type: HOWTO Modified Date : 06-NOV-2008 Status: PUBLISHED


"Checked for relevance on 06-Nov-2008"

goal: fact: fact: fact: fact:

How to Generate Arabic PDF Reports with Oracle Reports 9i MS Windows NT MS Windows 2000 Oracle Reports Developer 9i DESFORMAT=PDF

fix: 1. Set NLS_LANG=ARABIC_United Arab Emirates.AR8MSWIN1256 2. Set REPORTS_PATH to the system font directoy such as D:\WINNT\Fonts 3. Open uifont.ali under $ORACLE_HOME\tools\common90\, set the font alias entries at [PDF:Subset] section. These font name should be the one you are using in your report. Note: The entries are case sensitive thus file name and font name must match here [PDF:Subset] Arial..italic.Bold.. = "arialbi.ttf" Arial..italic... = "ariali.ttf" Arial...Bold.. = "arialbd.ttf" Arial = "arial.ttf" "Andale Duospace WT J" = "Aduoj.ttf" "Albany WT J"="AlbanWTJ.ttf" "Arabic Transparent"="artro.ttf" 4. Ensure that Default Printer Driver used is not an ASCII/Generic driver. Refer to Note 416804.1: PDF Output Changes Font Arial to DeviceFont10cpi 4. Run the report with DESTYPE=FILE and DESFORMAT=PDF References: Note 115234.1: Generating Arabic PDF with Oracle Reports prior to 9i Note 416804.1: PDF Output Changes Font Arial to DeviceFont10cpi 2. Make sure to set the environment variables for the Report Server - Set REPORTS_PATH to the system font directoy such as D:\WINNT\Fonts - NLS_LANG=ARABIC_UNITED ARAB EMIRATES.AR8MSWIN1256 . 3. Open uifont.ali under ORACLE_HOME\tools\common\, set the font alias entries at [PDF:Subset] section.

[ PDF:Subset ] . "Arabic Transparent"...Bold.. = "artrbdo.ttf" "Arabic Transparent"..... = "artro.ttf" Arial..Italic.Bold.. = "ARIALBI.TTF" Arial...Bold.. = "ARIALBD.TTF" Arial..Italic... = "ARIALI.TTF" Arial..... = "ARIAL.TTF" "Simplified Arabic"...Bold.. = "simpbdo.ttf" "Simplified Arabic"..... = "simpo.ttf" "Times New Roman"..Italic.Bold.. = "TIMESBI.TTF" "Times New Roman"...Bold.. = "TIMESBD.TTF" "Times New Roman"..Italic... = "TIMESI.TTF" "Times New Roman"..... = "TIMES.TTF" "Traditional Arabic"...Bold.. = "tradbdo.ttf" "Traditional Arabic"..... = "trado.ttf"

Subject: Checklist to Display Arabic Reports PDF Correctly Doc ID: 253226.1 Type: HOWTO Modified Date : 03-AUG-2007 Status: ARCHIVED

goal: Checklist to Display Arabic Reports PDF Correctly fact: Arabic PDF Output fact: Oracle Reports Developer 9i

fix: 1. Make sure you have one uifont.ali file and Environment is pointing correctly to this file: Windows Registry TK90=$ORACLE_HOME\tools\common90 UNIX ENV Variable XENVIRONMENT=$ORACLE_HOME/guicommon9/tk90/admin/Tk2Motif.rgb; export XENVIRONMENT 2. Set the ENV Variable TK90_FONTALIAS Windows Registry TK90_FONTALIAS=$ORACLE_HOME\tools\common90 UNIX ENV Variable TK90_FONTALIAS=$ORACLE_HOME/guicommon9/tk90/admin/; export TK90_FONTALIAS 3. Make sure you have the font used by Reports Aliasing in the uifont.ali, here is a long list of the main fonts: [ PDF:Subset ] Arial..italic.Bold.. = "arialbi.ttf" Arial..italic... = "ariali.ttf" Arial...Bold.. = "arialbd.ttf" Arial = "arial.ttf" "Andale Duospace WT J" = "Aduoj.ttf" "Albany WT J"="AlbanWTJ.ttf" "Arabic Transparent"="artro.ttf"

Andalus = andlso.ttf "Arabic Transparent"...Bold.. ="artrbdo.ttf" Courier...Bold.. = "courbd.ttf" Courier = "cour.ttf" "Courier New"..Italic.Bold.. = "courbi.ttf" "Courier New"...Bold.. = "courbd.ttf" "Courier New"..Italic... = "couri.ttf" "Courier New" = "cour.ttf" "Simplified Arabic"...Bold.. = "simpbdo.ttf" "Simplified Arabic" = "simpo.ttf" "Simplified Arabic Fixed" = "simpfxo.ttf" "Times New Roman"..Italic.Bold.. = "timesbi.ttf" "Times New Roman"...Bold.. = "timesbd.ttf" "Times New Roman"..Italic... = "timesi.ttf" "Times New Roman" = "times.ttf" "Traditional Arabic"...Bold.. = "tradbdo.ttf" "Traditional Arabic" = "trado.ttf" 4. If you still have a problem with the Arabic fonts use the first font in the Alias list i.e. Arial Font. 5. In Windows make sure Reports Server or iDS PC Arabic settings is Set: - On Windows Locale and Default Font set Arabic in Control Panel Regional Options 6. Make Sure that the Fonts files Path are included in the REPORTS_PATH. On Windows, include C:\WINNT\Fonts On UNIX, FTP the TTF files From Arabic Windows PC into a directory included in the REPORTS_PATH 7. If you are using UTF Character set Make sure you apply Minimum Patch 1 to your Reports Environment due to <Bug 2127495> Additional references: ===================== Note:261879.1 Configuration Script to add Common Windows Fonts to Unix 9i Reports Server Note:272063.1 Using Reports PDF Subsetting, Font Size and Styles Bold, Italic, Bold-Italic Are Ignored

Subject: Report With Arabic Characters Shows As Junk in PDF Doc ID: 316302.1 Type: PROBLEM Modified Date : 30-NOV-2007 Status: PUBLISHED In this Document
Symptoms Cause Solution References

Applies to:

Oracle Reports Developer - Version: 9.0.2 to 9.0.4 This problem can occur on any platform. Checked for relevance on 30-Nov-2007.

Symptoms

You have a report with Arabic characters. You are running the report on the web to PDF format and the Arabic characters are shown as junk. You have followed Note 212560.1 but the problem persists. Running the report to Paper Layout might display the Arabic characters correctly.

Cause

You will face this issue if your database Character Set does not support Arabic language. Your database Character Set might be WE8ISO8859P1 or WE8MSWIN1256, and in such cases, you will get this problem. You should use a database Character Set that supports Arabic language.

Solution
This note does not cover migration of existing database to the new database with the new Character Set.

Create a database with a Character Set that supports Arabic language (for example: AR8MSWIN1256). Re-create the necessary objects in the schema in the new database and insert data. Follow the suggestions in Note 212560.1. Run the report on the web to PDF format and the Arabic characters will be displayed correctly.

References
Note 212560.1 - How to Generate an Arabic PDF File with Oracle Reports 9i

Subject: Arabic Characters do not Display Correctly in PDF Format using Arabic Transparent Font or Simplified Arabic font Doc ID: 427521.1 Type: PROBLEM Modified Date : 09-SEP-2008 Status: PUBLISHED In this Document
Symptoms Cause Solution References

Applies to:

Oracle Reports Developer - Version: 10.1.2.0.2 This problem can occur on any platform.

Symptoms
When running a report with destination format of PDF, junk characters (small rectangles) are displayed when using the Arabic Transparent font or Simplified Arabic font.

Cause
Some fonts do not have all Glyphs, and Arabic Transparent is one of them.

Solution
Add the following two lines in the uifont.ali file "Arabic Transparent"="arial.ttf" "Arabic Transparent"...Bold.. ="arialbd.ttf" The Arabic Transparent font does not have all Glyphs, so you need to replace artro.ttf and artrbdo.ttf with the Arial font.

References
Bug 6145183 - PDF SUBSETTING IS NOT WORKING WITH SOME SPECIFIC ARABIC FONTS Note 212560.1 - How to Generate an Arabic PDF File with Oracle Reports 9i Note 253226.1 - Checklist to Display Arabic Reports PDF Correctly Note 316302.1 - Report With Arabic Characters Shows As Junk in PDF

Subject: Where To Set Environment Variables For Forms On The WEB? Doc ID: 266725.1 Type: HOWTO Modified Date : 06-JAN-2008 Status: PUBLISHED In this Document
Goal Solution References

Applies to:
Oracle Application Server 10g Enterprise Edition - Version: 1.0.2.2 to 10.1.2.0.2 Oracle Forms - Version: 6.0.8.13 to 10.1.2.0.2 Information in this document applies to any platform. Checked for relevance 06-Jan-2008

Goal

For an Oracle Forms application deployed in client-server mode or over the web (using Forms Server) environment variables such as FORMSxx_PATH are set: - in the operating system registry (MS Windows) or - in a shell script / at the command line on Unix platforms ( Linux, Solaris, HP, AIX etc) The Forms Listener Servlet architecture, introduced in Forms 6i patchset 4a and higher versions, has a different method of locating relevant environment variables. What is this method? Important Note: In Forms 6i configuring the Forms Listener Servlet is a manual and optional process. Refer to: Note 247136.1 Forms 6i Listener Servlet For Web Deployment of Forms in Oracle 9iAS Rel 1 For Forms 9.x or higher in all cases the Forms Listener Servlet architecture will be used.

Solution
Forms 9i / 10g reads environment variables from a text file pointed to by the Forms applet ( formsweb.cfg ) parameter envFile e.g envFile = default.env A default.env file is supplied as part of the 'out of the box' install/ configuration. This file is located in $ORACLE_HOME/forms90/server or $ORACLE_HOME/forms/server . Edit default.env, for example, to add new environment variables or amend existing variables like FORMSXX_PATH. Useful References: Note 221521.1 Basic Configuration Files Needed for Deploying Oracle9i Forms Applications Note 253736.1 How to Deploy Oracle 9iAS Forms 9i Services In Different Languages? Note 235660.1 Implementing a Production and Development Environment on One System Using Forms Listener Servlet Architecture

References
Note 219473.1 - How to Run FormsServlet with Different Formsweb.cfg files and for Restricting User Access Note 221521.1 - Basic Configuration Files Needed for Deploying Forms Services 10g (9.0.4) / 10g Release2 (10.1.2) Note 235660.1 - Implementing a Production and Development Environment on One System Using Forms Listener Servlet Architecture Note 253736.1 - How to Deploy Oracle 9iAS Forms 9i Services In Different Languages?

También podría gustarte