Users tend to have a wide variety of monitor resolutions, and often need
to be able to increase/decrease the font sizes of application(s) globally.
(Notebooks with tiny screens approaching 2k are barely readable)
Wondering if it wouldn't be possible for the FLTK API to help make apps
more user friendly by having a few global methods:
1) 'Global font size offset' -- An offset applied to all drawn fonts
in fltk:
> Default would be zero
> Positive values make all fonts larger.
> Negative values make all fonts smaller.
2) 'Global font minimum size' -- A minimum clamp value, so that
fonts do not get smaller than the specified point/pixel size.
This would help prevent fonts offset by #1 from getting smaller
than a given size.
> Default would be 0 indicating no minimum
> Positive values indicate minimum font size (after offsets
applied)
3) 'Global font maximum size' -- Basically the opposite of #2,
if for no other reason, for completeness. Again, '0' indicating
no maximum.
If this sounds like a good idea, raise your hand ;)
There's probably some problems with this, eg. increasing the font
sizes won't make menubars, buttons, and input prompts thicker
to accommodate larger fonts. But in spite of that, it still might be
useful..?
_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev