[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [g-i] fonts: a few thoughts



Denis Barbier wrote:
On Mon, Jan 23, 2006 at 03:37:00PM +0100, Attilio Fiandrotti wrote:
[...]

Since a script that detects what kind of framebuffer we have and decide if enabling or disabling DFB's HW acceleration accordingly already has to be developed, then we could also check in the same script for the FB's resolution, set a corresponding pair of GTK_FRONTEND_WIDTH and GTK_FRONTEND_HEIGHT global variables and calucalate the most appropriate value for GTK_FONT_DEFAULT_SIZE. Since we want to provide an hight-contrast theme for visual impaired people too, choosable at boot time via a special boot parameter, the very same script could also be useful to set an higher GTK_FONT_DEFAULT_SIZE than in the case the standard GTK theme is used.


But if I am more visually impaired than the target of this theme, and
need bigger fonts?  Users should always have a chance to modify these
settings.

of course, you can change the font's size whenever you want, the GTK frontend reparses the gtkrc file every time a question is displayed.

BTW I am interested in implementing a theme similar to
HighContrastLargePrintInverse (found in gnome-accessibility-themes)
for the g-i, can you please roughly explain how to proceed?

It would look like the the attached PNG (simply don't mind the background of the question's description and ext. desc: i will un-hadrcode it from the GTK frontend as soon as we have a default theme). To put a GTK theme inside the g-i ISO, simply copy the /usr/share/themes/<my favourite theme> into the same place in the g-i ISO and set the /etc/gtk-2.0/gtkrc file accordindly, like this

gtk-theme-name = "<my favourite theme>"

and of coyurse use the latest cdebconf from SVN.
Is HighContrastLargePrintInverse GPL'ed? in this case we could package it into its own udeb (or maybe in the sabe udeb where also the default theme will be placed too) after having stripped all the unused PNGs (actually HighContrastLargePrintInverse it's 576 kb big). By the way, how can we get someone to draw a default GTK theme for the installer? I tried to contact James Olson <james.d_AT_earthlink.net> , author of H20-gtk2-Ruby [1] but that email address no longer exists and i couldn't fine another one. I also looked at debian-desktop but that's a really low-traffic where spammers only usually post :(

ciao

Attilio

[1] http://art.gnome.org/themes/gtk2/409

PNG image


Reply to: