TangoGPS font size for speed indicator

William Kenworthy billk at iinet.net.au
Wed Jan 6 05:10:21 CET 2010


On Tue, 2010-01-05 at 18:55 +0100, 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
> On Tue, Jan 5, 2010 at 6:39 PM, vancel35 <vancel at thespazcat.com>
> wrote:
>         
>         I've noticed that each version that I've upgraded of TangoGPS
>         has increased
>         the font size for the speed display on the map screen.  I
>         don't need or want
>         it to take up 1/4 of the screen as it does now.  I've looked
>         inside the
>         TangoGPS config file (~.gconf/apps/tangogps/%gconf.xml), but I
>         couldn't see
>         any options to set the font size.  Although I have to admit
>         that some of the
>         config option names are slightly cryptic.
>         
>         Is there a setting to reduce the font size?
>         
>         Thanks for any info.
>         
>         -Laura
>         --

This could be a very useful fix!  I am currently rebuilding tangogps but
one thing I am not sure of - where do you "after setting
global_font_scale to sth like 40"?

I gave feed back to Martin that the digits were too large (the tangogps
developer) about the font size on early versions, but the digits keep
getting bigger each version (it seems :(

Here, many road systems run nw->sw so its real display stealer when
driving. 

BillK








More information about the community mailing list