Date: Tue, 23 Oct 2001 01:39:18 +0200 From: Grzegorz Czaplinski <gregory@prioris.mini.pw.edu.pl> To: Stijn Hoop <stijn@win.tue.nl> Cc: questions@freebsd.org Subject: Re: Fonts fonts fonts Message-ID: <20011023013918.G60627@prioris.mini.pw.edu.pl> In-Reply-To: <20011022085452.A18806@pcwin002.win.tue.nl>; from stijn@win.tue.nl on Mon, Oct 22, 2001 at 08:54:52AM %2B0200 References: <200110190858.f9J8wef83074@gilberto.physik.rwth-aachen.de> <20011019111324.C59108@pcwin002.win.tue.nl> <20011021184311.A37139@prioris.mini.pw.edu.pl> <20011022085452.A18806@pcwin002.win.tue.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Oct 22, 2001 at 08:54:52AM +0200, Stijn Hoop wrote: > Hi, Hi, thanks for the answer. ;> > 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. > Well, right, good point. > > 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 > The same output on my side. Quite strange, it can't find this. > 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. > No, I didn't install XFree86-4. I have XFree86, version 3. Anyway I think I have just solved the problem. I had a closer look at the links you provided, and there was an advice to add such line in /etc/XF86Config: FontPath "unix/:7101" To make TrueType available, xfstt must be run. I commented out my FontPath "/usr/X11R6/lib/X11/webfonts line in /etc/XF86Config, started X'es and found much more fonts in my netscape than there were prior adding the above line. That works for me, but I can't change the size of some of the fonts. The default size is 0. Is that OK? I can't still run X'es with webfonts support. I also found that xfstt, by default looks into /usr/X11R6/lib/X11/fonts/TrueType, but not into /usr/X11R6/lib/X11/fonts/webfonts. Forcing it with --dir /path/to/\ webfonts does not make any difference. Error message is as previously. Maybe I should upgrade my X'es to the newer version? > > > 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). A ha, now I understand. Thanks for the help again. Best regards, gregory -- 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?20011023013918.G60627>