2013-02-05, 11:10
Hello.
I'm working on simple screensaver written in python that should display digital clock.
Currently, I just displaying time on label control. But largest font that I found in fonts.xml is WeatherTemp . It's size is only 80pt, so label with text "00:00:00" fills only ~20% of screen width. But I want label to fill whole screen.
Is there any way to define my own font in addon? I tried to put my fonts.xml into "720p" directory in my addon, but it does not work.
Alternatively, could someone suggest free LCD digits art to use in my screensaver instead of displaying text?
Also, is there any way to draw on screen from python? E.g. draw dots, lines, circles, render fonts, etc...
I'm working on simple screensaver written in python that should display digital clock.
Currently, I just displaying time on label control. But largest font that I found in fonts.xml is WeatherTemp . It's size is only 80pt, so label with text "00:00:00" fills only ~20% of screen width. But I want label to fill whole screen.
Is there any way to define my own font in addon? I tried to put my fonts.xml into "720p" directory in my addon, but it does not work.
Alternatively, could someone suggest free LCD digits art to use in my screensaver instead of displaying text?
Also, is there any way to draw on screen from python? E.g. draw dots, lines, circles, render fonts, etc...