Stefan Fröbe wrote:
> Don't know about any configuration options, but had the same issues and
> changed it in my geocaching patch:
> change this line in src/gps_functions.c after setting global_font_scale to
> sth like 40:
> @@ -94,7 +94,7 @@ osd_speed(gboolean force_redraw)
> layout = pango_layout_new (context);
> desc = pango_font_description_new();
> - pango_font_description_set_size (desc, 60 * PANGO_SCALE);
> + pango_font_description_set_size (desc, 60 * PANGO_SCALE *
> global_font_scale /100);
> pango_layout_set_font_description (layout, desc);
> pango_layout_set_text (layout, buffer, strlen(buffer));
> HTH, Stefan
I haven't installed the OM development stack yet, and I haven't installed
the geocaching patch. Since PANGO_SCALE looks like a global variable, I
tried to find a global pango config file, and I couldn't find anything. I
tried to set the PANGO_SCALE as a global shell variable, and no luck.
In your code snippet, it seems like that hard-coded "60" should be a
user-definable variable from the config screen or at least a config file.
I guess it's time for me to install the OM dev kit.
Thanks for the info. :)
View this message in context:
Sent from the Openmoko Community mailing list archive at Nabble.com.
Openmoko community mailing list