mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 10:50:10 +00:00
Update to the new pango win32 api.
2001-08-09 Alexander Larsson <alexl@redhat.com> * gdk/win32/gdkfont-win32.c: Update to the new pango win32 api.
This commit is contained in:
parent
2a80b70a2e
commit
cdb59b8949
@ -1,3 +1,8 @@
|
||||
2001-08-09 Alexander Larsson <alexl@redhat.com>
|
||||
|
||||
* gdk/win32/gdkfont-win32.c:
|
||||
Update to the new pango win32 api.
|
||||
|
||||
2001-08-08 HideToshi Tajima <tajima@eng.sun.com>
|
||||
|
||||
* gtk/gtkclipboard.c (request_text_received_func): ask apps for
|
||||
|
@ -1,3 +1,8 @@
|
||||
2001-08-09 Alexander Larsson <alexl@redhat.com>
|
||||
|
||||
* gdk/win32/gdkfont-win32.c:
|
||||
Update to the new pango win32 api.
|
||||
|
||||
2001-08-08 HideToshi Tajima <tajima@eng.sun.com>
|
||||
|
||||
* gtk/gtkclipboard.c (request_text_received_func): ask apps for
|
||||
|
@ -1,3 +1,8 @@
|
||||
2001-08-09 Alexander Larsson <alexl@redhat.com>
|
||||
|
||||
* gdk/win32/gdkfont-win32.c:
|
||||
Update to the new pango win32 api.
|
||||
|
||||
2001-08-08 HideToshi Tajima <tajima@eng.sun.com>
|
||||
|
||||
* gtk/gtkclipboard.c (request_text_received_func): ask apps for
|
||||
|
@ -1,3 +1,8 @@
|
||||
2001-08-09 Alexander Larsson <alexl@redhat.com>
|
||||
|
||||
* gdk/win32/gdkfont-win32.c:
|
||||
Update to the new pango win32 api.
|
||||
|
||||
2001-08-08 HideToshi Tajima <tajima@eng.sun.com>
|
||||
|
||||
* gtk/gtkclipboard.c (request_text_received_func): ask apps for
|
||||
|
@ -1,3 +1,8 @@
|
||||
2001-08-09 Alexander Larsson <alexl@redhat.com>
|
||||
|
||||
* gdk/win32/gdkfont-win32.c:
|
||||
Update to the new pango win32 api.
|
||||
|
||||
2001-08-08 HideToshi Tajima <tajima@eng.sun.com>
|
||||
|
||||
* gtk/gtkclipboard.c (request_text_received_func): ask apps for
|
||||
|
@ -1,3 +1,8 @@
|
||||
2001-08-09 Alexander Larsson <alexl@redhat.com>
|
||||
|
||||
* gdk/win32/gdkfont-win32.c:
|
||||
Update to the new pango win32 api.
|
||||
|
||||
2001-08-08 HideToshi Tajima <tajima@eng.sun.com>
|
||||
|
||||
* gtk/gtkclipboard.c (request_text_received_func): ask apps for
|
||||
|
@ -1,3 +1,8 @@
|
||||
2001-08-09 Alexander Larsson <alexl@redhat.com>
|
||||
|
||||
* gdk/win32/gdkfont-win32.c:
|
||||
Update to the new pango win32 api.
|
||||
|
||||
2001-08-08 HideToshi Tajima <tajima@eng.sun.com>
|
||||
|
||||
* gtk/gtkclipboard.c (request_text_received_func): ask apps for
|
||||
|
@ -1584,20 +1584,10 @@ gdk_font_from_description (PangoFontDescription *font_desc)
|
||||
|
||||
if (font)
|
||||
{
|
||||
gint n_subfonts;
|
||||
PangoWin32Subfont *subfont_ids;
|
||||
|
||||
n_subfonts = pango_win32_list_subfonts (font, PANGO_WIN32_U_BASIC_LATIN,
|
||||
&subfont_ids);
|
||||
if (n_subfonts > 0)
|
||||
{
|
||||
LOGFONT *lfp =
|
||||
pango_win32_font_subfont_logfont (font, subfont_ids[0]);
|
||||
result = gdk_font_from_one_singlefont (gdk_font_load_logfont (lfp));
|
||||
g_free (lfp);
|
||||
}
|
||||
|
||||
g_free (subfont_ids);
|
||||
LOGFONT *lfp =
|
||||
pango_win32_font_logfont (font);
|
||||
result = gdk_font_from_one_singlefont (gdk_font_load_logfont (lfp));
|
||||
g_free (lfp);
|
||||
|
||||
g_object_unref (G_OBJECT (font));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user