Tag Archives: confluence

Larger fonts for XBMC in Raspbian

Edit the file /usr/share/xbmc/addons/skin.confluence/720p/Font.xml and add the following code inside the <fonts> block:

    <fontset id="Massive" idloc="31393" unicode="true"> 
    <!-- Normal Fonts -->
        <font>
            <name>font10</name>
            <filename>Roboto-Regular.ttf</filename>
            <size>14</size>
        </font>
        <font>
            <name>font12</name>
            <filename>Roboto-Regular.ttf</filename>
            <size>23</size>
        </font>
        <font>
            <name>font13</name>
            <filename>Roboto-Regular.ttf</filename>
            <size>25</size>
        </font>
        <font>
            <name>font14</name>
            <filename>Roboto-Regular.ttf</filename>
            <size>25</size>
        </font>
        <font>
            <name>font16</name>
            <filename>Roboto-Regular.ttf</filename>
            <size>25</size>
        </font>
        <font>
            <name>font30</name>
            <filename>Roboto-Regular.ttf</filename>
            <size>30</size>
        </font>
        <font>
            <name>fontContextMenu</name>
            <filename>Roboto-Regular.ttf</filename>
            <size>25</size>
        </font>


    <!-- Title Fonts -->
        <font>
            <name>font10_title</name>
            <filename>Roboto-Bold.ttf</filename>
            <size>12</size>
        </font>
        <font>
            <name>font12_title</name>
            <filename>Roboto-Bold.ttf</filename>
            <size>17</size>
        </font>
        <font>
            <name>font13_title</name>
            <filename>Roboto-Bold.ttf</filename>
            <size>20</size>
        </font>
        <font>
            <name>font24_title</name>
            <filename>Roboto-Bold.ttf</filename>
            <size>24</size>
        </font>
        <font>
            <name>font28_title</name>
            <filename>Roboto-Bold.ttf</filename>
            <size>28</size>
        </font>
        <font>
            <name>font30_title</name>
            <filename>Roboto-Bold.ttf</filename>
            <size>30</size>
        </font>
        <font>
            <name>font35_title</name>
            <filename>Roboto-Bold.ttf</filename>
            <size>35</size>
        </font>
        <font>
            <name>font45caps_title</name>
            <filename>Roboto-Bold.ttf</filename>
            <size>45</size>
        </font>
        <font>
            <name>font_MainMenu</name>
            <filename>Roboto-Bold.ttf</filename>
            <style>uppercase</style>
            <size>40</size>
        </font>
        <font>
            <name>WeatherTemp</name>
            <filename>Roboto-Bold.ttf</filename>
            <size>80</size>
        </font>
    </fontset>

To select the newly created fontset go to “System > Settings > Appearance > Skin > Fonts” and change it to the blank value.

Settings.appearance.skin

If you edit the file /usr/share/xbmc/addons/skin.confluence/720p/language/English/strings.po (or the corresponding file to your current language) and add the following code at the end it should appear “Massive” and not a blank text in the fonts option but that didn’t work for me though:

msgctxt "#31911"
msgid "Massive"
msgstr ""

Ref: http://forum.xbmc.org/showthread.php?tid=127671