Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
(after emerge world) Where is my fixed font???
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
toon
n00b
n00b


Joined: 26 Jan 2003
Posts: 68
Location: The Netherlands

PostPosted: Tue Feb 25, 2003 11:12 pm    Post subject: (after emerge world) Where is my fixed font??? Reply with quote

Hi,

Last weekend I decided to put those spare CPU cycles to work
and do an emerge sync ; emerge world. (Ha! I'm a dare devil!) javascript:emoticon(':wink:')

This resulted (among other things) in an upgrade to Gnome 2.2.
That's okay, I expected that. But now my cherished fixed font is gone!
I regard this as the only acceptable font for xterms.
In the gnome terminal it doesn't show up in the pick list anymore.
The fonts are still there, in /usr/X11R6/lib/X11/fonts/misc/.
Why doesn't the gnome terminal see them any longer?

I saw a lot of discussion about problems with truetype fonts
and about problems with anti-aliasing, but those advanced topics
don't have anything in common with my ordinary fixed fonts.
Or do they? javascript:emoticon(':?')

Thanks in advance for any help.
Regards,
Toon.
Back to top
View user's profile Send private message
BillyD
Guru
Guru


Joined: 05 May 2002
Posts: 323
Location: Australia

PostPosted: Wed Feb 26, 2003 1:35 am    Post subject: Reply with quote

Do you know if Xft was upgraded when you updated? I think it should have been configured automagically, but you could try running fc-cache to tell xft about your fonts. You need to make sure the path to your fonts is also specified in /etc/fonts/fonts.conf. Hope that helps.
_________________
We used to have hominid cousins that were vegetarian. The palæontological record suggests that our ancestors killed them and ate them.
Back to top
View user's profile Send private message
toon
n00b
n00b


Joined: 26 Jan 2003
Posts: 68
Location: The Netherlands

PostPosted: Wed Feb 26, 2003 8:56 pm    Post subject: Reply with quote

Hi, thanks for your reply!

To answer your question: I checked out /var/log/emerge.log,
and I did NOT upgrade Xft since I first installed gentoo.

In the mean time I tried your advice:
- I made sure that /etc/fonts/fonts.conf knows about the
font directories. (I synced them with /etc/X11/XF86Config)
- I executed fc-cache (it sees the /usr/X11R6/lib/X11/fonts/misc/ directory).

It didn't help. No fixed fonts.
Then I re-emerged Xft. (this is version 2.0.1)
Still no luck. I'm thinking about my next move. Any hints?

By the way: gnome-terminal doesn't work well either.
Version 2.0.2 worked fine, but version 2.2.1 is a disaster.
It is slow as hell, and my joe editor gets confused. (vim works fine)
And it doesn't find the fixed fonts, of course. :-)

Oh, and here is the output of the command `fc-cache -fv':
# fc-cache -fv
fc-cache: "/usr/share/fonts": caching, 0 fonts, 1 dirs
fc-cache: "/usr/share/fonts/afms": caching, 0 fonts, 1 dirs
fc-cache: "/usr/share/fonts/afms/adobe": caching, 0 fonts, 0 dirs
fc-cache: "/usr/X11R6/lib/X11/fonts": caching, 0 fonts, 14 dirs
fc-cache: "/usr/X11R6/lib/X11/fonts/local": caching, 0 fonts, 0 dirs
fc-cache: "/usr/X11R6/lib/X11/fonts/encodings": caching, 0 fonts, 1 dirs
fc-cache: "/usr/X11R6/lib/X11/fonts/encodings/large": caching, 0 fonts, 0 dirs
fc-cache: "/usr/X11R6/lib/X11/fonts/util": caching, 0 fonts, 0 dirs
fc-cache: "/usr/X11R6/lib/X11/fonts/misc": caching, 0 fonts, 0 dirs
fc-cache: "/usr/X11R6/lib/X11/fonts/75dpi": caching, 0 fonts, 0 dirs
fc-cache: "/usr/X11R6/lib/X11/fonts/100dpi": caching, 0 fonts, 0 dirs
fc-cache: "/usr/X11R6/lib/X11/fonts/cyrillic": caching, 0 fonts, 0 dirs
fc-cache: "/usr/X11R6/lib/X11/fonts/Speedo": caching, 0 fonts, 0 dirs
fc-cache: "/usr/X11R6/lib/X11/fonts/Type1": caching, 29 fonts, 0 dirs
fc-cache: "/usr/X11R6/lib/X11/fonts/CID": caching, 0 fonts, 0 dirs
fc-cache: "/usr/X11R6/lib/X11/fonts/TTF": caching, 12 fonts, 0 dirs
fc-cache: "/usr/X11R6/lib/X11/fonts/truetype": caching, 30 fonts, 0 dirs
fc-cache: "/usr/X11R6/lib/X11/fonts/freefont": caching, 78 fonts, 0 dirs
fc-cache: "/usr/X11R6/lib/X11/fonts/sharefont": caching, 21 fonts, 0 dirs
fc-cache: "/usr/X11R6/lib/X11/fonts/misc/": caching, 0 fonts, 0 dirs
fc-cache: "/usr/X11R6/lib/X11/fonts/Speedo/": caching, 0 fonts, 0 dirs
fc-cache: "/usr/X11R6/lib/X11/fonts/Type1/": caching, 29 fonts, 0 dirs
fc-cache: "/usr/X11R6/lib/X11/fonts/CID/": caching, 0 fonts, 0 dirs
fc-cache: "/usr/X11R6/lib/X11/fonts/75dpi/": caching, 0 fonts, 0 dirs
fc-cache: "/usr/X11R6/lib/X11/fonts/100dpi/": caching, 0 fonts, 0 dirs
fc-cache: "/usr/X11R6/lib/X11/fonts/TTF/": caching, 12 fonts, 0 dirs
fc-cache: "/usr/X11R6/lib/X11/fonts/cyrillic/": caching, 0 fonts, 0 dirs
fc-cache: "/usr/X11R6/lib/X11/fonts/freefont/": caching, 78 fonts, 0 dirs
fc-cache: "/usr/X11R6/lib/X11/fonts/sharefont/": caching, 21 fonts, 0 dirs
fc-cache: "/usr/X11R6/lib/X11/fonts/truetype/": caching, 30 fonts, 0 dirs
fc-cache: "/usr/X11R6/lib/X11/fonts/util/": caching, 0 fonts, 0 dirs
fc-cache: "/opt/ttfonts/": caching, 10 fonts, 0 dirs
fc-cache: "/root/.fonts": no such directory, skipping
fc-cache: succeeded
#
Back to top
View user's profile Send private message
BillyD
Guru
Guru


Joined: 05 May 2002
Posts: 323
Location: Australia

PostPosted: Wed Feb 26, 2003 10:37 pm    Post subject: Reply with quote

Hmm, sorry that didn't work out for you - it always seems to solve my font problems. Have you tried running ttmkfdir and mkfntcfg (not sure about the mkfntcfg - very similar if that is not the name)? I think they are only for configuring tt fonts though...

One thing with Xft too - I noticed it yesterday when I upgraded Xfree - it mentions not to alter the fonts/font.conf file as it is created automatically, instead you need to change your /etc/fonts/local.conf file to point to any other directories you want to configure. Sorry for the bum steer :wink: .
_________________
We used to have hominid cousins that were vegetarian. The palæontological record suggests that our ancestors killed them and ate them.
Back to top
View user's profile Send private message
toon
n00b
n00b


Joined: 26 Jan 2003
Posts: 68
Location: The Netherlands

PostPosted: Wed Feb 26, 2003 11:40 pm    Post subject: Reply with quote

I executed the ttmkfdir program.
Didn't execute the second one (wasn't sure which one you meant).
It didn't make any difference.

I know about not editing font.conf, but well... :-)

Thanks anyway.
To what version of Xfree did you upgrade, by the way?
Back to top
View user's profile Send private message
Zippo
n00b
n00b


Joined: 21 Jul 2002
Posts: 6

PostPosted: Thu Feb 27, 2003 10:14 pm    Post subject: Reply with quote

A few of us here are having the same problem as toon after an 'emerge -e world' yesterday. I think my coworker is having the problem after a simple 'emerge -u world'.

Anyway, all the fonts seem to show up fine using xlsfonts, but not fc-cache (they're not FreeType fonts, I'd assume.. I'm not extremely wise in the ways of font prettiness and whatnot).

Still looking for an answer, as this "monospace" font is ugly.
Back to top
View user's profile Send private message
BillyD
Guru
Guru


Joined: 05 May 2002
Posts: 323
Location: Australia

PostPosted: Fri Feb 28, 2003 12:05 am    Post subject: Reply with quote

I went to the 4.2.99999999 or something very similar :wink: - wasn't really worthwhile for the couple of hours to compile it and seeings now that 4.3 has been released, but it works fine and I just wanted to fool around with the new cursors. I think 4.3 should be in portage soon.

The fixed width fonts are installed right? I was thinking about it, if they are installed correctly then it has got to be a path problem or something similar if you can't access them. I know that isn't much help, and you have probably followed the same train of thought, but maybe it will lead to somewhere.

Good luck
_________________
We used to have hominid cousins that were vegetarian. The palæontological record suggests that our ancestors killed them and ate them.
Back to top
View user's profile Send private message
Zippo
n00b
n00b


Joined: 21 Jul 2002
Posts: 6

PostPosted: Fri Feb 28, 2003 12:13 am    Post subject: Reply with quote

It's not that I can't access them, or that I can't use them at all.

xterm, Eterm, etc., can still use them. Like I said, they show up in 'xlsfonts'... example:

cz@lump:~% xlsfonts |grep clean
-schumacher-clean-bold-r-normal--0-0-75-75-c-0-iso646.1991-irv
-schumacher-clean-bold-r-normal--10-100-75-75-c-60-iso646.1991-irv
-schumacher-clean-bold-r-normal--10-100-75-75-c-80-iso646.1991-irv
-schumacher-clean-bold-r-normal--12-120-75-75-c-60-iso646.1991-irv
-schumacher-clean-bold-r-normal--12-120-75-75-c-80-iso646.1991-irv
-schumacher-clean-bold-r-normal--13-130-75-75-c-80-iso646.1991-irv
-schumacher-clean-bold-r-normal--14-140-75-75-c-80-iso646.1991-irv
-schumacher-clean-bold-r-normal--15-150-75-75-c-90-iso646.1991-irv
-schumacher-clean-bold-r-normal--16-160-75-75-c-80-iso646.1991-irv
-schumacher-clean-bold-r-normal--8-80-75-75-c-80-iso646.1991-irv
-schumacher-clean-medium-i-normal--0-0-75-75-c-0-iso646.1991-irv
-schumacher-clean-medium-i-normal--12-120-75-75-c-60-iso646.1991-irv
-schumacher-clean-medium-i-normal--8-80-75-75-c-80-iso646.1991-irv
-schumacher-clean-medium-r-normal--0-0-75-75-c-0-iso646.1991-irv
-schumacher-clean-medium-r-normal--10-100-75-75-c-50-iso646.1991-irv
-schumacher-clean-medium-r-normal--10-100-75-75-c-60-iso646.1991-irv
-schumacher-clean-medium-r-normal--10-100-75-75-c-70-iso646.1991-irv
-schumacher-clean-medium-r-normal--10-100-75-75-c-80-iso646.1991-irv
-schumacher-clean-medium-r-normal--12-120-75-75-c-60-iso646.1991-irv
-schumacher-clean-medium-r-normal--12-120-75-75-c-70-iso646.1991-irv
-schumacher-clean-medium-r-normal--12-120-75-75-c-80-iso646.1991-irv
-schumacher-clean-medium-r-normal--13-130-75-75-c-60-iso646.1991-irv
-schumacher-clean-medium-r-normal--13-130-75-75-c-80-iso646.1991-irv
-schumacher-clean-medium-r-normal--14-140-75-75-c-70-iso646.1991-irv
-schumacher-clean-medium-r-normal--14-140-75-75-c-80-iso646.1991-irv
-schumacher-clean-medium-r-normal--15-150-75-75-c-90-iso646.1991-irv
-schumacher-clean-medium-r-normal--16-160-75-75-c-80-iso646.1991-irv
-schumacher-clean-medium-r-normal--6-60-75-75-c-40-iso646.1991-irv
-schumacher-clean-medium-r-normal--6-60-75-75-c-50-iso646.1991-irv
-schumacher-clean-medium-r-normal--6-60-75-75-c-60-iso646.1991-irv
-schumacher-clean-medium-r-normal--8-80-75-75-c-50-iso646.1991-irv
-schumacher-clean-medium-r-normal--8-80-75-75-c-60-iso646.1991-irv
-schumacher-clean-medium-r-normal--8-80-75-75-c-70-iso646.1991-irv
-schumacher-clean-medium-r-normal--8-80-75-75-c-80-iso646.1991-irv

That's the font that I used in gnome-terminal prior to this f-up.

It just appears as though I can't use any non-TT fonts in gnome-terminal (or anything gnome, apparently).
Back to top
View user's profile Send private message
Zippo
n00b
n00b


Joined: 21 Jul 2002
Posts: 6

PostPosted: Fri Feb 28, 2003 12:18 am    Post subject: Reply with quote

P.S. I cannot play nethack using Arial ... life-quality diminishing.
Back to top
View user's profile Send private message
Zippo
n00b
n00b


Joined: 21 Jul 2002
Posts: 6

PostPosted: Fri Feb 28, 2003 1:56 am    Post subject: Reply with quote

In the meantime, I've written this perl script and named it /usr/bin/gnome-terminal

It covers all the options that I use (--geometry, --title, and -e)...

Code:

#!/usr/bin/perl -w

use strict;
use Getopt::Long;
use vars qw($opt_geometry $opt_title $opt_e);
GetOptions( qw(geometry:s title:s e:s) );

my @args = qw(
        xterm
        +sb -sl 2048
        -fn fixed
);
#       -fn -schumacher-clean-medium-r-normal--13-130-75-75-c-60-iso646.1991-irv

push @args, '-geometry', $opt_geometry if $opt_geometry;
push @args, '-title', $opt_title if $opt_title;
my $i = 0;
push @args, '-e', map { $i++ > 0 ? "'$_'" : $_ } split /\s+/, $opt_e if $opt_e;

exec join ' ', @args;
Back to top
View user's profile Send private message
spinfire
n00b
n00b


Joined: 07 Feb 2003
Posts: 38
Location: Newmarket, NH

PostPosted: Fri Feb 28, 2003 5:27 am    Post subject: Reply with quote

I had this problem. My solution was to ditch gnome 2.2 and go back to plain sawfish+aterm...

Obviously this is not an acceptable solution for all, but I couldn't even get gnome-terminal to obey my request not to anti-alias. On my laptop LCD, the terminal screen was utterly unreadable.
Back to top
View user's profile Send private message
toon
n00b
n00b


Joined: 26 Jan 2003
Posts: 68
Location: The Netherlands

PostPosted: Fri Feb 28, 2003 5:43 pm    Post subject: Reply with quote

OK, today I got so fed up with all the problems
regarding gnome-terminal-2.2.1, that I unmerged it
and re-emerged the old gnome-terminal-2.0.2.
That fixed everything for me:

- My fixed font is back. (Yai!)
- The sluggishness is gone. (it's much qucker)

All the sophisticated fonts are gone, bu I don't care.
Bells, wistles and beautifiers are nice, but not at the
cost of getting an unworkable gnome-terminal.
Back to top
View user's profile Send private message
Zippo
n00b
n00b


Joined: 21 Jul 2002
Posts: 6

PostPosted: Mon Mar 03, 2003 4:09 pm    Post subject: Reply with quote

I like that solution better than using xterms instead. That worked fine. I never use any gnome-terminals/xterms/rxvts/Eterms/whatever with any font other than fixed (I thought I was using clean, but it turned out I was using fixed all along).

The *only* "bells and whistles" I like in my terminals are (1) no home on output, (2) right-click -> open Link, (3).. hmm I think that's it. I don't want menubars, scrollbars, transparency, or any of that other crap.

Anyway, I'm half-ass fixed now.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum