Interesting enough, the FL_NORMAL_SIZE on fltk 1.1 is 14 but a comment on the 
right of the declaration specifies 12..
Still, the real problem on unix platform is the new UTF8 text related 
modifications that semm to alter the rendering drastically.

I noticed recently the the horizontal text length at same sizes between 1.1 and 
1.3 is bit bigger in 1.3, so you were right on that point.
Just having a look to the input demo and the selection_color button easily 
demonstrates the problem.

Also, there is a problem of vertical spacing too, just type some text with 
chars like j and g and notice that on multiline it is alas altered with default 
font (at least).
I'm checking this with related greg recent STR 2122.

Fabien

> 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