Re: ghostscript

Mike FABIAN <[email protected]>
Newsgroups gmane.linux.suse.m17n
Message-ID <[email protected]>
Mike FABIAN <[email protected]> :

> hisha <[email protected]> :
>
>> Next, ghostview. I took an example file, like 
>> http://www.suse.de/~mfabian/suse-cjk/vertical-orizontal-test.ps
>> I verified that I can open this in my old SUSE8.2 and see
>> all characters correctly.
>> Next, I open it with gs as normal user in 9.3, from bash.
>> The result are Mojibake and the messages:
>> ---
>> gs vertical-horizontal-test.ps
>> ESP Ghostscript 8.15 (2004-09-22)
>> Copyright (C) 2004 artofcode LLC, Benicia, CA.  All rights
>> reserved.
>> This software comes with NO WARRANTY: see the file COPYING
>> for details.
>> Scanning /usr/X11R6/lib/X11/fonts/ for fonts... 12 files,
>> 12 scanned, 0 new fonts.
>> Scanning /usr/share/fonts/ for fonts... 2 files, 2
>> scanned, 0 new fonts.
>> Can't find (or can't open) font file
>> /home/hisha/Resource/Font/Ryumin-Light-UniJIS-UTF8-V.
>> Can't find (or can't open) font file
>> Ryumin-Light-UniJIS-UTF8-V.
>
> '/home/hisha' is weird!
>
> I found that the problem is caused by the environment
> variable GS_LIB. Apparently KDE sets it to
>
>    GS_LIB=/home/hisha/.fonts
>
> If you unset this variable, ghostscript works again. 
>
> Therefore the problem doesn't happen if you don't use KDE and it also
> disappears after 'su -' because then you do not have GS_LIB in the
> environment anymore.
>
> As a temporary workaround, you can add
>
>    unset GS_LIB
>
> to your ~/.profile.
>
> I'll check now out why KDE sets this environment variable.

I reported that as bug #91584 against KDE at

    http://bugzilla.novell.com

-- 
Mike FABIAN   <[email protected]>   http://www.suse.de/~mfabian



-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.