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:
Alexander Larsson 2000-12-04 12:07:41 +00:00 committed by Alexander Larsson
parent 5995baabef
commit 15c81f52d3
8 changed files with 36 additions and 1 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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;
}
}