[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Solved: Re: gv: various font errors, "code 1 in findfont"



on Thu, Jan 03, 2002 at 04:23:07AM -0800, Eric G. Miller (egm2@jps.net) wrote:
> On Wed, 2 Jan 2002 12:00:00 -0800, "Karsten M. Self" <kmself@ix.netcom.com> wrote:
> 
> > on Wed, Jan 02, 2002 at 09:03:18AM -0800, Craig Dickson (crdic@yahoo.com) wrote:
> > > Karsten M. Self wrote:
> > > 
> > > > I'm finding gv is almost unusable under Sid due to font errors, e.g.:

<...>

> > > Do you have the GS_LIB environment variable set to these two directories?
> > > If not, try that and see if it helps.
> > 
> > Interesting.  I've got that in my /etc/profile (I *thought* I'd added
> > something like it), added Dec 13:
> > 
> >     export GS_LIB=/usr/share/gs/6.51:/usr/share/fonts/type1/gsfonts
> > 
> > ...but the value doesn't seem to be getting propogated (I'm starting via
> > wdm).  I've changed /etc/environment to just source /etc/profile.
> > 
> > Setting that value (forced in my ~/.bashrc) seems to fix things.
> 
> After updating gs-aladdin & gs-common today, I started to see these
> errors as well.  But, the problem is not that you should need a GS_LIB
> environment variable, but that gs-common seems to not invoke the
> proper "defoma" install/update script.  So, I looked at the
> README.defoma for gs-common, and right there is a line about updating
> defoma via "defoma update gs" -- sure enough, it works.

Hmmm...

I just ran that as root, launched a new shell, unset GS_LIB, and tried
viewing a ps page:

    $ df | mapage -1 | gv -letter -magstep -1 -

...which doesn't work.  I get the same font errors.

Restoring the environment variable works.

Odd.

-- 
Karsten M. Self <kmself@ix.netcom.com>        http://kmself.home.netcom.com/
 What part of "Gestalt" don't you understand?              Home of the brave
  http://gestalt-system.sourceforge.net/                    Land of the free
We freed Dmitry! Boycott Adobe! Repeal the DMCA! http://www.freesklyarov.org
Geek for Hire                      http://kmself.home.netcom.com/resume.html

Attachment: pgpIFtQ0SsXnB.pgp
Description: PGP signature


Reply to: