Skin.HasFont
#1
Is it possible to check which fontset is currently in use, much in the same way we can check with theme is in use via Skin.HasTheme? If it's not currently possible, is it probable that it'll be added at some point?
Reply
#2
I don't think it is at the moment, but it's probably not far away from being possible. Can you test to see whether you can grab the setting value as a label? (it's lookandfeel.skinfont probably?)
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#3
Nope, I tried the following:

PHP Code:
<info>LookAndFeel.SkinFont</info

but it didn't display anything?
Reply
#4
not that simple Smile

we only have access to the gui bool settings from the skins atm. we need to add a

system.getstring() just like we have system.getbool().

once we have that it would just be a comparestring(system.getstring(lookandfeel.font),<comparevalue>)
Reply
#5
Finally got around to adding this to the trac (ticket #5894)
Reply

Logout Mark Read Team Forum Stats Members Help
Skin.HasFont0