How to change the fallback Arial-based font
#1
How can I change the Arial-based font to something else?
I want Roboto to replace arial so that I can switch to it with any skin.
Reply
#2
(2024-10-27, 13:31)mahdif62 Wrote: How can I change the Arial-based font to something else?
this is 2 different questions

to change skin fonts follow the skin wiki https://kodi.wiki/view/Fonts

to install more fonts to kodi install them into the fonts folder https://kodi.wiki/view/Kodi_data_folder#Fonts
Reply
#3
Thanks, but I want to change the Arial font (the so-called fallback), the one that is available regardless of the skin in use.
Reply
#4
Let me put it this way, I want a "Roboto-based" option in the menu for every skin instead of the default "Arial-based".

Please note I'm not talking about the main skin font, I'm talking about the alternative or "fallback" font.
Reply
#5
https://kodi.wiki/view/Fonts#How_to_add_a_new_Font
Reply
#6
Thanks. I followed the guide and added a couple of fonts to media/Fonts but they won't show up in any skin settings.
Reply
#7
Please show the Font.xml files you created for each skin.
Reply
#8
The file name "arial.ttf" is hard-coded in Kodi as a fallback if Kodi is unable to load the specified font file, often used when "font13" is specified.  There is no option for skins to set this as a font; all that has to be done via the font.xml file in the skin.

You should be able to swap out the delivered file in Kodi (not sure if you can on Android though?). 

Note that if you replace arial.ttf, you will probably break Estuary and any other skin that uses it as the actual rendering of the font depends on the font metrics so if they aren't identical the font probably won't render correctly.

scott s.
.
Reply
#9
(2024-10-28, 02:00)scott967 Wrote: The file name "arial.ttf" is hard-coded in Kodi as a fallback if Kodi is unable to load the specified font file, often used when "font13" is specified.  There is no option for skins to set this as a font; all that has to be done via the font.xml file in the skin.

You should be able to swap out the delivered file in Kodi (not sure if you can on Android though?). 

Note that if you replace arial.ttf, you will probably break Estuary and any other skin that uses it as the actual rendering of the font depends on the font metrics so if they aren't identical the font probably won't render correctly.

scott s.
.

Thanks. Solved by adding special://xbmc as source in Kodi file manager.
I replaced arial.ttf in media/Fonts with my desired font renamed to arial.ttf
Reply

Logout Mark Read Team Forum Stats Members Help
How to change the fallback Arial-based font0