VMD-L Mailing List
From: John Stone (johns_at_ks.uiuc.edu)
Date: Fri Feb 10 2012 - 09:04:57 CST
- Next message: Salvatore Mario Cosseddu: "Re: change of font"
- Previous message: Salvatore Mario Cosseddu: "Re: Stand-alone VMD ?"
- In reply to: lecan: "change of font"
- Next in thread: Salvatore Mario Cosseddu: "Re: change of font"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Luis,
It appears that one can set the TkCon font when it is first
launched, when running it as a standalone script, so with a little
bit of work I suspect it would not be hard to make the VMD plugin-ized
version of TkCon do the same thing:
http://tkcon.sourceforge.net/docs/start.html
They apparently support both a command line flag...:
tkcon.tcl -font "Courier 12" -load Tk
...as well as an internal variable that you can apparently set...:
::tkcon::OPT(font)
...and a TkCon resource file configuration line variation:
tkcon font Courier 12; # valid everywhere
The resource file approach is the one that would probably be the
easiest to use with the VMD plugin-ized version of TkCon.
As described at the top of the TkCon docs, you would just edit a
.tkconrc file (unix) or tkcon.cfg (Windows/Mac).
Cheers,
John Stone
vmd_at_ks.uiuc.edu
On Thu, Feb 09, 2012 at 08:01:17PM -0600, lecan wrote:
>
> Hi everybody,
> Does anybody know how to change the font type and size of the tkconsole
> in vmd for unix? The current font is not very readable and I wish to
> change it.
>
> Thanks in advance,
>
> Luis L.
-- NIH Resource for Macromolecular Modeling and Bioinformatics Beckman Institute for Advanced Science and Technology University of Illinois, 405 N. Mathews Ave, Urbana, IL 61801 http://www.ks.uiuc.edu/~johns/ Phone: 217-244-3349 http://www.ks.uiuc.edu/Research/vmd/ Fax: 217-244-6078
- Next message: Salvatore Mario Cosseddu: "Re: change of font"
- Previous message: Salvatore Mario Cosseddu: "Re: Stand-alone VMD ?"
- In reply to: lecan: "change of font"
- Next in thread: Salvatore Mario Cosseddu: "Re: change of font"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]