On Thu, Feb 20, 2003 at 11:59:57PM -0600, Will Trillich wrote: > On Thu, Feb 20, 2003 at 07:11:26AM -0900, Christopher Swingley > wrote: > > * Will Trillich <[EMAIL PROTECTED]> [2003-Feb-19 23:30 AKST]: > > > xset fp+ /usr/X11/lib/fonts/freefont > > > > > > ...and i thought all would be lovely. sadly, my font menu > > > didn't change, even after restarting (and the stopping, > > > cold, and re-starting from scratch) the x window server. > > > > To add fonts "live" without having to restart your X server > > you needed to run: > > > > xset fp rehash > > > > Then the fonts should have shown up with 'xlsfonts' or one of > > the GUI tools like gtkfontsel. > > > > To make the change persist over X restarts, you'll have to > > manipulate your font paths in /etc/X11/XF86Config-4 or your > > xfs font server configuration file. > > this looks promising. > > $ xset fp rehash > > and xfonsel shows the same old fonts, and xlsfonts enumerates > them in great detail, but there's no more fonts now than before > i did apt-get install... > > plain vanilla woody/kde setup (tho i had a problem with the > 'kicker' panel -- took out the taskbar applet which shows open > windows, and all is much better now). > > why don't my new fonts show up? i think i've tried just about > everything suggested, so far... :(
The foolproof way: 1) Drop the fonts somewhere. I use /usr/local/share/fonts/ (create it if it's not there already), since it won't annoy dpkg there. 2) Add another FontPath line to your /etc/X11/XF86Config-4; there's already a bunch up the top, just copy one of them. 3) If they're pcf fonts, then run 'mkfontdir' in /usr/local/share/fonts/, as root. sudo, of course, is the neatest way to accomplish this. If they're TrueType fonts, run 'mkttfdir' instead. 4) Restart X, or if you don't want to do that quite yet, run 'xset +fp /usr/local/share/fonts/;xset fp rehash'. This command just tells the X server to firstly add /usr/local/share/fonts/ to it's list of font paths, and then to rehash it's list of available fonts. 5) Enjoy! Of course, I've not tested this, so please tell me which bits I've screwed up :-) -- Rob Weir <[EMAIL PROTECTED]> http://ertius.org/
pgp00000.pgp
Description: PGP signature