|
Replies:
5
-
Pages:
1
-
Last Post:
Dec 11, 2008 12:25 AM
Last Post By: 7Days
|
|
|
Posts:
24
Registered:
04/19/07
|
|
|
|
Print Japanese characters in English-locale produced PDF
Posted:
Dec 9, 2008 1:48 PM
|
|
|
|
We will be generating invoice from english-locale, however one of the columns must print japanese characters.
I have bee able to print currency symbols for JPYm GBP, no problem.
The database if not a UTF-8 set yet. We are on 11.5.10.2 .
Is UTF-8 a requirement? BIP5.6.3 version.
How does one print japanese characters? All of the comments I have come thus far, assume that database is UTF-8.
|
|
|
Posts:
7
Registered:
10/24/07
|
|
|
|
Re: Print Japanese characters in English-locale produced PDF
Posted:
Dec 9, 2008 11:56 PM
in response to: user570453
|
|
|
|
You want to print Japanese characters in PDF output but every Japanese characters are not displaying correctly now.
Is it right?
In that case, you have to install Japanese fonts and have to do font mapping so that PDF can have embedded Japanese fonts in documents.
If this clarification is right and want to know further information let me know.
Regards.
Kwangbock.
|
|
|
Posts:
24
Registered:
04/19/07
|
|
|
|
Re: Print Japanese characters in English-locale produced PDF
Posted:
Dec 10, 2008 4:15 PM
in response to: 7Days
|
|
|
|
Hi Kwangbock,
I think you are partly right. I still do not know how to start putting in japanese characters.
I have not done anys etups so far. All I have is jinit1.5 on the server, and XML Publisher 5.6.3.
And AlbanyWt...ttf s are available on server under the required JRE_TOP, AF_TOP.
We would like to have item numbers printed in japanese, where the rest of the pdf is in english.
|
|
|
Posts:
7
Registered:
10/24/07
|
|
|
|
Re: Print Japanese characters in English-locale produced PDF
Posted:
Dec 10, 2008 4:39 PM
in response to: user570453
|
|
|
|
Ok, you said you have AlbanyWt...ttf s and I'm pretty sure that the fonts include ALBANWTJ.ttf font.
In this case, you have to check that whether you are using that font in your pdf document or not.
To check that, on the pdf document input "Ctrl+d" and in fonts tab you can see fonts are embedded in the document.
If you are not using ALBANWTJ.ttf in the document, you should do font mapping with xdo.cfg configuration file like this.
....
<fonts>
<!-- Font setting (for FO to PDF etc...) -->
<truetype path="/u01/psft/pt849/fonts/truetype/ALBANWTJ.ttf" />
</fonts>
....
And finally you have to use ALBANWTJ.ttf font with item numbers in your template and update the template.
I hope this can help you.
Kwangbock
|
|
|
Posts:
24
Registered:
04/19/07
|
|
|
|
Re: Print Japanese characters in English-locale produced PDF
Posted:
Dec 10, 2008 5:34 PM
in response to: 7Days
|
|
|
|
It seems now that I do not have ALBANWTJ' in the rtf yet. One reason is trhat I cannot copy the .ttf s into C:?Windows/Fonts location, for whatever reason. I will have to find out if this is because of restricted access to the folder.
Ffrom a sample pdf, when I do Ctrl-D, in the Fonts tab, I find that 3 fonts are available
Helvetica, Times New Roman and Helvetica-Bold.
Since 5.6.2, I thought xdo.cfg is not required. When I did mappings for barcode, using IDAutomation font, the xdo-cfg was no longer required, no even font mapping in xml publisher administrator->Configureation.
The barcode was achieved directly with just defining the field on 'rtf' as IDAutomation type, and making sure that the font
\was available on AF_JRE_TOP and OA_JRE_TOP.
Is this not true then for Albany?
What you are saying is that :-
1. Mark the field as Albanwtj font type
2. Define xdo.cf gon server with the albany font
3. PLace xdo.cfg in proper location, ( not sure where)
4. Also do font mapping
But does this convert english to japanese? Or the field value should also get japanese characters from database?
|
|
|
Posts:
7
Registered:
10/24/07
|
|
|
|
Re: Print Japanese characters in English-locale produced PDF
Posted:
Dec 11, 2008 12:25 AM
in response to: user570453
|
|
|
|
With the font mapping, maybe you're right.
Anyways do you want to change item number from english to japanese?
I don't think you can do that. Like you said, the field value should have get japanese characters from db.
What I wanted to say was that if the japanese characters from db is not displaying correctly in pdf document, you need to install external fonts and
have to font mapping job.
Regards
Kwangbock.
|
|
|
|
Legend
|
|
Guru : 2500
- 1000000
pts
|
|
Expert : 1000
- 2499
pts
|
|
Pro : 500
- 999
pts
|
|
Journeyman : 200
- 499
pts
|
|
Newbie : 0
- 199
pts
|
|
Oracle ACE Director
|
|
Oracle ACE Member
|
|
Oracle Employee ACE
|
|
Helpful Answer
(5 pts)
|
|
Correct Answer
(10 pts)
|
|