Don't use the returned font sizes, as they yield too much space...

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2099 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Michael R Sweet
2002-04-18 21:07:53 +00:00
parent 7e8ec10e6d
commit c75938c4eb
+3 -3
View File
@@ -1,5 +1,5 @@
//
// "$Id: fl_font_xft.cxx,v 1.4.2.2 2002/03/09 21:33:54 spitzak Exp $"
// "$Id: fl_font_xft.cxx,v 1.4.2.3 2002/04/18 21:07:53 easysw Exp $"
//
// Xft font code for the Fast Light Tool Kit (FLTK).
//
@@ -148,7 +148,7 @@ Fl_FontSize::~Fl_FontSize() {
// XftFontClose(fl_display, font);
}
#if 1
#if 0
// Some of the line spacings these return are insanely big!
//int fl_height() { return current_font->height; }
int fl_height() { return current_font->ascent + current_font->descent; }
@@ -233,5 +233,5 @@ void fl_draw(const char *str, int n, int x, int y) {
}
//
// End of "$Id: fl_font_xft.cxx,v 1.4.2.2 2002/03/09 21:33:54 spitzak Exp $"
// End of "$Id: fl_font_xft.cxx,v 1.4.2.3 2002/04/18 21:07:53 easysw Exp $"
//