Skip to Main Content

Oracle Forms

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Forms 11g PDF Arabic characters

shachou1434Apr 28 2014 — edited Apr 30 2014

Hello,

I'm using Forms/Reports 11.1.2.2 on windows x64 and every thing gone fine.

But Arabic characters in reports doesn't show correctly in PDF reports although it is perfect in htmlcss mode.


Please help.


* The path to windows fonts is set in REPORTS_PATH

* The character set is set to AMERICAN_AMERICA.AR8MSWIN1256

* here is the contents of uifont.ali:

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

#

# $Header: uifont.ali@@/main/2 \

# Checked in on Sun Feb 22 17:41:15 PST 1998 by hwang \

# Copyright (c) 1997, 1998 by Oracle Corporation. All Rights Reserved. \

# $ Copyr (c) 1995 Oracle

#

#  Copyright (c) Oracle Corporation 1995, 1997, 1998.

#  All Rights Reserved.

[Global]

#"Terwinal 993".....= "Terwinal 993".....we8iso8859p1

#.....jeuc= .....sjis

#"Avant Garde"= Arial

#"New Century Schlbk"= "Times New Roman"

#"New York"= "Times New Roman"

#Bookman= "Times New Roman"

#lucidatypewriter= "Courier New"

#lucidabright= "Times New Roman"

#fixed= "Courier New"

#cuecard= Arial.8.Plain.Medium.Normal

#cuecardFixed= "Courier New"..Plain.Medium.Normal

[Printer]

"Arial"="arial.ttf"

"Arial"..italic... = "ariali.ttf"

"Arial"...Bold.. = "arialbd.ttf"

"Arial"..italic.Bold.. = "arialbi.ttf"

"Andale Duospace WT J" = "Aduoj.ttf"

"Albany WT J"="AlbanWTJ.ttf"

"Arabic Transparent"="artro.ttf"

[Display]

# Oracle Report PDF sections

# Three new sections have been added:

# [ PDF ]         - Used for font aliasing and Multibyte language support

# [ PDF:Embed ]   - Used for Type 1 font embedding

# [ PDF:Subset ]  - Used for True Type Font subsetting

[PDF]

# This example shows how to rename Arial font to Courier font

# Arial = Courier

# You can Alias specific styles of font as below

# Arial.12..Bold.. = Courier.14....

# "Times New Roman".12..Bold = "Sans Serif"

#

# Support for Far Eastern Languages:

# ----------------------------------

# PDF section can be additionally used to enable Multibyte language support

# built into Reports.  To use this feature with Adobe (r) Acrobat (c), you

# need to install the Asian font pack available online at the Adobe web site.

# By specifying the below aliasing, a Japanese report run with Shift-JIS

# characterset is replaced to HeiseiKakuGo-W5-Acro CID font.

# .....SJIS = "HeiseiKakuGo-W5-Acro"

#[PDF:Embed]

#"Arabic Transparent"="trado.ttf"

#"Traditional Arabic"="trado.ttf"

# This example shows how to embed Type 1 Arial font into the PDF file:

# Arial = "Arial.pfm Arial.pfb"

# You need to specify the .pfm file before the .pfb file.

# The font files must exist in one of the folders specified in REPORTS_PATH.

[PDF:Subset]

# This example shows how to subset Arial True Type font into the PDF file

# Arial = "Arial.ttf"

# The True Type font files must exist in any one of the folders specified in

# REPORTS_PATH.

#

# Subsetting TrueType Collection fonts:

# Typically, a TTC font contains several fonts in one file. For example,

# the TTC file, msgothic.ttc consists of three fonts in the order

# MS Gothic, MS PGothic and MS UI Gothic. To subset MS PGothic, the

# entry in the PDF:Subset section of uifont.ali would be:

# "MS PGothic" = "msgothic.ttc,1"

#

"Arabic Transparent"..Italic.Bold..="arialbi.ttf"

"Arabic Transparent"...Bold..="artrbdo.ttf"

"Arabic Transparent"..Italic...="ariali.ttf"

"Arabic Transparent" = "artro.ttf"

"Andalus"="andlso.ttf"

Tahoma...Bold..="tahomabd.ttf"

Tahoma="tahoma.ttf"

"Simplified Arabic" = "trado.ttf"

"Simplified Arabic Bold" = "tradbdo.ttf"

"Simplified Arabic Fixed" = "trado.ttf"

#"Simplified Arabic"="arial.ttf"

#"Simplified Arabic"...Bold..="arial.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"

"Courier New"..Italic.Bold..="courbi.ttf"

"Courier New"...Bold..="courbd.ttf"

"Courier New"..Italic...="couri.ttf"

"Courier New".....="cour.ttf"

Courier.....="cour.ttf"

Courier...Bold..="courbd.ttf"

Arial="arial.ttf"

Arial..italic...="ariali.ttf"

Arial...Bold..="arialbd.ttf"

Arial..italic.Bold..="arialbi.ttf"

"Traditional Arabic"="trado.ttf"

"Andale Duospace WT J" = "Aduoj.ttf"

"Albany WT J"="AlbanWTJ.ttf"

# NOTES ON PRECEDENCE OF PDF SECTIONS:

# ------------------------------------

#

# If you have entries for a same font in many PDF sections, then Font

# Aliasing entry will take precedence over Font Subsetting entry. Entries

# in Font Subsetting will take precedence over the entries in Font Embedding

# section.

#

# Generic entries for a font must follow more specific entries for the same

# font.  For instance, if you want to subset Arial Plain, Arial Bold,

# Arial Italic and Arial Bold-Italic fonts, your entries must be:

#

# [ PDF:Subset ]

# Arial..Italic.Bold.. = "Arialbi.ttf"

# Arial...Bold..       = "Arialb.ttf"

# Arial..Italic...     = "Ariali.ttf"

# Arial.....           = "Arial.ttf"

#

# If Arial..... entries appears in the top of the list, all the styles of

# Arial font in the layout will be subset as Arial Plain font.

[rwbuilder]

.....AR8MSWIN1256="Traditional Arabic"

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

Thank you

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 28 2014
Added on Apr 28 2014
3 comments
3,033 views