So, i found an snippet from Sphere for an python screensaver, using the default skinning engine.
So no more C++ dizzle for screensavers.
This was my first python experiment, so carefully opened up the code.
After an hour of cursing, testing, restarting i got it working:
![[Image: screenshot002.png]]()
This is with font WeatherTemp (Default in confluence)
BUT:
I added an Font.xml and the fonts in the Font dir, but the fon't won't get loaded...
Instead xbmc uses the Fonts from skin instead of applying my fonts to the plugin
Font.xml
As soon i change the font to TimeLabel the size decreases alot.
Directory structure
So can anyone explain and / or help me how to increase the font size.
So no more C++ dizzle for screensavers.
This was my first python experiment, so carefully opened up the code.
After an hour of cursing, testing, restarting i got it working:
![[Image: screenshot002.png]](http://s7.postimg.org/a3lz6309n/screenshot002.png)
This is with font WeatherTemp (Default in confluence)
BUT:
I added an Font.xml and the fonts in the Font dir, but the fon't won't get loaded...
Instead xbmc uses the Fonts from skin instead of applying my fonts to the plugin
Font.xml
Code:
<fonts>
<fontset id="Default" idloc="31390" unicode="true">
<!-- Normal Fonts -->
<font>
<name>TimeLabel</name>
<filename>Roboto-Regular.ttf</filename>
<size>144</size>
</font>
</fontset>
</fonts>
Directory structure
Code:
.
├── LICENSE.txt
├── README.md
├── _screenshots
│ └── screenshot001.png
├── addon.xml
├── default.py
├── fanart.png
├── icon.png
└── resources
├── settings.xml
└── skins
└── default
├── 720p
│ ├── Font.xml
│ └── script-Clock Screensaver-main.xml
├── fonts
│ ├── DejaVuSans-Bold-Caps.ttf
│ ├── NOTICE.txt
│ ├── README.txt
│ ├── Roboto-Bold.ttf
│ └── Roboto-Regular.ttf
└── media
└── black.png
So can anyone explain and / or help me how to increase the font size.