Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Oct 2001 08:54:52 +0200
From:      Stijn Hoop <stijn@win.tue.nl>
To:        Grzegorz Czaplinski <gregory@prioris.mini.pw.edu.pl>
Cc:        questions@freebsd.org
Subject:   Re: Fonts fonts fonts
Message-ID:  <20011022085452.A18806@pcwin002.win.tue.nl>
In-Reply-To: <20011021184311.A37139@prioris.mini.pw.edu.pl>; from gregory@prioris.mini.pw.edu.pl on Sun, Oct 21, 2001 at 06:43:11PM %2B0200
References:  <200110190858.f9J8wef83074@gilberto.physik.rwth-aachen.de> <20011019111324.C59108@pcwin002.win.tue.nl> <20011021184311.A37139@prioris.mini.pw.edu.pl>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

On Sun, Oct 21, 2001 at 06:43:11PM +0200, Grzegorz Czaplinski wrote:
> On Fri, Oct 19, 2001 at 11:13:24AM +0200, Stijn Hoop wrote:
> [snip] 
> > Then install the port x11-fonts/webfonts - you'll find most sites
> > will look much better after that.
> > 
> > For best results, grab more TTF fonts from a Windows machine [1],
> > install them, and ditch all 75dpi/100dpi fontpaths.
> 
> Stijn,
> sorry for the problem, but maybe you clould answer my question. ;)
> If not I will ask on questions.

No problem, but most of the time it's better to still CC: questions
because then your question & my answer get archived for others.

> You advised someone to install "x11-fonts/webfonts" and I did that, but
> I can't get it working. The installation process went as it should, but
> when I start my X server I get such message:

> failed to set default font path '/usr/X11R6/lib/X11/fonts/misc:unscaled,/usr/X11R6/lib/X11/fonts/100dpi:unscaled,/usr/X11R6/lib/X11/fonts/75dpi:unscaled,/usr/X11R6/lib/X11/fonts/misc,/usr/X11R6/lib/X11/fonts/100dpi,/usr/X11R6/lib/X11/fonts/75dpi,/usr/X11R6/lib/X11/fonts/URW,/usr/X11R6/lib/X11/fonts/webfonts'
> Fatal server error:
> could not open default font 'fixed'
> When reporting a problem related to a server crash, please send
> the full server output, not just the last messages
> X connection to :0.0 broken (explicit kill or server shutdown).
> [1]  + exit 1     startx
> 
> My /etc/XF86Config has such paths set:
> Section "Files"
>    RgbPath    "/usr/X11R6/lib/X11/rgb"
>    FontPath   "/usr/X11R6/lib/X11/fonts/local"
>    FontPath   "/usr/X11R6/lib/X11/fonts/misc:unscaled"
>    FontPath   "/usr/X11R6/lib/X11/fonts/100dpi:unscaled"
>    FontPath   "/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
>    FontPath   "/usr/X11R6/lib/X11/fonts/Type1"
>    FontPath   "/usr/X11R6/lib/X11/fonts/Speedo"
>    FontPath   "/usr/X11R6/lib/X11/fonts/misc"
>    FontPath   "/usr/X11R6/lib/X11/fonts/100dpi"
>    FontPath   "/usr/X11R6/lib/X11/fonts/75dpi"
>    FontPath   "/usr/X11R6/lib/X11/fonts/URW"
>    FontPath   "/usr/X11R6/lib/X11/fonts/TrueType"
>    FontPath   "/usr/X11R6/lib/X11/fonts/webfonts"
> EndSection
> 
> Well, I can't figure out what "default font 'fixed'" is. 

It is part of the default set of fonts that get installed when you install X.
It should be defined in a file called 'fonts.alias' in the miscellaneous
fonts directory, /usr/X11R6/lib/X11/fonts/misc.

On my system I have this:

[stijn@pcwin002] <~> grep ^fixed /usr/X11R6/lib/X11/fonts/misc/fonts.alias 
fixed        -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso8859-1

If you didn't mess with this or the other default font paths, then either your
install of XFree86 is broken, or you installed the
XFree86-4-{server,libraries,clients} ports/packages without installing the
corresponding font port, x11-fonts/XFree86-4-fontDefaultBitmaps.
In either case, reinstalling that last port should help, but it may not
be the correct solution.

> > For best results, grab more TTF fonts from a Windows machine [1],
> > install them, and ditch all 75dpi/100dpi fontpaths.
> And how to ditch all 75dpi/100dpi fontpaths?

Just remove them from your font path. Make sure you test this using
xset(1) before you do this permanently in your XF86Config file.

If you make sure you have lines like the following in your .Xdefaults:

XTerm*Font: fixed
*Font: -microsoft-tahoma-medium-r-normal--12-120-100-100-p-0-iso8859-1

(where you can of course choose other fonts if you want to), most
X applications will use some other font than the default 'fixed' (with
the exception of xterm, where proportional fonts don't work as well).

--Stijn

-- 
"Linux has many different distributions, meaning that you can
probably find one that is exactly what you want (I even found
one that looked like a Unix system)."
		-- Mike Meyer, freebsd-questions@freebsd.org,
			in message <15252.28617.61423.224978@guru.mired.org>

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011022085452.A18806>