Posts: 3,956
Joined: Dec 2008
Reputation:
62
Yeah let's be nice to our fellow script-ers. However, I fail to see how those fonts would help in say lyric script. But if others see this differently, I'll make a few font tags.
Posts: 3,640
Joined: Sep 2009
Reputation:
121
In my case IIRC I wanted them for my addon XSqueeze (a controller for an external music player).
I wanted to build a comprehensive info screen that would ideally work at least tolerably well on all skins. This has some Now Playing, upcoming, artist bio text etc - and i don't want it all the same size. If one can rely on, say, 4 standard sizes being available, that would give some flexibility - kinda like in html
e.g.:
Header 1
Header 2
Body
Small
As it is I have to distribute multiple skin files via that add on wiki, and they get out of date etc. Much easier if a few basics were in place for all 'official' (i.e. in master repo) skins...
Addons I wrote &/or maintain:
OzWeather (Australian BOM weather) | Check Previous Episode | Playback Resumer | Unpause Jumpback | Caber Toss | Switchback | XSqueezeDisplay | Kodi 2nd Display
Sorry, no help w/out a
*full debug log*.
Posts: 3,660
Joined: Feb 2008
Reputation:
93
Jeroen
Team-Kodi Member
Posts: 3,660
I have to agree with pecinko, I don't think it really solves anything.
I'm willing to provide the font tags too though, but I already include Confluence's font tags in my skin as not including them caused problems with certain add-ons when using my skin. If this proposition becomes a "standard" I'd like it to be communicated to add-on developers as such. Im not including these font tags AND Confluence's tags.
Posts: 3,956
Joined: Dec 2008
Reputation:
62
Thinking about Jeroen's solution with Confluence fonts made me thinking - how about making a fallback for fonts and textures to Confluence. This way all scripts will look nice in Confluence, script authors could use all textures and fonts available in Confluence (without a need to have them in script DIR) and though it won't fit other skins it will not look out of place.
1) look in script folder
2) fallback to active skin
3) fallback to Confluence
We just add another list of fonts in Confluence (copy-paste existing ones in fact) and tag them as "System". Those would be reserved fonts.
Posts: 1,006
Joined: Apr 2009
Reputation:
62
nessus
Skilled Skinner
Posts: 1,006
This "cohabitation" between skins and python scripts was problematic from the very beginning. Actually IMO this should not consider as cohabitation. Scripts are "visitors" in the skin which are responsible for the UI/UX. Most of the python coders they don't see it like that and they code their scripts in a way that suits their needs and when that results to broken/buggy stuff the skin gets the blame.
Example, why the hell a video addon that his purpose is to provide some simple videos to the users, sets the content to TV Shows or Movies ?. Why i as skinner i have to use several visible conditions or stringcompares just to make sure that i will not have an emtpy screen with only a title with no metadata, no proper thumb ect ?
My point is that standardize some fonts size will not make any difference. The python addons section (especially the video addons) needs more strict rules and more standardization so skinners can offer a UI with more consistency and better UX because as it is now, causes UI problems to skins and it's time consuming to fix them.
Cheers
Nessus
Posts: 18,150
Joined: Aug 2007
Reputation:
704
Hitcher
Team-Kodi Member
Posts: 18,150
ie TV Show Next Aired.
I guess the 'best' way would be if we make a set of fonts based on some standard heights. That way they'll appear the same height across all skins.