Kodi Community Forum

Full Version: pyxbmct font size
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello ,

Where Do I find the list of font size values ?

https://romanvm.github.io/script.module....html#Label

for example this value return en error :
label_url = pyxbmct.Label(self.url, font=pyxbmct.font10, alignment=pyxbmct.ALIGN_CENTER)

AttributeError: module 'pyxbmct' has no attribute 'font10'
I think (not sure) it inherits from the active skin font.xml fontset.  font13 is a generic that works in any skin.

scott s.
.
Ok Thank you
pyxbmct definitely has no attribute font10. You can find specific font names somewhere in skin files (I don't know where exactly because I'm not a skinner), but those names are skin-dependent and you cannot rely on them. It is safe to say that addons have no custom fonts support.