Author: manolo
Date: 2011-02-18 23:36:29 -0800 (Fri, 18 Feb 2011)
New Revision: 8444
Log:
Minor improvement of the Fl_Graphics_Driver::text_extents() function used only 
if
a graphics driver does not properly implement text extents calculation.

Modified:
   branches/branch-1.3/src/Fl_Device.cxx

Modified: branches/branch-1.3/src/Fl_Device.cxx
===================================================================
--- branches/branch-1.3/src/Fl_Device.cxx       2011-02-18 17:22:43 UTC (rev 
8443)
+++ branches/branch-1.3/src/Fl_Device.cxx       2011-02-19 07:36:29 UTC (rev 
8444)
@@ -68,7 +68,8 @@
 {
   w = (int)width(t, n);
   h = - height();
-  dx = dy = 0;
+  dx = 0;
+  dy = descent();
 }
 
 

_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit

Reply via email to