mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-05 16:20:10 +00:00
Return positive descent.
2000-12-04 Alexander Larsson <alexl@redhat.com> * gdk/linux-fb/gdkpango-fb.c (pango_fb_font_get_metrics): Return positive descent.
This commit is contained in:
parent
5995baabef
commit
15c81f52d3
@ -1,3 +1,8 @@
|
||||
2000-12-04 Alexander Larsson <alexl@redhat.com>
|
||||
|
||||
* gdk/linux-fb/gdkpango-fb.c (pango_fb_font_get_metrics):
|
||||
Return positive descent.
|
||||
|
||||
2000-12-02 Havoc Pennington <hp@pobox.com>
|
||||
|
||||
* gtk/gtkwidget.h (struct _GtkWidgetClass): Remove "draw" virtual
|
||||
|
@ -1,3 +1,8 @@
|
||||
2000-12-04 Alexander Larsson <alexl@redhat.com>
|
||||
|
||||
* gdk/linux-fb/gdkpango-fb.c (pango_fb_font_get_metrics):
|
||||
Return positive descent.
|
||||
|
||||
2000-12-02 Havoc Pennington <hp@pobox.com>
|
||||
|
||||
* gtk/gtkwidget.h (struct _GtkWidgetClass): Remove "draw" virtual
|
||||
|
@ -1,3 +1,8 @@
|
||||
2000-12-04 Alexander Larsson <alexl@redhat.com>
|
||||
|
||||
* gdk/linux-fb/gdkpango-fb.c (pango_fb_font_get_metrics):
|
||||
Return positive descent.
|
||||
|
||||
2000-12-02 Havoc Pennington <hp@pobox.com>
|
||||
|
||||
* gtk/gtkwidget.h (struct _GtkWidgetClass): Remove "draw" virtual
|
||||
|
@ -1,3 +1,8 @@
|
||||
2000-12-04 Alexander Larsson <alexl@redhat.com>
|
||||
|
||||
* gdk/linux-fb/gdkpango-fb.c (pango_fb_font_get_metrics):
|
||||
Return positive descent.
|
||||
|
||||
2000-12-02 Havoc Pennington <hp@pobox.com>
|
||||
|
||||
* gtk/gtkwidget.h (struct _GtkWidgetClass): Remove "draw" virtual
|
||||
|
@ -1,3 +1,8 @@
|
||||
2000-12-04 Alexander Larsson <alexl@redhat.com>
|
||||
|
||||
* gdk/linux-fb/gdkpango-fb.c (pango_fb_font_get_metrics):
|
||||
Return positive descent.
|
||||
|
||||
2000-12-02 Havoc Pennington <hp@pobox.com>
|
||||
|
||||
* gtk/gtkwidget.h (struct _GtkWidgetClass): Remove "draw" virtual
|
||||
|
@ -1,3 +1,8 @@
|
||||
2000-12-04 Alexander Larsson <alexl@redhat.com>
|
||||
|
||||
* gdk/linux-fb/gdkpango-fb.c (pango_fb_font_get_metrics):
|
||||
Return positive descent.
|
||||
|
||||
2000-12-02 Havoc Pennington <hp@pobox.com>
|
||||
|
||||
* gtk/gtkwidget.h (struct _GtkWidgetClass): Remove "draw" virtual
|
||||
|
@ -1,3 +1,8 @@
|
||||
2000-12-04 Alexander Larsson <alexl@redhat.com>
|
||||
|
||||
* gdk/linux-fb/gdkpango-fb.c (pango_fb_font_get_metrics):
|
||||
Return positive descent.
|
||||
|
||||
2000-12-02 Havoc Pennington <hp@pobox.com>
|
||||
|
||||
* gtk/gtkwidget.h (struct _GtkWidgetClass): Remove "draw" virtual
|
||||
|
@ -841,7 +841,7 @@ pango_fb_font_get_metrics (PangoFont *font,
|
||||
if (metrics)
|
||||
{
|
||||
metrics->ascent = (ftf->size->metrics.ascender * PANGO_SCALE + 32) >> 6;
|
||||
metrics->descent = (ftf->size->metrics.descender * PANGO_SCALE + 32) >> 6;
|
||||
metrics->descent = ((-ftf->size->metrics.descender) * PANGO_SCALE + 32) >> 6;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user