Oh -- I have never installed fonts separately, and have a few weewx 
installs. I used setup.py as always. --Phil

On Saturday, January 19, 2019 at 6:10:08 PM UTC-6, mwall wrote:
>
> On Saturday, January 19, 2019 at 1:26:46 PM UTC-5, Messy Potamia wrote:
>>
>>
>> I ftp'd the /usr/share/fonts/truetype/freefont/ directory from the jessie 
>> lite to the stretch lite, reloaded, and now they're as expected.
>>
>
> at some point you probably installed fonts using apt-get - on debian 
> systems, /usr/share/fonts is where system-installed fonts end up.
>
> if you want to future-proof your skins and make them independent of the 
> operating system on which you are running, then create a 'fonts' directory 
> in the 'skins' tree, and keep your fonts there.  then refer to the fonts 
> specifically in your skin.conf or weewx.conf.
>
> for an example, take a look at the Seasons skin in the soon-to-be-released 
> weewx 3.9:
>
> https://github.com/weewx/weewx/tree/development/skins/Seasons
>
> you can see the actual fonts in the 'font' directory:
>
> https://github.com/weewx/weewx/tree/development/skins/Seasons/font
>
> notice that there are truetype fonts for the images, and webfonts for the 
> html pages.
>
> the tt fonts are referred to in the ImageGenerator section of skin.conf:
>
> https://github.com/weewx/weewx/blob/development/skins/Seasons/skin.conf
>
> the web fonts are specified once in the @font-face section of the skin's 
> css file:
>
> https://github.com/weewx/weewx/blob/development/skins/Seasons/seasons.css
>
> hope that helps!
>
> m
>

-- 
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