Commit 15c81f52 authored by Alexander Larsson's avatar Alexander Larsson Committed by Alexander Larsson
Browse files

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.
parent 5995baab
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
......
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
......
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
......
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
......
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
......
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
......
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;
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment