GNOME Bugzilla – Bug 75189
Clock applet font size should change depending on the size of the panel
Last modified: 2015-03-24 13:00:35 UTC
Clock panel font size should change depending on the size of the panel. This is important for accesibility for users with impaired vision.
Hrm. Should this really be 'all panel fonts should resize'? None of them do ATM, do they?
Yeah it probably should be all applets in general(icons and text) should resize based on the size of the panel. If you would like i can Open one bug refering to this and close the few bugs i already opened as dupes of it. When i reported these i wasn't sure if this was a per applet problem or panel in general so i filed them seperately (note most application launcher icons already resize).
No, these are individual applet specific bugs.
wait, clock uses the font from your theme. If the user with impaired vision needs large fonts, the she/he just makes theme font larger. Alternatively, I believe you can change the font with theme mechanism something like widget "clock.GtkLabel" style "large_font" However, setting custom font was requested way back in bug 22405.
Gediminas: maybe we could markup the label with <big> or <small> if the panel is x-large or x-small ? That way we're not overidding the theme ...
Is this actually p3 in any way? Shouldn't this just be a WONTFIX along Gediminas' comment?
Initially I marked it coz the bug appears in the list of important accessibility bugs in : http://developer.gnome.org/projects/gap/tech- docs/access-bugs.html as Significant, but not stopper. Gediminas' : this didn't seem to work for me : widget "clock.GtkLabel" style "large_font" That apart I agree we should be using font size & font's from themes. Otherwise we would be overriding themes, which is not good.
No we shouldn't overide the theme font size ... BUT, if its a large panel, it makes sense to have the clock font larger than the usual system font size .. and conversly if the panel is really, really small it makes sense to have the font size smaller. This can be done with Pango font markup tags without overiding the theme font size. I don't think its a huge accessibility issue, as I imagine for accessibility purposes you would usually change the system font size, not just make the panel bigger.
Mark, if I try to set markup tags like : txt = g_strdup_printf ("<span size='xx-large'> %s </span?", utf8); gtk_label_set_markup (label, txt); The font size is large but it overrides the themes. I also tried something like size=bigger, didn't work, and if it did then it would be mean that the font is relatively bigger than the theme font size. In which case we would not obey the themes. Am I overlooking something here ? > I don't think its a huge accessibility issue, as I imagine for > accessibility purposes you would usually change the system font > size, not just make the panel bigger Right, so if we try to change the size using Pango markup tags, then we need to do this for all other applet's that have text e.g. mailcheck applet. Otherwise it will not look consistent. In which it is easier to change the font size in the themes directly :)
I agree this is probably NOTABUG; fonts on the panel should respect the theme sizes rather than the panel size. If the font/panel icon sizes are bigger than the panel size, the panel should auto-resize to cope (which it now does). If they're smaller, then you get gaps... deal with it :o) (The whole idea of being able to make the panel bigger or smaller in its Properties dialog-- especially to specific pixel sizes-- is completely pointless IMHO, at least until you have the freedom to arrange everything on it in rows if you want to.)