emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Possible bug in W32 port


From: Kim F. Storm
Subject: Possible bug in W32 port
Date: 12 Mar 2003 15:23:18 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

This looks strange:

In dispextern.h, struct glyph:

#ifdef WINDOWSNT
  /* Type of font used to display the character glyph. Used to
     determine which set of functions to use to obtain font metrics
     for the glyph. Value should be an enumerator of the type
     w32_char_font_type.  */
  unsigned w32_font_type : 2;
#endif

In w32gui.h:

enum w32_char_font_type
{
  UNKNOWN_FONT,
  ANSI_FONT,
  UNICODE_FONT,
  BDF_1D_FONT,
  BDF_2D_FONT
};


2 bits make room for 4 values, so what about BDF_2D_FONT?

-- 
Kim F. Storm <address@hidden> http://www.cua.dk





reply via email to

[Prev in Thread] Current Thread [Next in Thread]