how to set font from command line?

Andrew Stanaski astan at cadence.com
Mon Oct 12 16:42:41 CEST 2009


You can use xfontsel to generate a font spec string.

Andy S.

Matthijs van Aalten wrote:
> Hi,
> 
> Don't ask me what all this means, but:
> nedit -font -adobe-courier-medium-r-normal--18-*-*-*-*-*-*
> ... sets my NEdit font to courier medium, 18-points.
> 
> I opened my $HOME/.nedit/nedit.rc file; somewhere at the bottom were some font specifications. I simply copied them and used them for the -font argument. Modify to your needs...
> 
> Regards,
> Matthijs
> 
> 
> 
> -----Original Message-----
> From: discuss-bounces at nedit.org [mailto:discuss-bounces at nedit.org] On Behalf Of tom arnall
> Sent: Monday 12 October 2009 4:38
> To: General list
> Subject: how to set font from command line?
> 
> how do you set the nedit font to, say, adobe medium 12 point, from the 
> command line? no doubt it's with '-font', but i can find nothing in 
> the doc's or googling that tells the exact syntax of the arguments 
> to '-font'.
> 
> tx,
> 
> tom arnall
> arcata
> 
> 


More information about the Discuss mailing list