Kodi Community Forum
Adding Fontset in Font XML - 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)
+--- Thread: Adding Fontset in Font XML (/showthread.php?tid=362387)



Adding Fontset in Font XML - Mattmaier1975 - 2021-05-02

Hi all, i want to add a fontset to the list . I am just struggling with the idloc. 
I followed the directions here to the "T". https://kodi.wiki/view/Fonts
Whatever idloc i put in , it randomly pulls words or phrases = from I guess the skin ? 
Example :
When i put this in 
idloc="31392" unicode="true
The label is
When enabled all widgets will be hidden....etc
I can get the fonts to apply, just the label is the issue. 

How would i go about this? 

TYIA


RE: Adding Fontset in Font XML - roidy - 2021-05-02

(2021-05-02, 19:14)Mattmaier1975 Wrote: Hi all, i want to add a fontset to the list . I am just struggling with the idloc. 
I followed the directions here to the "T". https://kodi.wiki/view/Fonts
Whatever idloc i put in , it randomly pulls words or phrases = from I guess the skin ? 
Example :
When i put this in 
idloc="31392" unicode="true
The label is
When enabled all widgets will be hidden....etc
I can get the fonts to apply, just the label is the issue. 

How would i go about this? 

TYIA

Unless you really need the font name to be localized then just leave the idloc out

<fontset id="Arial">

Then the id string will be used for the font name.


RE: Adding Fontset in Font XML - Mattmaier1975 - 2021-05-02

(2021-05-02, 19:22)roidy Wrote:
(2021-05-02, 19:14)Mattmaier1975 Wrote: Hi all, i want to add a fontset to the list . I am just struggling with the idloc. 
I followed the directions here to the "T". https://kodi.wiki/view/Fonts
Whatever idloc i put in , it randomly pulls words or phrases = from I guess the skin ? 
Example :
When i put this in 
idloc="31392" unicode="true
The label is
When enabled all widgets will be hidden....etc
I can get the fonts to apply, just the label is the issue. 

How would i go about this? 

TYIA

Unless you really need the font name to be localized then just leave the idloc out

<fontset id="Arial">

Then the id string will be used for the font name.

Brilliant! Thanks!


RE: Adding Fontset in Font XML - udangaribaldi - 2021-05-15

check the number in the 'strings.po'