Welcome to the Cumulus Support forum.

Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)

Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki

If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080

Font in the forecast

Discussion of Mark Crossley's HTML5/Javascript gauges

Moderator: mcrossley

Post Reply
grottem
Posts: 44
Joined: Sat 07 Nov 2009 3:43 pm
Weather Station: WP1400
Operating System: XP SP3
Location: Tønsberg, Norway
Contact:

Font in the forecast

Post by grottem »

Is it possible to change the fonts in the forecast?
I hoping that I can have the 1 letter in upper case and the rest in lower case.
Is it possible??
User avatar
mcrossley
Posts: 14384
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Font in the forecast

Post by mcrossley »

At the moment you can only select between the digital font and the default sans-serif font on your browser. This is via one of the config params at the top of the script. The digital font is limited in the characters it can display.

The font for the gauges and the forecast can be set independently.
grottem
Posts: 44
Joined: Sat 07 Nov 2009 3:43 pm
Weather Station: WP1400
Operating System: XP SP3
Location: Tønsberg, Norway
Contact:

Re: Font in the forecast

Post by grottem »

Thanks for the reply.
Looking at your page that you have the fonts the way I want (capitalized and subsequently lower case).
User avatar
mcrossley
Posts: 14384
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Font in the forecast

Post by mcrossley »

The forecast text is coming from Cumulus though, my scripts don't do anything with it other than display it?

Do you need to edit your strings.ini ?
grottem
Posts: 44
Joined: Sat 07 Nov 2009 3:43 pm
Weather Station: WP1400
Operating System: XP SP3
Location: Tønsberg, Norway
Contact:

Re: Font in the forecast

Post by grottem »

grottem.com/ver/gauges-ss.htm
You can look at the text to the weather forecast, it's just appearance of the font I want to change (want something like your).
User avatar
mcrossley
Posts: 14384
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Font in the forecast

Post by mcrossley »

Try...

digitalFont : true, //Font control for the gauges & timer
digitalForecast : false, //Font control for the status display, set this to false for languages that use accented characters in the forecasts
grottem
Posts: 44
Joined: Sat 07 Nov 2009 3:43 pm
Weather Station: WP1400
Operating System: XP SP3
Location: Tønsberg, Norway
Contact:

Re: Font in the forecast

Post by grottem »

Thank you - that did it!!! :clap:
Post Reply