gtk2/gdk/win32
Tor Lillqvist 0ad4aa57d6 New font private structures, related to fontsets.
1999-11-07  Tor Lillqvist  <tml@iki.fi>

* gdk/win32/gdkprivate.h: New font private structures, related to
fontsets.

* gdk/win32/gdkfont.c: New functions gdk_font_list_new() and
gdk_font_list_free(). On X11, will just be wrappers to
XListFonts() and XFreeFontNames(). On Win32, the code previously
in gtkfontsel.c is now here.

New function gdk_font_xlfd_create(). On X11 will get the FONT
property of the font (for GDK_FONT_FONTs), or call
XBaseFontNameListOfFontSet (for GDK_FONT_FONTSETs), on Win32
builds a XLFD style name from the font information in the LOGFONT
struct(s).

New function gdk_font_xlfd_free(), which correspondingly frees the
string returned by gdk_font_xlfd_create().

Implement fontsets on Win32. Add a function that iterates over a
wide char string and calls a callback function for each substring
of wide chars from the same Unicode subrange (and thus probably
available in the same real font).

Improve the XLFD emulation a bit.

* gdk/win32/gdkim.c (gdk_nmbstowchar_ts): Small bugfix.

* gdk/win32/gdkevents.c: Workaround for suspected bug on Win2k
Beta3, WM_IME_CHAR messages don't seem to contain the composed
multi-byte char as with the Active IMM on Win9x. Oh well, handle
WM_IME_COMPOSITION with GCS_RESULTSTR instead, use
ImmGetCompositionStringW() to get the composed Unicode chars.

* gdk/win32/gdkgc.c
* gdk/win32/gdkdraw.c: Changes needed because of the font private
struct changes.

