Thanks Swati.
I followed all those steps (make the modifications as the Report Server is in Linux platform). Things that I have done are:
1. Set the report server NLS_LANG=AMERICAN_AMERICA.ZHS16GBK (also
trying to set it as CHINESE_CHINA.ZHS16GBK because error message will
be prompted if I set it as SIMPLIFIED CHINESE_CHINA.ZHS16GBK)
2. Make the following entry in the
PDF:Subset section of the uifont.ali (location: C:\<Reports_Home>\guicommon9\tk90\admin\):
Arial Unicode MS = "Arialuni.TTF"
3. Ensure that the file "Arialuni.TTF" is in REPORTS_PATH.
4. Set the above files path in REPORT_PATH.
5. Download and install the Adobe Acrobat Reader Asian Font Pack for Simplified Chinese on Linux.
6. Install the font pack on Linux Application server as well as on Development/Client Windows machines.
7. Open the uifont.ali file located on Application Server and create the following entry under the
PDF section:
ZHS16GBK = "STSongStd-Light-Acro"
This STSongStd-Light-Acro.otf font is from the Adobe Acrobat Reader
Asian Font Pack for Simplified Chinese on Linux. I also put this file
into the same directory as stated in the REPORTS_PATH.
But I still couldn't get the Chinese font displaying in PDF format. Something I would like to find out from you are
1. How to set the chinese characterset? The only way that I can set the
chinese characterset is when I am installing the Application server and
the database. Is there the only way that I have to reinstall the
Application Server and the database so that I can set the chinese
characterset?
2. Do I have to set the Chinese characterset in both Application Server and Database?
Thank you.
Joey
Hi, Chow Yee Ng
I can display trandtional chinese character in a PDF output from both report server and developer.
You may follow the steps from "399828" posted on 18-05-2004 for
Japanese character testing or my step for Traditional Chinese testing
- NLS_LANG=TRADITIONAL CHINESE_HONG KONG.ZHT16MSWIN950 in 9iAS/developer workstation
- Goto
http://www.adobe.com:80/products/acrobat/acrrasianfontpack.html download the Asian font pack
***Remeber that the Asian Font Pack is differ in Adobe Reader 5 and 6,
the "otf" files installed in CIDFont folder is different for each
version. I install AFP for 5 then copy the files
"MSungStd-Light-Acro.otf" to CIDFont folder in 6 will works fine. I
recomment using Adobe Reader 5.0/5.1. Make sure that
"MSungStd-Light-Acro" is located in your Adobe Installed directory (eg.
C:\Program Files\Adobe\Acrobat 5.0\Resource\CIDFont)
-- Open uifont.ali (in 9iAS/Developer workstation) then add the entries under
PDF (not subset)
"Arial Unicode MS"="MSungStd-Light-Acro"
-- Open your report then change the font to "Arial Unicode MS"
*** I try to use MingLIU but doesn't work, the chinese character will be collpased! Using Unicode font is recomment
-- Try to generate PDF from developer then deploy it into 9iAS
** Using unicode database and Windows 2000 English Version
** locale set to Traditional Chinese
** I try it on Windows 2000 simplified Chinese... doesn't work.
** Patchset 3 for 9iDS was installed in my developer workstation
Posts:
8
Registered:
12/07/00
|
|
|
Re: Outputting Chinese Characters in PDF Reports
Posted:
2004-5-20 上午2:32
in response to: parry_chu
|
|
|
|
Hi Chu C Chi Ho,
It's work after your hints.
Another problem is the chinese character are overlap.
Do you have any idea?
Thanks.
|
|
|
Posts:
2
Registered:
09/05/00
|
|
|
Re: Outputting Chinese Characters in PDF Reports
Posted:
2004-5-20 上午2:56
in response to: joeyng@mailcity...
|
|
|
Juichi Ho,
Please modify the field in 9iDS using font "Arial Unicode MS", I try to
use MingLIU/Arial but doesn't work, the Chinese Character will be
collpased/overlap. I don't know the reason at all, perhaps my database
using unicode and Chinese Character is multibyte as well. That's why i
use "Arial Unicode MS" in my testing.
Also, I try the following as well in unifont.ali
PDF:Subset
"Arial Unicode MS"= "ARIALUNI.TTF"
It works fine as well. The different between 2 method is the font only.
If using Adobe AFP font, Chinese Character display in a "very good
style". But if the data contains the character "~", there will be a
problem. Using subset method, Chinese Character looks very solid and
most of the English characters and symbols looks fine except block
letter "I" and "l". Try to see which method is suitable for you.
** I need to restart the report server in 9iAS/developer for any changes
Regards,
Parry Chu | | |
URL:
http://forums.oracle.com/forums/thread.jspa?threadID=243071&start=0&tstart=0