* Feb 15 17:49 Dan Espen <[EMAIL PROTECTED]>: > Johan Svedberg <[EMAIL PROTECTED]> writes: > > Hi! > > > > Basically what I would like to do is something like this: > > > > DefaultFont foo bar > > > > Where FVWM would use bar if foo is not availible on the system. Very > > similar to the way it falls back on 'fixed'. > > > > Another nice thing would be to be able to say something like this in > > the configuration file: > > > > + "XTerm" Exec exec xterm -fn $[DefaultFont] & > > > > Or is there currently some way to accomplish what I'm trying to do > > here? > > You could PipeRead a shell that does something like this: > > xlsfonts -fn $1 2>&1 | grep unmatched >/dev/null 2>&1 if [ $? = 0 ] ; > then printf "SetEnv DefaultFont $2" else printf "SetEnv DefaultFont > $1" fi
Yeah, I thought about doing something like that. The problem I had was that xlsfonts won't show FreeType fonts, you don't happend to know a good way to list those? [...] -- Johan Svedberg, [EMAIL PROTECTED], http://johan.svedberg.pp.se/ -- Visit the official FVWM web page at <URL: http://www.fvwm.org/>. To unsubscribe from the list, send "unsubscribe fvwm" in the body of a message to [EMAIL PROTECTED] To report problems, send mail to [EMAIL PROTECTED]
