Mike FABIAN wrote:
ghugh Song <ghugh@bellini.mit.edu> さんは書きました:
I don't have anything inside
/usr/share/ghostscript/Resource/Font/
You didn't run SuSEconfig?
What provides /usr/share/ghostscript/Resource/Font/Baekmuk-Gulim-KSC-EUC-H?
It's autogenerated by /sbin/conf.d/SuSEconfig.ghostscript-cjk
What happens if you call
SuSEconfig --module ghostscript-cjk
or (same effect) directly
/sbin/conf.d/SuSEconfig.ghostscript-cjk
After that you should have the files and they should look like:
mfabian@gregory:/usr/share/ghostscript/Resource$ rpm -qf CMap/KSC-EUC-H rpm -qf CMap/KSC-EUC-H ghostscript-cjk-20021119-2 mfabian@gregory:/usr/share/ghostscript/Resource$ cat CIDFont/Baekmuk-Gulim cat CIDFont/Baekmuk-Gulim %!PS-Adobe-3.0 Resource-CIDFont %%Creator: aliascid.ps by Taiji Yamada <taiji@aihara.co.jp> and gs-cjk project %%BeginResource: CIDFont (Baekmuk-Gulim) (Baekmuk-Gulim) (/usr/X11R6/lib/X11/fonts/truetype/gulim.ttf) .openttcidfont /CIDFont defineresource pop %%EndResource %%EOF mfabian@gregory:/usr/share/ghostscript/Resource$ cat Font/Baekmuk-Gulim-KSC-EUC-H cat Font/Baekmuk-Gulim-KSC-EUC-H %!PS-Adobe-3.0 Resource-Font %%Creator: aliascid.ps by Taiji Yamada <taiji@aihara.co.jp> and gs-cjk project %%DocumentNeededResources: KSC-EUC-H (CMap) %%IncludeResource: KSC-EUC-H (CMap) %%BeginResource: Font (Baekmuk-Gulim-KSC-EUC-H) (Baekmuk-Gulim-KSC-EUC-H) (KSC-EUC-H) /CMap findresource [(Baekmuk-Gulim) /CIDFont findresource] composefont pop %%EndResource %%EOF mfabian@gregory:/usr/share/ghostscript/Resource$
Thanks a lot, Mike. Now, I issued "SuSEconfig" and I can see files in the directory. Guess what. gv shows the Korean character "??" correctly from the korean-Baekmuk-Gulim-KSC-EUC-H.ps file. But not from korean-Baekmuk-Gulim-UniKS-UTF8-H.ps The latter showd just "Hangul" and nothing. OK, now I tried to print from "gv" which uses "lpr". Again guess what. I got just the "cat"ed output from the hp6mp Postscript printer like this: % -*- coding: euc-kr -*- /Baekmuk-Gulim-KSC-EUC-H findfont 30 scalefont setfont 50 200 moveto (Hangul <Cryptic characters>) show showpage Incidently, I tested a printout from a sample web page containing Hangul characters. Well... Again the familiar square blocks from the printer. Oh. This is far from what I want. What did I miss? Thanks a lot. G. Hugh Song PS: I have not given up yet. So, please help me.