Default fonts with Tcl and Tk


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Default fonts with Tcl and Tk
# 1  
Old 03-03-2009
Default fonts with Tcl and Tk

Our SAs just rebuilt all of our SunOS and Linux boxes. All the TCL tools I had developed will come up but the font is the dingbat font set. Unless I explicitly set each button, label, radiobutton, etc. with "-font = $font" (which I defint at the top to "helvetica 9"), I get the funky characters. Also, I can't figure out how to manually set the fonts for things like tk_chooseDirectory. These are coming up with the dingbat char set.

Is there a way to set the fonts one time at a system level with some sort of environmental? What can I look for that might have changed whatever it is that is causing this? I've written over a hundred scripts and I don't want to have to change the all.

Thanks for any help you can provide...


Scott E.
Login or Register to Ask a Question

Previous Thread | Next Thread
Login or Register to Ask a Question
gnome-font-viewer(1)						   User Commands					      gnome-font-viewer(1)

NAME
gnome-font-viewer - preview fonts SYNOPSIS
gnome-font-viewer filename DESCRIPTION
Use gnome-font-viewer, the Font Viewer, to preview fonts and display information about a specified font. You can use the Font Viewer to display the name, style, type, size, version, and copyright of the font. To browse the fonts installed on your system, open a file manager window and enter the following URI in the location bar: fonts:/// Double-click on an icon to display a preview of the font. OPERANDS
The following operands are supported: filename The name of the font file to be viewed. EXAMPLES
Example 1: Viewing the test.tff Font in the Font Viewer example% gnome-font-viewer test.tff EXIT STATUS
The following exit values are returned: 0 Application exited successfully >0 Application exited with failure FILES
The following files are used by this application: /usr/bin/gnome-font-viewer Executable for Font Viewer ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWgnome-desktop-prefs | +-----------------------------+-----------------------------+ |Interface stability |Volatile | +-----------------------------+-----------------------------+ SEE ALSO
Latest version of the GNOME Desktop User Guide for your platform. attributes(5), nautilus(1) NOTES
Written by Glynn Foster, Sun Microsystems Inc., 2004, 2007. SunOS 5.11 09 Nov 2007 gnome-font-viewer(1)