I updated the font selection dialog in the TclTk gui to work like the one in the development wxPython gui. It now uses d.font –l to create a font list, which is displayed for selection in a listbox widget.
Michael
Michael Barton, Professor of Anthropology
School of Human Evolution & Social Change
Center for Social Dynamics & Complexity
Arizona State University
I updated the font selection dialog in the TclTk gui to work like the
one in the development wxPython gui. It now uses d.font l to create a
font list, which is displayed for selection in a listbox widget.
Nice. Works well and simpler to use.
font=FreeSans + d.grid is very nice in the GUI where it is anti-aliased,
but not in a xmon where it isn't.
Thanks. Glad it works. I like the simplicity too. Thanks for suggesting the
d.font -l idea. No need to decide a priori if you want stroke fonts or
TrueType, or pick a directory to select from.
Michael
On 5/8/07 9:56 PM, "Hamish" <hamish_nospam@yahoo.com> wrote:
Michael Barton wrote:
I updated the font selection dialog in the TclTk gui to work like the
one in the development wxPython gui. It now uses d.font l to create a
font list, which is displayed for selection in a listbox widget.
Nice. Works well and simpler to use.
font=FreeSans + d.grid is very nice in the GUI where it is anti-aliased,
but not in a xmon where it isn't.
Hamish
__________________________________________
Michael Barton, Professor of Anthropology
School of Human Evolution & Social Change
Center for Social Dynamics & Complexity
Arizona State University