Multiple font style syntax help?
#1
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
Reply
#2
https://kodi.wiki/view/Label_Formatting
Reply
#3
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>
Reply
#4
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
Reply

Logout Mark Read Team Forum Stats Members Help
Multiple font style syntax help?0