Mike FABIAN wrote:
ghugh Song
さんは書きました: Unfortunately, neither method did not work. Still the same square blocks everywhere. I have upgraded all those ghostscript rpms and I have had those Munhwa fonts all along. ANd then I did ldconfig -v. No use.
I attache two korean example PostScript files for testing. Please try if you can display these with Ghostscript.
Try with the 'gs' command, not 'gv' in order to see the messages which fonts are loaded. Should look like this if you have everything installed correctly:
mfabian@gregory:~/test-texts$ gs korean-Baekmuk-Gulim-UniKS-UTF8-H.ps ESP Ghostscript 7.05 (2002-06-28) Copyright (C) 2002 artofcode LLC, Benicia, CA. All rights reserved. This software comes with NO WARRANTY: see the file COPYING for details. Loading Baekmuk-Gulim-UniKS-UTF8-H font from /usr/share/ghostscript/Resource/Font/Baekmuk-Gulim-UniKS-UTF8-H... 17136180 14436291 1662616 337756 0 done.
showpage, press <return> to continue<<
GS>quit mfabian@gregory:~/test-texts$ gs korean-Baekmuk-Gulim-KSC-EUC-H.ps ESP Ghostscript 7.05 (2002-06-28) Copyright (C) 2002 artofcode LLC, Benicia, CA. All rights reserved. This software comes with NO WARRANTY: see the file COPYING for details. Loading Baekmuk-Gulim-KSC-EUC-H font from /usr/share/ghostscript/Resource/Font/Baekmuk-Gulim-KSC-EUC-H... 15681640 14142029 1662616 337747 0 done.
showpage, press <return> to continue<<
GS>quit mfabian@gregory:~/test-texts$
------------------------------------------------------------------------
% -*- coding: euc-kr -*- /Baekmuk-Gulim-KSC-EUC-H findfont 30 scalefont setfont 50 200 moveto (Hangul ??) show showpage
------------------------------------------------------------------------
% -*- coding: utf-8 -*- /Baekmuk-Gulim-UniKS-UTF8-H findfont 30 scalefont setfont 50 200 moveto (Hangul ??) show showpage
------------------------------------------------------------------------
Thanks for the help. Unfortunately, there is still a trouble: I don't have anything inside /usr/share/ghostscript/Resource/Font/ What provides /usr/share/ghostscript/Resource/Font/Baekmuk-Gulim-KSC-EUC-H? This is the list of the ghostscript-related rpms installed. ghugh@bellini:/home/ghugh> rpm -qa | grep ghostscript ghostscript-x11-7.05.3-99 ghostscript-fonts-other-7.05.3-99 ghostscript-fonts-std-7.05.3-99 ghostscript-cjk-20021119-9 ghostscript-library-7.05.3-99 For this reason, "gs" showed the familiar error: ghugh@bellini:/home/ghugh> gs korean-Baekmuk-Gulim-UniKS-UTF8-H.ps ESP Ghostscript 7.05 (2002-06-28) Copyright (C) 2002 artofcode LLC, Benicia, CA. All rights reserved. This software comes with NO WARRANTY: see the file COPYING for details. Error: /undefinedfilename in (korean-Baekmuk-Gulim-UniKS-UTF8-H.ps) Operand stack: Execution stack: %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push --nostringval-- --nostringval-- Dictionary stack: --dict:1055/1417(ro)(G)-- --dict:0/20(G)-- --dict:68/200(L)-- Current allocation mode is local Last OS error: 2 ESP Ghostscript 7.05.3: Unrecoverable error, exit code 1 Incidently, the mozilla-1.3beta is out today. See http://www.mozilla.org In the release note, it is mentioned that only this new version has the xprint module which allows CJK language printout for the first time from mozilla. It is also mentioned those rpms provided for RedHat do not have this module enabled. This tells us something: Although whatever we do, it has been just obvious that we were not able to print CJK characters before mozilla-1.3beta. Am I right? Mike, would you please tell the guy in SuSE so that she/he specifically enable xprint for mozilla-1.3beta.suse.i586.rpm in the pub/project/mozilla directory? Please Mike, help me out. Thanks you very much. G. Hugh Song