转载:https://seo-michael.co.uk/tutorial-how-to-change-fonts-in-kodi-xbmc/
将xxx.ttf字体放到:
.kodi/media/Fonts/xxx.ttf
设置 → 播放器 → 语言 → 文本字幕字体 → 选择你添加的字体
字体可以选择windows的字体,比如微软雅黑。
How to Add and Change Fonts in Kodi
This guide will show you how to change the font on your Kodidevice. I won't just be showing how to change the font in settings; we'll be adding a new font and then changing the font on the main menu.
Although I am just showing the main menu font change I have added a link at the bottom to a Google Doc that I have created and this will details the different changes you can make to do system wide font changes.
This guide is done using the Aeon Nox 5 Mod by Silvo. A great skin that is well worth checking out.
As a Kodi user I recommend using a VPN. This will help unlock geo-blocked content, unblock sources and keep you anonymous online. You can get 25% off any package from IPVanish using the checkout code SEOM
- Go to a font site and download a font. I used 1001 Free Fonts
- If downloaded as a zip open the zip then open the directory so you have a file called example.ttf (ttf files work, otf files don't)
- We now need to move the file to the fonts folder in Kodi. These font files need to be placed inside the font folder of the skin you are changing. The location of your skin file can be found at:
OS X
~/Library/Application Support/Kodi/addons/
Android
Android/data/org.xbmc.kodi/files/.kodi/addons/
Windows
Start - type %APPDATA%\kodi\addons - press Enter
Linux
~/.kodi/addons/
OpenElec
/storage/.kodi/addons/
As I am using Aeon Nox Silvo Mod I would look for skin.aeon.nox.silvo. You would then open that directory, open the font directory inside there and place the .ttf file in there.
The font is now in place. We now need to edit Font.xml. Depending on what skin you are using the path will be exactly the same up until the /addons/ section. When you arrive there you must then look for the directory named after youer skin - if you are attempting this I will presume that you can easily find that.
To find the Fonts.xml file navigate to:
OS X
~/Library/Application Support/Kodi/addons/skin.aeon.nox.silvo/1080i/Font.xml
Android
Android/data/org.xbmc.kodi/files/.kodi/addons/skin.aeon.nox.silvo/1080i/Font.xml
Windows
Start - type %APPDATA%\kodi\addons\skin.aeon.nox.silvo\1080i\Font.xml - press Enter
Linux
~/.kodi/addons/skin.aeon.nox.silvo/1080i/Font.xml
OpenElec
/storage/.kodi/addons/skin.aeon.nox.silvo/1080i/Font.xml
IMPORTANT! - MAKE A BACKUP COPY OF THE FONT.XML FILE SO YOU CAN REPLACE IT IF NECESSARY
Open Font.xml
-
In Font.xml you will see a lot of different entries for the different fonts used for different sections of the Kodi Interface. As I said I will be editing the Main Menu Font which looks like this
<font> <name>font_MainMenu</name> <filename>somefontname.ttf</filename> <linespacing>0</linespacing> <size>96</size> </font>
I would replace the somefontname.ttf with the font I want to replace it with. In this case hardrock.ttf
<font>
<name>font_MainMenu</name>
<filename>hardrock.ttf</filename>
<linespacing>0</linespacing>
<size>96</size>
</font>
- Save the file
- Restart Kodi / XBMC
The new font showing in Kodi.
Here is the link to my Google Doc. This doc is old so line numbers will probably be wrong (I will update it soon)