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!

Fonts in PDF reports not displaying correctly

MileKNov 2 2015 — edited Nov 5 2015

Hi folks,

One of our customers have problem displaying properly TH sarabun new (Thai) fonts.

Our production environment does not have issue.

Info:

Oracle Application Server 10g 10.1.2.0.2

OS: Windows Server 2003 SP1

1.Fonts are added to REPORTS_PATH and in uifont.ali as:

[ PDF:Subset ]

"TH Sarabun New..Italic.Bold.." = "THSarabunNew BoldItalic.ttf"

"TH Sarabun New...Bold.." = "THSarabunNew Bold.ttf"

"TH Sarabun New..Italic..." = "THSarabunNew Italic.ttf"

"TH Sarabun New" = "THSarabunNew.ttf"

2**.fnchk** reports as:

Successfully parsed font alias file

3. In uifont.ali there is also at the bottom of the [ PDF:Subset ] section support for Tahoma font as :

"Tahoma..Italic.Bold.." = "Tahoma Bold Faux Italic.ttf"

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

"Tahoma..Italic..." = "Tahoma Bold Faux.ttf"

"Tahoma" = "Tahoma.ttf"

If "Tahoma font" part from uifont.ali is not commented reports are displaying Thai font but probably as Tahoma since in PDF properties for font generated report reports next:

_Tahoma.jpg
_

If "Tahoma font" part from uifont.ali is commented then in PDF properties for font generated report reports it still says that "Tahoma" fonts are used but report looks like this:

font.jpg

4. Forcing THSarabunNew in [PDF] section with:

Tahoma = THSarabunNew

does not help

5. Forms released to customer are same we developed in our production environment

It seems that somehow their environment is stuck with "Tahoma" fonts so I am not sure what to check next.

Any advice would be nice.

Thanks,

This post has been answered by MileK on Nov 5 2015
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 3 2015
Added on Nov 2 2015
4 comments
2,619 views