[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index] [Date Index] [Thread Index]
[SQR-USERS Info] [SQRUG Home Page]

Japanese characters in parameter form and PDF



Good afternoon,

I am trying to add Japanese character support to our reports. I am able to
display Japanese characters properly in the HTML version of my report.
However, I cannot get Japanese characters to display correctly in a dynamic
paramter list box or a generated PDF document.

When I run the report, I get the following error message:

Runtime error: exit code = 0 (SQR 8300) For font (3) the specified typeface
( HeiseiKakuGo-W5) is not legal.

My environment is:
Oracle 8.1.7
Win 2k SP 1
SQR 6.2
Portal 7.0.3

I've made the following changes to my sqr.ini and pdflib.upr files

SQR.INI
[Environment:Common]
SQRDIR=C:\Program Files\Brio\BrioPortal\server\JF_madness\sqrp\Binw
SQRIBE_HOME=C:\Program Files\Brio
SQR_JRE_VER=122
SQR_JRE_EXE=C:\Program Files\Brio\jre\jre122\bin\java
Encoding=UTF-8
Encoding-File-Output=UTF-8
Encoding-File-Input=UTF-8
Encoding-Report-Output=UTF-8
Encoding-database=UCS-2
Encoding-console=UTF-8
Encoding-SQR-Source=UTF-8

[PDF Fonts]
;Font Path = Directory where the .afm files reside.  Default is SQRDIR
3=Courier, HeiseiKakuGo-W5, UniJIS-UCS2-H
300=Courier-Bold, HeiseiKakuGo-W5, UniJIS-UCS2-H
4=Helvetica, HeiseiKakuGo-W5, UniJIS-UCS2-H
400=Helvetica-Bold, HeiseiKakuGo-W5, UniJIS-UCS2-H
5=Times-Roman
500=Times-Bold
905=Helvetica-Narrow, HeiseiKakuGo-W5, UniJIS-UCS2-H
90500=Helvetica-Narrow-Bold, HeiseiKakuGo-W5, UniJIS-UCS2-H
11=Symbol
12=ZapfDingbats
30=Courier-Oblique
3000=Courier-BoldOblique
31=Helvetica-Oblique
3100=Helvetica-BoldOblique
32=Times-Italic
3200=Times-BoldItalic

PDFLIB.UPR

PS-Resources-1.0
FontAFM
FontPFM
FontOutline
Encoding
.
%Directory prefix example for Windows:/c:/psfonts
%Directory prefix example for Unix: //usr/local/lib/fonts
/C:/Program Files/Brio/BrioPortal/server/JF_madness/sqrp/Binw
FontAFM
Helvetica-Narrow=Helvetica-Narrow.afm
Helvetica-Narrow-Bold=Helvetica-Narrow-Bold.afm
HeiseiKakuGo-W5=HeiseiKakuGo-W5.afm
.
FontPFM
.
FontOutline
.
Encoding
.


Any help would be greatly appreciated,

Tejas