public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
* Default fixed font specification?
@ 2005-07-16 17:15 Paul Gray
  2005-07-18 18:25 ` Keith Seitz
  0 siblings, 1 reply; 3+ messages in thread
From: Paul Gray @ 2005-07-16 17:15 UTC (permalink / raw)
  To: insight

[-- Attachment #1: Type: text/plain, Size: 715 bytes --]

I've integrated insight into the Bootable Cluster CD (BCCD,
http://bccd.cs.uni.edu), and think that it's really a great gdb front end for
the BCCD project.

One thing about the BCCD that is an issue is the small size (<210MB so as to
fit on a 3" CD), which means that the font selection on the image is limted.
By default, the tk back end uses a less-than-pleasing font and I would like to
know if there's a way to override this at runtime or compile time.

Thanks,

-- 
Paul Gray                                         -o)
323 Wright Hall                                   /\\
University of Northern Iowa                      _\_V
Message void if penguin violated ...  Don't mess with the penguin

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Default fixed font specification?
  2005-07-16 17:15 Default fixed font specification? Paul Gray
@ 2005-07-18 18:25 ` Keith Seitz
  2005-07-19 13:32   ` Paul Gray
  0 siblings, 1 reply; 3+ messages in thread
From: Keith Seitz @ 2005-07-18 18:25 UTC (permalink / raw)
  To: Paul Gray; +Cc: insight

On Sat, 2005-07-16 at 12:17 -0500, Paul Gray wrote:

> One thing about the BCCD that is an issue is the small size (<210MB so as to
> fit on a 3" CD), which means that the font selection on the image is limted.
> By default, the tk back end uses a less-than-pleasing font and I would like to
> know if there's a way to override this at runtime or compile time.

Yes, there are several ways to do it. The easiest is to change libui's
look-and-feel definitions, which define the "standard" font (which is
called "global/fixed".

You can edit the proc standard_look_and_feel in
src/libgui/library/looknfeel.tcl. There's a whole bunch of default font
types that are set (fixed, bold, status, italic) for both windows and
unix varieties.

Ketih

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Default fixed font specification?
  2005-07-18 18:25 ` Keith Seitz
@ 2005-07-19 13:32   ` Paul Gray
  0 siblings, 0 replies; 3+ messages in thread
From: Paul Gray @ 2005-07-19 13:32 UTC (permalink / raw)
  To: insight

[-- Attachment #1: Type: text/plain, Size: 1129 bytes --]

On Mon, Jul 18, 2005 at 11:25:22AM -0700, Keith Seitz wrote:
> On Sat, 2005-07-16 at 12:17 -0500, Paul Gray wrote:
> 
> > One thing about the BCCD that is an issue is the small size (<210MB so as to
> > fit on a 3" CD), which means that the font selection on the image is limted.
> > By default, the tk back end uses a less-than-pleasing font and I would like to
> > know if there's a way to override this at runtime or compile time.
> 
> Yes, there are several ways to do it. The easiest is to change libui's
> look-and-feel definitions, which define the "standard" font (which is
> called "global/fixed".
> 
> You can edit the proc standard_look_and_feel in
> src/libgui/library/looknfeel.tcl. There's a whole bunch of default font
> types that are set (fixed, bold, status, italic) for both windows and
> unix varieties.

Excellent.  Thanks for the pointer in the src.

-- 
Paul Gray                                         -o)
323 Wright Hall                                   /\\
University of Northern Iowa                      _\_V
Message void if penguin violated ...  Don't mess with the penguin

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-07-19 13:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-07-16 17:15 Default fixed font specification? Paul Gray
2005-07-18 18:25 ` Keith Seitz
2005-07-19 13:32   ` Paul Gray

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).