diff options
author | Tor Lillqvist <tml@iki.fi> | 1999-10-20 22:58:37 +0000 |
---|---|---|
committer | Tor Lillqvist <tml@src.gnome.org> | 1999-10-20 22:58:37 +0000 |
commit | b1c28ea6561e1ba494dfacf114e6c2dda36829b8 (patch) | |
tree | 4aa88c05bcaa91512d88cacd04c5428354b52f4c /gdk/win32/gdkprivate-win32.h | |
parent | d8ce1977dde12b9de2e5331ef614c47e96ce0aff (diff) | |
download | gtk+-b1c28ea6561e1ba494dfacf114e6c2dda36829b8.tar.gz |
Add more font private data.
1999-10-21 Tor Lillqvist <tml@iki.fi>
* gdk/win32/gdkprivate.h: Add more font private data.
* gdk/win32/gdkfont.c
* gdk/win32/gdkdraw.c: Revamped handling of multi-byte charset
fonts and strings. Now works much better. You still have to
have a correct font selected, though. No fontset emulation yet.
Diffstat (limited to 'gdk/win32/gdkprivate-win32.h')
-rw-r--r-- | gdk/win32/gdkprivate-win32.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/gdk/win32/gdkprivate-win32.h b/gdk/win32/gdkprivate-win32.h index 5df4fe7358..a45044d8e6 100644 --- a/gdk/win32/gdkprivate-win32.h +++ b/gdk/win32/gdkprivate-win32.h @@ -42,6 +42,14 @@ #define CLR_INVALID CLR_NONE #endif +/* Some charsets are missing */ +#ifndef JOHAB_CHARSET +#define JOHAB_CHARSET 130 +#endif +#ifndef VIETNAMESE_CHARSET +#define VIETNAMESE_CHARSET 163 +#endif + /* MB_CUR_MAX is missing */ #ifndef MB_CUR_MAX extern int *__imp___mb_cur_max; @@ -300,6 +308,10 @@ struct _GdkFontPrivate guint ref_count; GSList *names; + DWORD charset; + UINT codepage; + CPINFO cpinfo; + FONTSIGNATURE fs; }; struct _GdkCursorPrivate |