الانتقال إلى المحتوى

أوراكل Bug : تقارير Pdf العربيه باستخدام الأصدار Fmw 11G R2


mojtaba

Recommended Posts

سلام

وددت ان اشارككم هذه المشكلة والتى لم تنشر أوراكل اى patch لها حتى الان ربما لحداثة تجربتها او حتى لرايهم بانها تتعلق بنظام التشغيل او حتى بال pdf printer driver

والمشكلة هى ان تقارير ال PDF التى تم إنشاءها بالصادار FMW 11g R2 ( الأصدار الثانى وليس الأول ) على نظام التشغيل وندوز سيرفر 2008 r2 وعلى الرغم من القيام بجميع
خطوات دعم اللغة العربية المتمثلة فى

1- اضافة مسار خطوط النظام وندوز الى القيمة REPORTS_PATH بالريجسترى
2- اضافة الخطوط المراد العمل بها بالملف UIFONT.ALI
3- استخدام الخطوط التى تم اضافتها سابقا فى تصميم التقرير
4- التاكد من ان الطابعة ال DEFAULT بالنظام ليست ASCII بل POSTSCRIPT PRINTER



على الرغم من ذلك فانت التقارير ستظهر كمربعات او مستطيلات صغيره , هذا بالغم من ظهور اللغة جيداً اذا قمنا بتغيير التقرير الى HTMLCSS>

طبعا اود التنبيه بان المشكلة تظهر حين اعتماد ال inProcess سيرفر وليس ال External report server ...

,وبما أن المشكلة ليست جديده على اوراكل فقد تم مناقشتها فى الاصدار 9I وذكرت الشركة ان المشكة فى خط ال SIMPLIFIED ARABIC وليست فى تقارير اوراكل
فالمشكلة تتكرر الان وليس لخط واحد بل لكل الخطوط العربيه ....

سارفق ماذكرته اوراكل سابقا بالأسفل , وارجو ممكن لديه تجربه حول الموضوع مدنا بما لديه .

تذكير : الموضوع يخص الأصدار الجديد من الفورم والريبورت وليس الأصدار الاول . 11.1.2 وطبعا ليعمل يبج استخدام أوراكل WEBLOGIC 10.3.5
تحياتى


ماذكر سابقا :

--------------------------------------------------------------------------------------------------------------------------------------------------------------------

Bug 6145183: PDF SUBSETTING IS NOT WORKING WITH SOME SPECIFIC ARABIC FONTS
Bug Attributes
Type B - Defect Fixed in Product Version - Severity 2 - Severe Loss of Service Product Version 10.1.2.0.2 Status 92 - Closed, Not a Bug Platform 912 - Microsoft Windows (32-bit) Created 21-Jun-2007 Platform Version - Updated 14-Jan-2008 Base Bug - Database Version 9.2 Affects Platforms Generic Product Source Oracle
Related Products
Line Middleware Family Developer Tools Area Database & PLSQL Product 159 - Oracle Reports Developer
Hdr: 6145183 9.2 RWSERVER 10.1.2.0.2 OTHER PRODID-159 PORTID-912
Abstract: PDF SUBSETTING IS NOT WORKING WITH SOME SPECIFIC ARABIC FONTS

*** 06/21/07 05:57 am ***
TAR number
=========
ITS SR 6297705.994

Detailed Problem Description
====================
The PDF subsetting is not working for some specific Arabic Fonts like:
- Arabic Transparent
- Simplified Arabic
Some of the letters are shown as rectangles/squares for the PDF output
report.
The same report is working fine in Desformat=HTML or in Reports Builder with
Run Report Paper Layout


Installation
========
IDS with Forms 10.1.2.2.0 on Win XP

Connectivity
=========
Standard RDBMS connection with Forms.

JDK
===
N/A

Performance
=========
N/A

NLS information
============
N/A

Diagnostic Analysis
=============

Generic/Port-specific findings
====================
Did you test with the latest version?
Yes 10.1.2.2.0

Environment
=========
Platform Product+Version Format Reproduced?
---------- ---------------------- ----- -----------
MS Windows XP Rep. Server 10.1.2.0.2 PDF Yes
MS Windows XP Rep. Server 10.1.2.2.0 PDF Yes
MS Windows XP Rep. Server 10.1.2.2.0 HTML No
MS Windows XP Rep. Builder 10.1.2.2.0 No

