Kodi Community Forum
Multiple font style syntax help? - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Skins Support (https://forum.kodi.tv/forumdisplay.php?fid=67)
+---- Forum: Skin Archive (https://forum.kodi.tv/forumdisplay.php?fid=179)
+----- Forum: (fuse)neue (https://forum.kodi.tv/forumdisplay.php?fid=276)
+----- Thread: Multiple font style syntax help? (/showthread.php?tid=367995)



Multiple font style syntax help? - Macaroni Slick - 2022-04-24

Quick question, I have an approach question:
In an XML situation, for example: <style>uppercase</style>, what would be the syntax for uppercase AND bold? Or underline AND italics?
TIA


RE: Multiple font style syntax help? - Hitcher - 2022-04-24

https://kodi.wiki/view/Label_Formatting


RE: Multiple font style syntax help? - Macaroni Slick - 2022-04-25

Thanx, not quite...

Please and thank you.

Quick question:

Syntax for doing bold, italics uppercase in this situation?

Here is the example and context:

<font>
   <name>font_mainmenu</name>
   <style>uppercase</style>
   <filename>Roboto-Regular.ttf</filename>
   <size>30</size>
  </font>


RE: Multiple font style syntax help? - Macaroni Slick - 2022-04-25

https://kodi.wiki/view/Skinning_Manual

Thanx to the skinning manual:

11.2.1 True type Fonts

True type fonts must have a .ttf suffix. For a true type font it is possible to define the size (default 20) and a style normal, bold, italics, or bolditalics. Frodo also includes lowercase or uppercase. Isengard includes capitalize. Jarvis includes lighten.


Note: Multiple styles can be used by separating them with a space.


Example:

<font> <name>font12</name> <filename>arial.ttf</name> <size>12</size> <style>uppercase lowercase capitalize bold lighten</style> <aspect>0.75</aspect> <linespacing>1.0</linespacing> </font>

Hope it helps someone else