Ethereal-cvs: [ethereal-cvs] cvs commit: ethereal capture.c globals.h prefs.c prefs.h

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Sun, 20 Aug 2000 02:53:39 -0500 (CDT)
guy         2000/08/20 02:53:35 CDT

  Modified files:
    .                    capture.c globals.h prefs.c prefs.h 
  Log:
  Instead of having the normal-weight and bold fonts set separately,
  generate the name of the boldface font from the Roman font; if the two
  fonts don't have the same widths, the display will look weird when a
  field is selected, and it's a bit of a pain for the user to have to
  select *two* fonts.
  
  On UNIX/X, default to
  "-*-fixed-medium-r-semicondensed-*-*-120-*-*-*-*-*-" rather than to
  "-*-lucidatypewriter-medium-r-normal-*-*-120-*-*-*-*-iso8859-1" - some
  Linux distributions appear to lack the Lucida typewriter font.
  
  Add a "gui.font_name" preference to the preferences file, specifying the
  normal-weight font to use.  Have it settable from the "GUI" tab in the
  Preferences dialog box - the "Font..." button, when clicked, pops up a
  font selection dialog box.
  
  If we either can't open the selected font or the boldfaced version of
  the font, default to "6x13" and "6x13bold" as fallbacks - the former
  will probably be "fixed", and the latter would be "fixedbold" if X
  actually created such an alias, but it doesn't so we use "6x13bold"
  instead.
  
  Revision  Changes    Path
  1.121     +2 -2      ethereal/capture.c
  1.21      +1 -3      ethereal/globals.h
  1.37      +14 -1     ethereal/prefs.c
  1.21      +7 -6      ethereal/prefs.h