Path: utzoo!attcan!uunet!snorkelwacker!bloom-beacon!LARRY.MCRCIM.MCGILL.EDU!mouse From: mouse@LARRY.MCRCIM.MCGILL.EDU Newsgroups: comp.windows.x Subject: Re: help! Message-ID: <9010180640.AA13254@Larry.McRCIM.McGill.EDU> Date: 18 Oct 90 06:40:28 GMT Sender: daemon@athena.mit.edu (Mr Background) Organization: The Internet Lines: 33 > i'm using the clx interface to x, trying to use a modified font. i > modify the font via something called sfonted. i cannot seem to get > it recognized by list-fonts. list-font-names, however, does seem to > be able to find it (or rather at least its name). i've changed > font-path and created something called font.dir in that path to > contain the font file. You should not create fonts.dir (not font.dir) yourself; you should run mkfontdir on the directory in question. (Run mkfontdir; give it one argument, that being a pathname of the directory. For example, cd to the directory and run "mkfontdir .".) Does your sfonted edit the .snf file or the .bdf file? If the latter, you need to use bdftosnf to convert it to a .snf file so the server can use it. (If you use bdftosnf, run it *before* mkfontdir.) You need to run mkfontdir only when you add or delete fonts. Editing a font does not necessitate rerunning mkfontdir. bdftosnf, on the other hand, needs to be run whenever you've changed the .bdf file and want the changes to be reflected in the font as seen by the X server. (You may have to resort to some trickery to get the server to reread the .snf file. If "xset fp rehash" doesn't do it I don't know what to suggest.) At least, that's for an MIT server. You don't say whose server you're running; if it's not the MIT sample server you may need to change the above instructions (your X distribution documentation should describe the appropriate incantations). der Mouse old: mcgill-vision!mouse new: mouse@larry.mcrcim.mcgill.edu