TangoGPS font size for speed indicator
Risto H. Kurppa
risto at kurppa.fi
Wed Jan 6 09:52:13 CET 2010
As there are now many Tangogps patches that seem to struggle to get to
the official tangogps - would it be possible to collect them all on a
single (wiki?) page? Maybe even provide a new .ipk with these patches
- I for example don't have the skills to compile it again for some
patches..
Just to make the patches usable for as many as possible.
r
On Wed, Jan 6, 2010 at 6:10 AM, William Kenworthy <billk at iinet.net.au> wrote:
> 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
>
>
>
>
>
>
> _______________________________________________
> Openmoko community mailing list
> community at lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
>
>
--
| risto h. kurppa
| risto at kurppa dot fi
| http://risto.kurppa.fi
More information about the community
mailing list