Heading get truncated while printing output
Hi All,
We are using oracle forms and report 10g. We recently migrated from windows to solaris.
Now when we ran the report the Arabic character get truncated in the heading label and column heading label.
The actual heading label was Ariel 12 bold, when i change this label manually to traditional Arabic its not getting truncated.
But in windows its working fine.
Can you please tell what to do to avoid this truncation
Is it possible to changes in Uifont files.
My ui font file is like this
#
# $Header: uifont.ali@@/main/22 \
# Checked in on Tue Jan 8 15:32:42 PST 2002 by idc \
# Copyright (c) 1999, 2004, Oracle. All rights reserved.
# $
#
#
# $Revision: tk2/admin/uifont.ali#0 $
#
# Copyright (c) 1994, 2004, Oracle. All rights reserved.
# All Rights Reserved.
#
# DESCRIPTION:
#
# Each line is of the form:
#
# <Face>.<Size>.<Style>.<Weight>.<Width>.<CharSet> = \
# <Face>.<Size>.<Style>.<Weight>.<Width>.<CharSet>
#
# The <Face> must be the name (string/identifier) of a font face. The
# <Style>, <Weight>, <Width>, and <CharSet> may either be a numeric
# value or a predefined identifier/string. For example, both US7ASCII
# and 1 are valid <CharSet> values, and refer to the same character set.
# The <Size> dimension must be an explicit size, in points.
#
# The following is a list of recognized names and their numeric
# equivalents:
#
# Styles Numeric value
# Plain 0
# Italic 1
# Oblique 2
# Underline 4
# Outline 8
# Shadow 16
# Inverted 32
# Overstrike 64
# Blink 128
#
# Weights Numeric value
# Ultralight 1
# Extralight 2
# Light 3
# Demilight 4
# Medium 5
# Demibold 6
# Bold 7
# Extrabold 8
# Ultrabold 9
#
# Widths Numeric value
# Ultradense 1
# Extradense 2
# Dense 3
# Semidense 4
# Normal 5
# Semiexpand 6
# Expand 7
# Extraexpand 8
# Ultraexpand 9
#
# Styles may be combined; you can use plus ("+") to delimit parts of a
# style. For example,
#
# Arial..Italic+Overstrike = Helvetica.12.Italic.Bold
#
# are equivalent, and either one will map any Arial that has both Italic
# and Overstrike styles to a 12-point, bold, italic Helvetica font.
#
# All strings are case-insensitive in mapping. Font faces are likely to
# be case-sensitive on lookup, depending on the platform and surface, so
# care should be taken with names used on the right-hand side; but they
# will be mapped case-insensitively.
#
# See your platform documentation for a list of all supported character
# sets, and available fonts.
#
#
# BUGS:
# o Should accept a RHS ratio (e.g., "Helv = Arial.2/3").
#
#===============================================================
[ Global ] # Put mappings for all surfaces here.
# Mapping from MS Windows
# Arial = helvetica
# "Courier New" = courier
# "Times New Roman" = times
# Modern = helvetica
# "MS Sans Serif" = helvetica
# "MS Serif" = times
# "Small Fonts" = helvetica
#"WASP 39 L" =times
#"WASP 39 LC" =times
# Mapping from Macintosh
#"New Century Schlbk" = "new century schoolbook"
#"New York" = times
#geneva = helvetica
#===============================================================
[ Printer ] # Put mappings for all printers here.
#===============================================================
[ Printer:PostScript1 ] # Put mappings for PostScript level 1 printers here.
# Sample Kanji font mappings
...UltraLight..JEUC = "Ryumin-Light-83pv-RKSJ-H"...Light..JEUC
...UltraLight..SJIS = "Ryumin-Light-83pv-RKSJ-H"...Light..SJIS
...ExtraLight..JEUC = "Ryumin-Light-83pv-RKSJ-H"...Light..JEUC
...ExtraLight..SJIS = "Ryumin-Light-83pv-RKSJ-H"...Light..SJIS
...Light..JEUC = "Ryumin-Light-83pv-RKSJ-H"...Light..JEUC
...Light..SJIS = "Ryumin-Light-83pv-RKSJ-H"...Light..SJIS
...DemiLight..JEUC = "Ryumin-Light-83pv-RKSJ-H"...Light..JEUC
...DemiLight..SJIS = "Ryumin-Light-83pv-RKSJ-H"...Light..SJIS
.....JEUC = "GothicBBB-Medium-83pv-RKSJ-H"...Medium..JEUC
.....SJIS = "GothicBBB-Medium-83pv-RKSJ-H"...Medium..SJIS
# Mapping from MS Windows
Roman = palatino
Script = "itc zapf chancery"
FixedSys = courier
System = helvetica
#"WASP 39 L" =times
#"WASP 39 LC" =times
# Mapping from Macintosh
"Avant Garde" = "itc avant garde gothic"
# Mapping from Motif display
fixed = courier
clean = times
lucidatypewriter = courier
lucidabright = times
#===============================================================
[ Printer:PostScript2 ] # Put mappings for PostScript level 2 printers here.
# Sample Kanji font mappings
...UltraLight..JEUC = "Ryumin-Light-83pv-RKSJ-H"...Light..JEUC
...UltraLight..SJIS = "Ryumin-Light-83pv-RKSJ-H"...Light..SJIS
...ExtraLight..JEUC = "Ryumin-Light-83pv-RKSJ-H"...Light..JEUC
...ExtraLight..SJIS = "Ryumin-Light-83pv-RKSJ-H"...Light..SJIS
...Light..JEUC = "Ryumin-Light-83pv-RKSJ-H"...Light..JEUC
...Light..SJIS = "Ryumin-Light-83pv-RKSJ-H"...Light..SJIS
...DemiLight..JEUC = "Ryumin-Light-83pv-RKSJ-H"...Light..JEUC
...DemiLight..SJIS = "Ryumin-Light-83pv-RKSJ-H"...Light..SJIS
.....JEUC = "GothicBBB-Medium-83pv-RKSJ-H"...Medium..JEUC
.....SJIS = "GothicBBB-Medium-83pv-RKSJ-H"...Medium..SJIS
# Mapping from MS Windows
Roman = palatino
Script = "itc zapf chancery"
FixedSys = courier
System = helvetica
#"WASP 39 L" =times
#"WASP 39 LC" =times
# Mapping from Macintosh
"Avant Garde" = "itc avant garde gothic"
# Mapping from Motif display
fixed = courier
clean = times
lucidatypewriter = courier
lucidabright = times
#===============================================================
[ Printer:PCL5 ] # Put mappings for PCL 5 printers here.
helvetica = univers
times = "cg times"
clean = "antique olv"
fixed = courier
lucida = univers
lucidabright = "cg times"
lucidatypewriter = courier
"new century schoolbook" = univers
terminal = "line printer"
#===============================================================
[ Display ] # Put mappings for all display surfaces here.
#===============================================================
[ Display:Motif ] # Put mappings for Motif displays here
# Fix for bug no 778937 DO NOT MOVE!
Roman.....sjis = lucida.....jeuc
Script.....sjis = lucidabright.....jeuc
FixedSys.....sjis = fixed.....jeuc
System.....sjis = lucida.....jeuc
.....sjis = .....jeuc
# Mapping from MS Windows
Roman = lucida
Script = lucidabright
FixedSys = fixed
System = lucida
#"WASP 39 L" =times
#"WASP 39 LC" =times
# Mapping from Macintosh
"Avant Garde" = helvetica
"Bookman" = times
#===============================================================
[ Display:CM ] # Put mappings for all CM displays here.
# These are DEC-specific, and may need localization
*..Blink = Blinking
*..Inverted+Underline.Bold = ReverseBoldUnderline
*..Inverted+Underline. = UnderlineReverse
*..Underline.Bold = UnderlineBold
*..Inverted.Bold = ReverseBold
*...Bold = Bold
*..Underline = Underline
*..Inverted = Reverse
* = Plain # The font of last resort
# 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 helvetica font to Courier font
# helvetica = "Arial.ttf"
# You can Alias specific styles of font as below
# helvetica.12..Bold.. = Courier.14....
# "Lucida Bright".12..Bold = "New Century Schoolbook"
# 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.
# .....SJIS = "HeiseiKakuGo-W5-Acro"
#
# A Japanese report run with Shift-JIS character set is replaced to
# HeiseiKakuGo-W5-Acro CID font.
[ PDF:Embed ]
# This example shows how to embed Type 1 helvetica font into the PDF file:
# helvetica = "helvetica.afm helvetica.pfa"
# You need to specify the .afm file before the .pfa file.
# The font files must exist in one of the folders specified in REPORTS_PATH.
[ PDF:Subset ]
Arial..... = "arial.ttf"
Arial...Bold.. = "arialbd.ttf"
"Arabic Transparent".....="artro.ttf"
"ArabicTransparent"...Bold..="artrbdo.ttf"
Tahoma..... = "tahoma.ttf"
Tahoma...Bold.. = "tahomabd.ttf"
"Times New Roman"..... = "times.ttf"
"Times New Roman"...Bold.. = "timesbd.ttf"
"Traditional Arabic"..... = "trado.ttf"
"Traditional Arabic"...Bold.. = "tradbdo.ttf"
"Courier New"..... = "cour.ttf"
"Courier New"...Bold.. = "courbd.ttf"
"WASP 39 L" = "w39l.ttf"
"WASP 39 LC" = "w39lc.ttf"
#times = "w39l.ttf"
#times = "w39lc.ttf"
# This example shows how to subset Arial True Type font into the PDF file:
# helvetica = "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"
#
# 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 helvetica Plain, helvetica Bold,
# helvetica Italic and helvetica Bold-Italic fonts, your entries must be:
#
# [ PDF:Subset ]
#Arial...Bold.. = "arialbd.ttf"
#Arial..... = "arial.ttf"
#Tahoma...Bold.. = "tahomabd.ttf"
#Tahoma..... = "tahoma.ttf"
#"Times New Roman"...Bold.. = "timesbd.ttf"
#"Times New Roman"..... = "times.ttf"
#"Traditional Arabic"...Bold.. = "tradbdo.ttf"
#"Traditional Arabic"..... = "trado.ttf"
#"Courier New"...Bold.. = "courbd.ttf"
#"Courier New"..... = "cour.ttf"#
# If helvetica..... entry appears in the top of the list, all the styles of
# helvetica font in the layout will be subset as helvetica Plain font.
Can any one please suggest me to how to avoid this truncation.
Thanks & Regards
Srikkanth