Kodi Community Forum
How to change the fallback Arial-based font - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Android (https://forum.kodi.tv/forumdisplay.php?fid=164)
+---- Thread: How to change the fallback Arial-based font (/showthread.php?tid=379279)



How to change the fallback Arial-based font - mahdif62 - 2024-10-27

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.


RE: How to change the fallback Arial-based font - izprtxqkft - 2024-10-27

(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


RE: How to change the fallback Arial-based font - mahdif62 - 2024-10-27

Thanks, but I want to change the Arial font (the so-called fallback), the one that is available regardless of the skin in use.


RE: How to change the fallback Arial-based font - mahdif62 - 2024-10-27

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.


RE: How to change the fallback Arial-based font - Hitcher - 2024-10-27

https://kodi.wiki/view/Fonts#How_to_add_a_new_Font


RE: How to change the fallback Arial-based font - mahdif62 - 2024-10-27

Thanks. I followed the guide and added a couple of fonts to media/Fonts but they won't show up in any skin settings.


RE: How to change the fallback Arial-based font - Hitcher - 2024-10-28

Please show the Font.xml files you created for each skin.


RE: How to change the fallback Arial-based font - scott967 - 2024-10-28

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.
.


RE: How to change the fallback Arial-based font - mahdif62 - 2024-11-02

(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