gtk2/gdk
Tor Lillqvist 018d098240 Don't use TextOutW for GDK_FONT_FONT fonts (which is all we have for now,
1999-10-14  Tor Lillqvist  <tml@iki.fi>

* gdk/win32/gdkdraw.c (gdk_draw_text_wc): Don't use TextOutW for
GDK_FONT_FONT fonts (which is all we have for now, we don't
emulate fontsets). The X11 version uses plain XDrawString in that
case, too. The string passed to gdk_draw_text_wc seems to be in
fact (at least, when used by gtkentry and gtktext) either in a
single-byte charset, or a DBCS. Not Unicode.

This fixes the problem in gtkfontsel, where even if you had
selected a font with a non-Latin1 charset (windows-greek, for
instance), the preview still used Latin-1 glyphs.

* gdk/win32/gdkfont.c (gdk_text_width_wc): Similar change. Don't
use GetTextExtentPoint32W, use GetTextExtentPoint32A.
(gdk_font_load): Recognize the demibold etc weights, even if we
don't have the corresponding constants in the headers.
(gdk_font_hash_insert): Use same hash mechanism as in the X11
version. Should save font resources a bit, when we don't have
multiple HFONTs for the same font.

* gdk/win32/gdkprivate.h: Add the names field as in the X11
version.
1999-10-13 21:46:33 +00:00
..
win32 Don't use TextOutW for GDK_FONT_FONT fonts (which is all we have for now, 1999-10-13 21:46:33 +00:00
x11 (since noone objected on gtk-devel) 1999-10-11 20:13:49 +00:00
.cvsignore upgrade to libtool 1.3.2 (BeOS changes merged) 1999-06-02 18:45:22 +00:00
COPYING [ Merges from gtk-1-2 ] 1999-09-28 20:19:13 +00:00
gdk.c (since noone objected on gtk-devel) 1999-10-11 20:13:49 +00:00
gdk.h Fix a reference to window_private->destroyed. 1999-10-03 22:12:41 +00:00
gdkcc.c Started 1999-10-01 23:18:30 +00:00
gdkcc.h Started 1999-10-01 23:18:30 +00:00
gdkcolor.c Started 1999-10-01 23:18:30 +00:00
gdkcolor.h Started 1999-10-01 23:18:30 +00:00
gdkcompat.h Started compatibility header for renames. 1999-10-04 02:59:52 +00:00
gdkconfig.h Started 1999-10-01 23:18:30 +00:00
gdkcursor.c Fix a reference to window_private->destroyed. 1999-10-03 22:12:41 +00:00
gdkcursor.h Started 1999-10-01 23:18:30 +00:00
gdkcursors.h Merge from themes-2. See the ChangeLog for a somewhat detailed 1998-11-06 22:05:02 +00:00
gdkdnd.c Fix a reference to window_private->destroyed. 1999-10-03 22:12:41 +00:00
gdkdnd.h Started 1999-10-01 23:18:30 +00:00
gdkdraw.c Fix a reference to window_private->destroyed. 1999-10-03 22:12:41 +00:00
gdkdrawable.h Fix a reference to window_private->destroyed. 1999-10-03 22:12:41 +00:00
gdkevents.c Fix a reference to window_private->destroyed. 1999-10-03 22:12:41 +00:00
gdkevents.h Started 1999-10-01 23:18:30 +00:00
gdkfont.c Started 1999-10-01 23:18:30 +00:00
gdkfont.h Started 1999-10-01 23:18:30 +00:00
gdkgc.c Fix a reference to window_private->destroyed. 1999-10-03 22:12:41 +00:00
gdkgc.h Started 1999-10-01 23:18:30 +00:00
gdkglobals.c [ Merges from gtk-1-2 ] 1999-09-28 20:19:13 +00:00
gdki18n.h Move widechar tests from `glib' to here, since those were meant only for 1999-03-14 03:27:33 +00:00
gdkim.c Fix a reference to window_private->destroyed. 1999-10-03 22:12:41 +00:00
gdkim.h Started 1999-10-01 23:18:30 +00:00
gdkimage.c Fix a reference to window_private->destroyed. 1999-10-03 22:12:41 +00:00
gdkimage.h Change GDK_WINDOWING_WIN32 usage to #ifdef also here. 1999-10-02 22:42:58 +00:00
gdkinput.c Fix a reference to window_private->destroyed. 1999-10-03 22:12:41 +00:00
gdkinput.h Started 1999-10-01 23:18:30 +00:00
gdkinputcommon.h Fix a reference to window_private->destroyed. 1999-10-03 22:12:41 +00:00
gdkinputgxi.h Added notice to look in AUTHORS and ChangeLog files for a list of changes. 1999-02-24 07:37:18 +00:00
gdkinputnone.h Added notice to look in AUTHORS and ChangeLog files for a list of changes. 1999-02-24 07:37:18 +00:00
gdkinputprivate.h Started 1999-10-01 23:18:30 +00:00
gdkinputxfree.h Added notice to look in AUTHORS and ChangeLog files for a list of changes. 1999-02-24 07:37:18 +00:00
gdkkeysyms.h Merged changes from gtk-1-0. Check ChangeLog for details. 1998-05-01 04:23:59 +00:00
gdkpixbuf-drawable.c Changed 'pixbuf' variable to 'art_pixbuf' in the core function. 1999-10-10 07:20:37 +00:00
gdkpixmap.c Fix a reference to window_private->destroyed. 1999-10-03 22:12:41 +00:00
gdkpixmap.h Change GDK_WINDOWING_WIN32 usage to #ifdef also here. 1999-10-02 22:42:58 +00:00
gdkprivate.h Fix a reference to window_private->destroyed. 1999-10-03 22:12:41 +00:00
gdkproperty.c Fix a reference to window_private->destroyed. 1999-10-03 22:12:41 +00:00
gdkproperty.h Started 1999-10-01 23:18:30 +00:00
gdkrectangle.c Started 1999-10-01 23:18:30 +00:00
gdkregion.c Added notice to look in AUTHORS and ChangeLog files for a list of changes. 1999-02-24 07:37:18 +00:00
gdkregion.h Started 1999-10-01 23:18:30 +00:00
gdkrgb.c Change GDK_WINDOWING_WIN32 usage to #ifdef also here. 1999-10-02 22:42:58 +00:00
gdkrgb.h Started 1999-10-01 23:18:30 +00:00
gdkselection.c Fix a reference to window_private->destroyed. 1999-10-03 22:12:41 +00:00
gdkselection.h Started 1999-10-01 23:18:30 +00:00
gdktypes.h correct checking for BeOS check 1999-10-04 19:03:05 +00:00
gdkvisual.c Started 1999-10-01 23:18:30 +00:00
gdkvisual.h Started 1999-10-01 23:18:30 +00:00
gdkwindow.c Fix a reference to window_private->destroyed. 1999-10-03 22:12:41 +00:00
gdkwindow.h Fix a reference to window_private->destroyed. 1999-10-03 22:12:41 +00:00
gdkx.h Fix a reference to window_private->destroyed. 1999-10-03 22:12:41 +00:00
gdkxid.c Added notice to look in AUTHORS and ChangeLog files for a list of changes. 1999-02-24 07:37:18 +00:00
Makefile.am Include gdk/gdkdrawable.h with gdk/ prefix. (Pointed out by 1999-10-03 18:09:00 +00:00
MwmUtil.h Account for the fact that Xlib expects format == 32 to be a long, even on 1999-02-21 20:55:04 +00:00
TODO Fix a reference to window_private->destroyed. 1999-10-03 22:12:41 +00:00