Alvin wrote: Right now I am experimenting with
> different font sizes like 11px and 12px.
> 
> The thing that gives me doubts that different font size is the solution is
> that, and correct me if I'm wrong, FLTK uses X's dpi setting for font
> rendering. If that is the case, then either my dpi configuration in X is
> wrong and/or KDE4 is using a different dpi setting?
> 
> Alvin

In case anyone is interested, here's a patch that changes the default label
size from 14 to 12 (patch created using SVN diff of r6636).

----8<-----

Index: Fl_Widget.cxx
===================================================================
--- src/Fl_Widget.cxx   (revision 6636)
+++ src/Fl_Widget.cxx   (working copy)
@@ -81,7 +81,7 @@
 }
 
 /** Default font size for widgets */
-Fl_Fontsize FL_NORMAL_SIZE = 14;
+Fl_Fontsize FL_NORMAL_SIZE = 12;
 
 Fl_Widget::Fl_Widget(int X, int Y, int W, int H, const char* L) {
 


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

Reply via email to