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:
committed by
Alexander Larsson
parent
5995baabef
commit
15c81f52d3
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user