Thread: Special slovenian char - č,Č

This question is answered. Helpful answers available: 5. Correct answers available: 1.


Permlink Replies: 35 - Pages: 3 [ 1 2 3 | Next ] - Last Post: Jan 9, 2010 3:38 AM Last Post By: Dulal_DBA Threads: [ Previous | Next ]
mihak

Posts: 13
Registered: 09/11/09
Special slovenian char - č,Č
Posted: Sep 11, 2009 3:48 AM
 
Click to report abuse...   Click to reply to this thread Reply
Hi everyone!

I've got a problem. When i want to distribute report into PDF, some chars become strange.

Char 'č' in report becomes 'è' in PDF.

NLS_LANG is sets to SLOVENIAN_SLOVENIA.EE8MSWIN1250

Code in AFTER PARAMETER FORM trigger:

:destype:='File';
:desformat:='PDF';
:desname:='c:\test.pdf';


Does anybody knows the solution of that kind of problem?

Zlatko Sirotic

Posts: 419
Registered: 01/06/01
Re: Special slovenian char - č,Č
Posted: Sep 11, 2009 8:39 AM   in response to: mihak in response to: mihak
 
Click to report abuse...   Click to reply to this thread Reply
Try this:

- install font "Bodoni Book BT"

- write at the end of file UIFONT.ALI (folder ...\tools\common or ...\tools\common60)

[ PDF ]
"Times New Roman" = "Bodoni Book BT"
"Times New Roman CE" = "Bodoni Book BT"
"Arial CE"= "Bodoni Book BT"
"Arial" = "Bodoni Book BT"
"Courier New" = "Bodoni Book BT"

...

When you distribute report into PDF, Reports replaces original font with "Bodoni Book BT".

Regards
mihak

Posts: 13
Registered: 09/11/09
Re: Special slovenian char - č,Č
Posted: Sep 14, 2009 1:00 AM   in response to: Zlatko Sirotic in response to: Zlatko Sirotic
 
Click to report abuse...   Click to reply to this thread Reply
Thanks for reply.

I installed Bodoni Book BT (TrueType) and inserted code to UIFONT.ALI:

[ PDF ]
"Times New Roman" = "Bodoni Book BT"
"Times New Roman CE" = "Bodoni Book BT"
"Arial CE"= "Bodoni Book BT"
"Arial" = "Bodoni Book BT"
"Courier New" = "Bodoni Book BT"

But that does not work. Then i try this code:

[ PDF ]
"Times New Roman" = "Bodoni Book BT (TrueType)"
"Times New Roman CE" = "Bodoni Book BT (TrueType)"
"Arial CE"= "Bodoni Book BT (TrueType)"
"Arial" = "Bodoni Book BT (TrueType)"
"Courier New" = "Bodoni Book BT (TrueType)"

...and still does not work.

What could be wrong?
Zlatko Sirotic

Posts: 419
Registered: 01/06/01
Re: Special slovenian char - č,Č
Posted: Sep 14, 2009 2:00 AM   in response to: mihak in response to: mihak
 
Click to report abuse...   Click to reply to this thread Reply
What is the original font in your reports?
Maybe it is not in this list ("Times New Roman", "Times New Roman CE", "Arial CE", "Arial", "Courier New")?

Regards
mihak

Posts: 13
Registered: 09/11/09
Re: Special slovenian char - č,Č
Posted: Sep 14, 2009 2:05 AM   in response to: Zlatko Sirotic in response to: Zlatko Sirotic
 
Click to report abuse...   Click to reply to this thread Reply
Hi,

original font is Courier New.

I have read that i need to set REPORTS_PATH to folder where font is located, so i put path to C:\WINDOWS\Fonts, but this does not help.

Do you have any idea?

Denis Segard

Posts: 1,723
Registered: 01/10/01
Re: Special slovenian char - č,Č
Posted: Sep 14, 2009 3:31 AM   in response to: mihak in response to: mihak
 
Click to report abuse...   Click to reply to this thread Reply
Hello,

Test this "entry" in the file uifont.ali for PDF:Subset :

[ PDF:Subset ]
*..... = "arial.ttf"

Regards

mihak

Posts: 13
Registered: 09/11/09
Re: Special slovenian char - č,Č
Posted: Sep 14, 2009 3:53 AM   in response to: Denis Segard in response to: Denis Segard
 
Click to report abuse...   Click to reply to this thread Reply
Hi,

thanks for reply, but this does not work.

We have Report Builder 3.0.8.5.0. Is this a problem, because it is a bit old?
Denis Segard

Posts: 1,723
Registered: 01/10/01
Re: Special slovenian char - č,Č
Posted: Sep 14, 2009 4:25 AM   in response to: mihak in response to: mihak
 
Click to report abuse...   Click to reply to this thread Reply
Hello,

Yes ... this is a problem .

Fonr Subsetting and Font Embedding are "supported' by Reports From Reports 9.0.2 and greater (9.0.4 / 10.1.2 / 11.1.1)

It is not supported in Reports 3.0.5.8 ... (nor in Reports 6.0 neither in Reports 6i ...)

Regards
mihak

Posts: 13
Registered: 09/11/09
Re: Special slovenian char - č,Č
Posted: Sep 14, 2009 5:19 AM   in response to: Denis Segard in response to: Denis Segard
 
Click to report abuse...   Click to reply to this thread Reply
hi,

so it is impossible to resolve this problem?
mihak

Posts: 13
Registered: 09/11/09
Re: Special slovenian char - č,Č
Posted: Sep 14, 2009 6:00 AM   in response to: mihak in response to: mihak
 
Click to report abuse...   Click to reply to this thread Reply
Hi,

Now i'm testing on Oracle Report Builder 10.1.2.0.2.

Steps:
1. I set REPORTS_PATH to c:\WINDOWS\Fonts
2. I have installed font "Bodoni Book BT"
3. In UIFONT.ALI i append code
[ PDF ]
"Times New Roman" = "Bodoni Book BT"
"Times New Roman CE" = "Bodoni Book BT"
"Arial CE"= "Bodoni Book BT"
"Arial" = "Bodoni Book BT"
"Courier New" = "Bodoni Book BT"

Are steps correct, because chars in PDF are still strange?

mihak

Posts: 13
Registered: 09/11/09
Re: Special slovenian char - č,Č
Posted: Oct 12, 2009 5:05 AM   in response to: mihak in response to: mihak
 
Click to report abuse...   Click to reply to this thread Reply
Does anvbody know the solution for this problem?
Denis Segard

Posts: 1,723
Registered: 01/10/01
Re: Special slovenian char - č,Č
Posted: Oct 12, 2009 7:01 AM   in response to: mihak in response to: mihak
 
Click to report abuse...   Click to reply to this thread Reply
Hello,

You should first test with this entry in the file uifont.ali

[ PDF:Subset]
* = "BodoniBookBT.ttf"

REMARK : check the ttf filename in c:\windows\fonts

PDF:Susbet should be between square brakets ....

regards
mihak

Posts: 13
Registered: 09/11/09
Re: Special slovenian char - č,Č
Posted: Oct 13, 2009 12:23 AM   in response to: Denis Segard in response to: Denis Segard
 
Click to report abuse...   Click to reply to this thread Reply
I have done this but still does not work.

What is difference between PDF and PDF:Subset?

Do you have any suggestions to solve this problem?
Denis Segard

Posts: 1,723
Registered: 01/10/01
Re: Special slovenian char - č,Č
Posted: Oct 13, 2009 3:05 AM   in response to: mihak in response to: mihak
 
Click to report abuse...   Click to reply to this thread Reply
Hello,

There are 3 possibilities for PDF in uifont.ali

PDF section
PDF:Subset section
PDF:Embed section

Oracle® Application Server Reports Services Publishing Reports to the Web
10g Release 2 (10.1.2)
B14048-01
6 Using PDF in Oracle Reports

http://download.oracle.com/docs/cd/B14099_19/bi.1012/b14048/pbr_pdf.htm

If you want to use PDF:Subset , you have to remove the lines in the section PDF

Regards
mihak

Posts: 13
Registered: 09/11/09
Re: Special slovenian char - č,Č
Posted: Oct 13, 2009 3:48 AM   in response to: Denis Segard in response to: Denis Segard
 
Click to report abuse...   Click to reply to this thread Reply
Hi,

Still the same. It does not work. Did you have same problem with this?
Legend
Guru Guru : 2500 - 1000000 pts
Expert Expert : 1000 - 2499 pts
Pro Pro : 500 - 999 pts
Journeyman Journeyman : 200 - 499 pts
Newbie Newbie : 0 - 199 pts
Oracle ACE Director
Oracle ACE Member
Oracle Employee ACE
Helpful Answer (5 pts)
Correct Answer (10 pts)

Point your RSS reader here for a feed of the latest messages in all forums