* gdk/win32/gdk.def: Add the new functions.
1999-11-08 00:09:29 +00:00
..
rc Delete the gdk_DC when exiting, just to be sure. 1999-09-21 19:12:50 +00:00
gdk-win32.def New font private structures, related to fontsets. 1999-11-08 00:09:29 +00:00
gdk.c New font private structures, related to fontsets. 1999-11-08 00:09:29 +00:00
gdk.def New font private structures, related to fontsets. 1999-11-08 00:09:29 +00:00
gdkcc.c Change GDK_WINDOWING_WIN32 usage to #ifdef also here. 1999-10-02 22:42:58 +00:00
gdkcolor-win32.c Change GDK_WINDOWING_WIN32 usage to #ifdef also here. 1999-10-02 22:42:58 +00:00
gdkcolor.c Change GDK_WINDOWING_WIN32 usage to #ifdef also here. 1999-10-02 22:42:58 +00:00
gdkconfig.h New font private structures, related to fontsets. 1999-11-08 00:09:29 +00:00
gdkcursor-win32.c Corresponding changes as in X11 backend. 1999-10-05 19:04:48 +00:00
gdkcursor.c Corresponding changes as in X11 backend. 1999-10-05 19:04:48 +00:00
gdkdnd-win32.c Don't define HAVE_DIMM_H if MSC, as you have to get the Platform SDK to 1999-11-04 23:42:51 +00:00
gdkdnd.c Don't define HAVE_DIMM_H if MSC, as you have to get the Platform SDK to 1999-11-04 23:42:51 +00:00
gdkdraw.c New font private structures, related to fontsets. 1999-11-08 00:09:29 +00:00
gdkdrawable-win32.c New font private structures, related to fontsets. 1999-11-08 00:09:29 +00:00
gdkevents-win32.c New font private structures, related to fontsets. 1999-11-08 00:09:29 +00:00
gdkevents.c New font private structures, related to fontsets. 1999-11-08 00:09:29 +00:00
gdkfont-win32.c New font private structures, related to fontsets. 1999-11-08 00:09:29 +00:00
gdkfont.c New font private structures, related to fontsets. 1999-11-08 00:09:29 +00:00
gdkgc-win32.c New font private structures, related to fontsets. 1999-11-08 00:09:29 +00:00
gdkgc.c New font private structures, related to fontsets. 1999-11-08 00:09:29 +00:00
gdkglobals-win32.c New font private structures, related to fontsets. 1999-11-08 00:09:29 +00:00
gdkglobals.c New font private structures, related to fontsets. 1999-11-08 00:09:29 +00:00
gdkim-win32.c New font private structures, related to fontsets. 1999-11-08 00:09:29 +00:00
gdkim.c New font private structures, related to fontsets. 1999-11-08 00:09:29 +00:00
gdkimage-win32.c Corresponding changes as in X11 backend. 1999-10-05 19:04:48 +00:00
gdkimage.c Corresponding changes as in X11 backend. 1999-10-05 19:04:48 +00:00
gdkinput-win32.c Add new keysyms from X11R6.4 (including EuroSign). 1999-10-31 21:35:39 +00:00
gdkinput.c Add new keysyms from X11R6.4 (including EuroSign). 1999-10-31 21:35:39 +00:00
gdkinputprivate.h A few includes added for the picky MSVC compiler. 1999-10-02 22:53:45 +00:00
gdkmain-win32.c New font private structures, related to fontsets. 1999-11-08 00:09:29 +00:00
gdkpixmap-win32.c Add new keysyms from X11R6.4 (including EuroSign). 1999-10-31 21:35:39 +00:00
gdkpixmap.c Add new keysyms from X11R6.4 (including EuroSign). 1999-10-31 21:35:39 +00:00
gdkprivate-win32.h New font private structures, related to fontsets. 1999-11-08 00:09:29 +00:00
gdkprivate.h New font private structures, related to fontsets. 1999-11-08 00:09:29 +00:00
gdkproperty-win32.c Corresponding changes as in X11 backend. 1999-10-05 19:04:48 +00:00
gdkproperty.c Corresponding changes as in X11 backend. 1999-10-05 19:04:48 +00:00
gdkregion-win32.c Change GDK_WINDOWING_WIN32 usage to #ifdef also here. 1999-10-02 22:42:58 +00:00
gdkregion.c Change GDK_WINDOWING_WIN32 usage to #ifdef also here. 1999-10-02 22:42:58 +00:00
gdkselection-win32.c Add new keysyms from X11R6.4 (including EuroSign). 1999-10-31 21:35:39 +00:00
gdkselection.c Add new keysyms from X11R6.4 (including EuroSign). 1999-10-31 21:35:39 +00:00
gdkvisual-win32.c Change GDK_WINDOWING_WIN32 usage to #ifdef also here. 1999-10-02 22:42:58 +00:00
gdkvisual.c Change GDK_WINDOWING_WIN32 usage to #ifdef also here. 1999-10-02 22:42:58 +00:00
gdkwin32.h New font private structures, related to fontsets. 1999-11-08 00:09:29 +00:00
gdkwin32id.c Change GDK_WINDOWING_WIN32 usage to #ifdef also here. 1999-10-02 22:42:58 +00:00
gdkwindow-win32.c Don't define HAVE_DIMM_H if MSC, as you have to get the Platform SDK to 1999-11-04 23:42:51 +00:00
gdkwindow.c Don't define HAVE_DIMM_H if MSC, as you have to get the Platform SDK to 1999-11-04 23:42:51 +00:00
gdkx.h New font private structures, related to fontsets. 1999-11-08 00:09:29 +00:00
gdkxid.c Change GDK_WINDOWING_WIN32 usage to #ifdef also here. 1999-10-02 22:42:58 +00:00
makefile.cygwin Don't define HAVE_DIMM_H if MSC, as you have to get the Platform SDK to 1999-11-04 23:42:51 +00:00
makefile.msc Don't define HAVE_DIMM_H if MSC, as you have to get the Platform SDK to 1999-11-04 23:42:51 +00:00
surrogate-dimm.h Add new keysyms from X11R6.4 (including EuroSign). 1999-10-31 21:35:39 +00:00