on 09-17-2010 1:36 PM
Hello all,
I'm facing a strange issue in smartform with chinese logon in Quality server.
In quality server mail generates JUNK values in place of chinese texts in SOST.
In development server its working fine.
I checked through debugging in OTFDATA structure its taking Courier font by default.
While in my development server in ZH logon its taking CNSONG font.
1 // |XSAPWIN 046C 00000000001 <
2 IN |041 form_name<
3 IN |05HDR_PAGE <
4 OP |DINA4 P 144 240 1683811906000010000100000 <
5 IN |06%WINDOW9 <
6 MT |0447102791 <
7 CP |840000001 <
8 FC |COURIER 095X 00114 SF001SF0118400001141 X <
9 UL | +0000000000000 <
10 CT |00000000 <
Can some please help me to solve this issue.
Thanks in advance.
regards,
Lokesh
Hi Lokesh,
In the OTF data you provided above, I see that device type SAPWIN is used to create the OTF data. the device type SAPWIN doesn't support the Chinese CNSONG font so it is substituted with Courier. You need to ensure that a Chinese device type like CNSAPWIN is used to create the OTF data. Then the correct font should be used and Chinese characters should look correct in SOST.
Regards,
Aidan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
Also use CNSONG and CNHEI for the Chinese version of the form.
Please also have a look at the SAP note regarding the proper fonts
should be used:
776507 SAPscript/SmartForms: Which fonts for which languages?
Regards,
David
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
Please follow the rules to output PDF correctly for ZF/ZH language:
(1) workprocess need run under
ZF/ZH language (logon with ZF/ZH or switch by set locale)
codepage 8300/8400 (or compatible codepages)
(2) SAPScript need include ZF/ZH version. Please verify by:
Go SE71->input SAPScript name, language key ZF/ZH -> display
(3) SAPScript need assign Chinese font for paragraph used to output
Chinese character
(4) SAPScript need open with ZF/ZH language(OPEN_FORM with ZF/ZH language)
Regards,
David
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.