Patches
======
None


Testcase with step-by-step instructions
==========================
I will upload a zip with three files:
- SQL_Script.txt = script to create & populate the table raed_emp;
(Database used with NLS_LANG AR8ISO8859P6 or AR8MSWIN1256)
- raed_emp.rdf = the source of the report
- raed_emp.pdf = the PDF output of the report

1. Run the script "SQL_Script.txt" on the Database
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"

4. Run the report with an URL like:

sformat=PDF&userid=<scott/tiger@orcl>&report=raed_emp.rdf

Aditional information
=================
You can try this Database connection with scott/tiger.

(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.171.148.98)(PORT = 1521))
)
(CONNECT_DATA =
(SERVICE_NAME = DB10201)
)
)


Testcase location
============

Log/Config files
===========
N/A

Available workarounds
================
Map these Fonts to Arial.
Note 427521.1 - Arabic Characters do not Display Correctly in PDF Format
using Arabic Transparent Font


Related bugs
=========
Yes, Not found
*** 06/21/07 06:07 am *** (CHG: Sta->16)
*** 06/22/07 07:16 am ***
*** 06/22/07 07:16 am ***
*** 06/27/07 06:36 am *** (CHG: Sta->10)
*** 06/27/07 06:36 am ***
*** 07/03/07 12:35 am *** (CHG: Sta->16)
*** 07/03/07 12:35 am ***
*** 07/03/07 07:26 am *** (CHG: Sta->10)
*** 07/03/07 07:26 am ***
*** 07/04/07 03:17 am *** (CHG: Sta->16)
*** 07/04/07 03:17 am ***
*** 07/04/07 05:52 am ***
U+062A : Arabic Letter Teh
U+0628 : Arabic Letter Beh
U+0633 : Arabic Letter Seen
U+0641 : Arabic Letter Feh
U+0638 : Arabic Letter Zah
U+0648 : Arabic Letter Waw
U+0645 : Arabic Letter Meem
*** 07/06/07 09:16 am ***
*** 07/12/07 03:14 am *** (CHG: Sta->32)
*** 07/12/07 03:14 am ***
This is a problem with the Arabic Transparent font and not with Reports.
Each of the Arabic letters can have four shapes, called Initial, Medial,
Isolated and Final, depending on the position of the letter within the word.
The Arabic Transparent font is missing some of the shapes. You can see this
in the Windows Character Map tool.
For example, if you open the Arial Unicode font, and search for the letter
Zah,
you will find all 4 shapes. But in the Arabic Transparent font you will only
find the Isolated shape, the others are missing.
Closing this as not a bug.
*** 01/14/08 12:17 am *** (CHG: Sta->92)

رابط هذا التعليق
شارك

  • بعد 2 شهور...

بخادم التقارير 11 واجهت أنا نفس المشكلة وقمت بعمل التالي :


1- قبل أي حاجة زدت الرامات إلى 16 جيجا حيث أن الجهاز مات بعد تنزيل الـ(appserver)

2- بعد عمل (restart) شغلت الكونسل عن طريق تشغيل الـ Start Weblogic Admin Server

3- تشغيل الـ(Start Weblogic Server - WLS_REPORTS)

4- الذهاب إلى صفحة الـ(em) عن طريق الـ(console)

تأكد أنه يجب أن تشغل الكونسل حيث أنه صفحة الأدمن الأساسية .


5- تحت مجلد التقارير بالـ(em) ستجد غالباً 3 خيارات 2 منها أساسية ، والثالثة تحتوي على إسم الجهاز ضمن إسم خادم التقارير .

إذهب عليه ومن ثم الزر اليمين (Administration) -- ثم (Basic Configuration) ثم أضف (Environemnt) جديد مثلاً سمه (AR) ثم أضف فيه متغيراتك الإفتراضية كـ(NLS) وخلافه .

تأكد من وضعك لمسار مجلد الخطوط ضمن الـ(reports_path) في (regedit)

6- قم بإختيار (AR) كالمتغير الإفتراضي للخادم الخاص بك وهو ليس (wls_reports) وإنما الخادم الذي فيه إسم جهازك .

7- مرة أخرى على نفس النود الزر اليمين (Administration) -- ثم إختار الآن (Forms/Reports Common Configuration) سيفتح لك شاشة مشابهه لملف (uifont.ali) ولكن بشكل مفهوم أكثر عدل هنا الـ(font-subsiting) لخطوطك .

8- ثم على نفس النود أعمل Restart

9- أضف إسم الخادم ضمن الـ(URL) مثلاً في حالتي أنا كان الرابط كالتالي :


http://192.168.1.8:8888/reports/rwservlet?SERVER=RptSvr_newappserver_asinst_1&module=e:\igb2.jsp&destype=cache&desformat=pdf&desname=c:\test01.pdf





وعشان تتأكد أنك تستخدم الـ(environemnt) اللي عرفتها ممكن تضيف كمان (env_id=AR)
لاحظ أنها case sencitive

آمل أن تتم حل مشكلتك



ملاحظة : إلى الآن لم تحل مشكلة الـ(Alignment, Justify, Flush) للنصوص العربية للأسف الشديد وتواصلت مع أوراكل وقالوا في حل عندهم ولكن لازم تفتح ميتالنك للأسف أنا ماعندي لو أحد عنده ويسعفنا بالحل أكون له من الشاكرين .


ويمكنكم التواصل على الخاص :

تحياتي ،،

إبراهيم بخش - المدينة المنورة
[email protected]

رابط هذا التعليق
شارك

  • بعد 3 أسابيع...

سلام

فى مناداتك قمت بأستعمال ال External Reports server وهذا لاتوجد به مشكله
SERVER=RptSvr_newappserver_asinst_1
المشكلة حين تستخدم ال In-process report server ولتجرب قم بازالة اسم ال External report server من سطر المناداة الذى قمت باستعمال وسيتم استخدام in-process والذى به المشكلة

شغل السطر التالى








وستجد ان الحروف العربية قد تغيرت الى أشكال ...

هذه هى المشكلة
رابط هذا التعليق
شارك


سلام

فى مناداتك قمت بأستعمال ال External Reports server وهذا لاتوجد به مشكله
SERVER=RptSvr_newappserver_asinst_1
المشكلة حين تستخدم ال In-process report server ولتجرب قم بازالة اسم ال External report server من سطر المناداة الذى قمت باستعمال وسيتم استخدام in-process والذى به المشكلة

شغل السطر التالى








وستجد ان الحروف العربية قد تغيرت الى أشكال ...

هذه هى المشكلة


صحيح
وحتى عند التعديل على جميع ملفات الـ uifont.ali الموجودة للأسف لا تعمل بشكل صحيح

هناك حل هو جعل الـ in-process server هو الإفتراضي بحيث يمكن إستخدامه ضمن المفاتيح الإفتراضية بالملف: cgicmd.dat
وليس هناك داعي لوضعه بالـurl كل مرة يتم التشغيل .

تحياتي ،،
رابط هذا التعليق
شارك

hi,
In case you still looking for a solution. I had the same problem and after following lots of documents, this one solved my problem.



On Windows Platform, the In-Process Reports Server Reads Uifont.ali From Incorrect Directory in Version 11g [iD 965582.1]

https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&id=965582.1


The solution is perfect. don't forget to restart your server after modifying the registry key.

Regards,
Ibrahim Ambusaidi

رابط هذا التعليق
شارك

السلام عليكم

اخواني الأعزاء

جرب التالي فهي تعمل عندي بنسبة 100 % :

first u will found uifont.ali for OFM at this paths:
Middleware_Home\as_1\frcommon\templates\tk\config,
Middleware_Home\asinst_1\config\FRComponent\frcommon\tools\COMMON,
Middleware_Home\asinst_1\config\FRComponent\frcommon\guicommon\tk\admin

change exist file to attached file and install attached font to windows fonts
change your NLS_LANG to Arabic Lang " u know how to do that"
add fonts path to Register - FORMS_PATH & REPORT_PATH if u don't found it there
add uifont.ali paths to Register - TK & UI

رابط هذا التعليق
شارك

  • بعد 9 شهور...
  • بعد 1 سنة...

سلام

 

وددت ان اشارككم هذه المشكلة والتى لم تنشر أوراكل اى patch لها حتى الان ربما لحداثة تجربتها او حتى لرايهم بانها تتعلق بنظام التشغيل او حتى بال pdf printer driver

 

والمشكلة هى ان تقارير ال PDF التى تم إنشاءها بالصادار FMW 11g R2 ( الأصدار الثانى وليس الأول ) على نظام التشغيل وندوز سيرفر 2008 r2 وعلى الرغم من القيام بجميع

خطوات دعم اللغة العربية المتمثلة فى

 

1- اضافة مسار خطوط النظام وندوز الى القيمة REPORTS_PATH بالريجسترى

2- اضافة الخطوط المراد العمل بها بالملف UIFONT.ALI

3- استخدام الخطوط التى تم اضافتها سابقا فى تصميم التقرير

4- التاكد من ان الطابعة ال DEFAULT بالنظام ليست ASCII بل POSTSCRIPT PRINTER

 

 

 

على الرغم من ذلك فانت التقارير ستظهر كمربعات او مستطيلات صغيره , هذا بالغم من ظهور اللغة جيداً اذا قمنا بتغيير التقرير الى HTMLCSS>

 

طبعا اود التنبيه بان المشكلة تظهر حين اعتماد ال inProcess سيرفر وليس ال External report server ...

 

,وبما أن المشكلة ليست جديده على اوراكل فقد تم مناقشتها فى الاصدار 9I وذكرت الشركة ان المشكة فى خط ال SIMPLIFIED ARABIC وليست فى تقارير اوراكل

فالمشكلة تتكرر الان وليس لخط واحد بل لكل الخطوط العربيه ....

 

سارفق ماذكرته اوراكل سابقا بالأسفل , وارجو ممكن لديه تجربه حول الموضوع مدنا بما لديه .

 

تذكير : الموضوع يخص الأصدار الجديد من الفورم والريبورت وليس الأصدار الاول . 11.1.2 وطبعا ليعمل يبج استخدام أوراكل WEBLOGIC 10.3.5

تحياتى

 

 

ماذكر سابقا :

 

--------------------------------------------------------------------------------------------------------------------------------------------------------------------

 

Bug 6145183: PDF SUBSETTING IS NOT WORKING WITH SOME SPECIFIC ARABIC FONTS

file:///G:/Documentss/Manuals/report_solution/pdf%20arabic%20character/article_files/collapse_white.png Bug Attributes

Type B - Defect Fixed in Product Version - Severity 2 - Severe Loss of Service Product Version 10.1.2.0.2 Status 92 - Closed, Not a Bug Platform 912 - Microsoft Windows (32-bit) Created 21-Jun-2007 Platform Version - Updated 14-Jan-2008 Base Bug - Database Version 9.2 Affects Platforms Generic Product Source Oracle

file:///G:/Documentss/Manuals/report_solution/pdf%20arabic%20character/article_files/collapse_white.png Related Products

Line Middleware Family Developer Tools Area Database & PLSQL Product 159 - Oracle Reports Developer

Hdr: 6145183 9.2 RWSERVER 10.1.2.0.2 OTHER PRODID-159 PORTID-912

Abstract: PDF SUBSETTING IS NOT WORKING WITH SOME SPECIFIC ARABIC FONTS

 

*** 06/21/07 05:57 am ***

TAR number

=========

ITS SR 6297705.994

 

Detailed Problem Description

====================

The PDF subsetting is not working for some specific Arabic Fonts like:

- Arabic Transparent

- Simplified Arabic

Some of the letters are shown as rectangles/squares for the PDF output

report.

The same report is working fine in Desformat=HTML or in Reports Builder with

Run Report Paper Layout

 

 

Installation

========

IDS with Forms 10.1.2.2.0 on Win XP

 

Connectivity

=========

Standard RDBMS connection with Forms.

 

JDK

===

N/A

 

Performance

=========

N/A

 

NLS information

============

N/A

 

Diagnostic Analysis

=============

 

Generic/Port-specific findings

====================

Did you test with the latest version?

Yes 10.1.2.2.0

 

Environment

=========

Platform Product+Version Format Reproduced?

---------- ---------------------- ----- -----------

MS Windows XP Rep. Server 10.1.2.0.2 PDF Yes

MS Windows XP Rep. Server 10.1.2.2.0 PDF Yes

MS Windows XP Rep. Server 10.1.2.2.0 HTML No

MS Windows XP Rep. Builder 10.1.2.2.0 No

 

Patches

======

None

 

 

Testcase with step-by-step instructions

==========================

I will upload a zip with three files:

- SQL_Script.txt = script to create & populate the table raed_emp;

(Database used with NLS_LANG AR8ISO8859P6 or AR8MSWIN1256)

- raed_emp.rdf = the source of the report

- raed_emp.pdf = the PDF output of the report

 

1. Run the script "SQL_Script.txt" on the Database

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"

 

4. Run the report with an URL like:

 

sformat=PDF&userid=<scott/tiger@orcl>&report=raed_emp.rdf

 

Aditional information

=================

You can try this Database connection with scott/tiger.

 

(DESCRIPTION =

(ADDRESS_LIST =

(ADDRESS = (PROTOCOL = TCP)(HOST = 10.171.148.98)(PORT = 1521))

)

(CONNECT_DATA =

(SERVICE_NAME = DB10201)

)

)

 

 

Testcase location

============

 

Log/Config files

===========

N/A

 

Available workarounds

================

Map these Fonts to Arial.

Note 427521.1 - Arabic Characters do not Display Correctly in PDF Format

using Arabic Transparent Font

 

 

Related bugs

=========

Yes, Not found

*** 06/21/07 06:07 am *** (CHG: Sta->16)

*** 06/22/07 07:16 am ***

*** 06/22/07 07:16 am ***

*** 06/27/07 06:36 am *** (CHG: Sta->10)

*** 06/27/07 06:36 am ***

*** 07/03/07 12:35 am *** (CHG: Sta->16)

*** 07/03/07 12:35 am ***

*** 07/03/07 07:26 am *** (CHG: Sta->10)

*** 07/03/07 07:26 am ***

*** 07/04/07 03:17 am *** (CHG: Sta->16)

*** 07/04/07 03:17 am ***

*** 07/04/07 05:52 am ***

U+062A : Arabic Letter Teh

U+0628 : Arabic Letter Beh

U+0633 : Arabic Letter Seen

U+0641 : Arabic Letter Feh

U+0638 : Arabic Letter Zah

U+0648 : Arabic Letter Waw

U+0645 : Arabic Letter Meem

*** 07/06/07 09:16 am ***

*** 07/12/07 03:14 am *** (CHG: Sta->32)

*** 07/12/07 03:14 am ***

This is a problem with the Arabic Transparent font and not with Reports.

Each of the Arabic letters can have four shapes, called Initial, Medial,

Isolated and Final, depending on the position of the letter within the word.

The Arabic Transparent font is missing some of the shapes. You can see this

in the Windows Character Map tool.

For example, if you open the Arial Unicode font, and search for the letter

Zah,

you will find all 4 shapes. But in the Arabic Transparent font you will only

find the Isolated shape, the others are missing.

Closing this as not a bug.

*** 01/14/08 12:17 am *** (CHG: Sta->92)

 

 

السلام عليكم 

 

كيف اتاكد من هذة النقطة 

 

 التاكد من ان الطابعة ال DEFAULT بالنظام ليست ASCII بل POSTSCRIPT PRINTER  

 

شكرا 

رابط هذا التعليق
شارك

  • بعد 3 سنة...

انضم إلى المناقشة

يمكنك المشاركة الآن والتسجيل لاحقاً. إذا كان لديك حساب, سجل دخولك الآن لتقوم بالمشاركة من خلال حسابك.

زائر
أضف رد على هذا الموضوع...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   تمت استعادة المحتوى السابق الخاص بك.   مسح المحرر

×   You cannot paste images directly. Upload or insert images from URL.

جاري التحميل
×
×
  • أضف...

برجاء الإنتباه

بإستخدامك للموقع فأنت تتعهد بالموافقة على هذه البنود: سياسة الخصوصية