030-在Kodi中添加多种字幕的字体支持

2021-02-19  本文已影响0人  zindsia

转载: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


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

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>

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)


上一篇 下一篇

猜你喜欢

热点阅读