Are you sure that the file /usr/share/fonts/truetype/FreeSerif.ttf does 
exist on your system? On my debian stretch based system FreeSerif.ttf is in 
the /usr/share/fonts/truetype/freefont directory. The WeeWX image generator 
will silently fall back to a default font (including size) if a specified 
font cannot be loaded.

One other thing you might like to try is to remove the override that sets 
anti-alias 
= 2, in my brief testing this morning I found that there unexpected font 
size side affects when anti-alias was set to 2. Putting it back to 1 (the 
default) seemed to fix things. Not sure if this is peculiar to my system or 
some unexpected side affect in the WeeWX code base.

Gary

On Sunday, 23 September 2018 05:54:36 UTC+10, Cat22 wrote:
>
> Hi,
>   I tried what you suggested with the bottom_label_font_path and size 
> restarted weewx and waited until it updated and i see no difference.
> I made sure the path pointed to the specified font FreeSerif.ttf and set 
> the size to 12 but nothing changes.
>
>  [[SteelSeries]]
>         skin = ss
>         HTML_ROOT = public_html/ss
>         [[[ImageGenerator]]]
>             anti_alias = 2
>             bottom_label_path = /usr/share/fonts/truetype/FreeSerif.ttf
>             bottom_label_size = 12
>             axis_label_path = /usr/share/fonts/truetype/FreeSerif.ttf
>             axis_label_size = 12
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to