TangoGPS font size for speed indicator

Stefan Fröbe frobiac at googlemail.com
Tue Jan 5 18:55:57 CET 2010


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
> --
> View this message in context:
> http://n2.nabble.com/TangoGPS-font-size-for-speed-indicator-tp4256370p4256370.html
> Sent from the Openmoko Community mailing list archive at Nabble.com.
>
> _______________________________________________
> Openmoko community mailing list
> community at lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openmoko.org/pipermail/community/attachments/20100105/4e14d55b/attachment.htm 


More information about the community mailing list