Kodi Community Forum
[MOD] Quartz Big, SDTV Fonts (Frodo) - Printable Version

Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Skins Support (https://forum.kodi.tv/forumdisplay.php?fid=67)
+---- Forum: Quartz (https://forum.kodi.tv/forumdisplay.php?fid=141)
---- Thread: [MOD] Quartz Big, SDTV Fonts (Frodo) (/showthread.php?tid=175916)



[MOD] Quartz Big, SDTV Fonts (Frodo) - joe p - 2013-10-17

[MOD] Quartz Big, SDTV Fonts (Frodo)

Here's instructions for patching Quartz skin to use 53 point fonts (normally is 36):

1. Quartz skin comes with XBMC, so first, install that.

2. Find the folder that contains the 'font.xml' file for Quartz. In Windows 8, should be in Users\YourUserName\AppData\Roaming\XBMC\Addons\skin.quartz\1080i

'AppData' is a hidden folder, so you have to show hidden folders.

3. Make a backup of 'font.xml'.

4. Paste this code into a text editor and save it as 'font.xml'. Then, replace the original file with that.

Code:
<?xml version="1.0" encoding="UTF-8"?>
<fonts>
  
<fontset id="Default" unicode="true">
    
<font>
      
<name>font13</name>
      
<filename>Default.ttf</filename>
      
<size>27</size>
      
<color>White</color>
    
</font>
    
<font>
      
<name>size14</name>
      
<filename>Default.ttf</filename>
      
<size>21</size>
    
</font>
    
<font>
      
<name>size15</name>
      
<filename>Default.ttf</filename>
      
<size>22</size>
    
</font>
    
<font>
      
<name>size16</name>
      
<filename>Default.ttf</filename>
      
<size>24</size>
    
</font>
    
<font>
      
<name>size17</name>
      
<filename>Default.ttf</filename>
      
<size>45</size>
    
</font>
    
<font>
      
<name>size18</name>
      
<filename>Default.ttf</filename>
      
<size>27</size>
    
</font>
    
<font>
      
<name>size19</name>
      
<filename>Default.ttf</filename>
      
<size>40</size>
    
</font>
    
<font>
      
<name>size20</name>
      
<filename>Default.ttf</filename>
      
<size>30</size>
    
</font>
    
<font>
      
<name>size22</name>
      
<filename>Default.ttf</filename>
      
<size>53</size>
    
</font>
    
<font>
      
<name>size22B</name>
      
<filename>Default.ttf</filename>
      
<size>33</size>
      
<style>bold</style>
    
</font>
    
<font>
      
<name>size23</name>
      
<filename>Default.ttf</filename>
      
<size>53</size>
    
</font>
    
<font>
      
<name>size24</name>
      
<filename>Default.ttf</filename>
      
<size>53</size>
    
</font>
    
<font>
      
<name>size24B</name>
      
<filename>Default.ttf</filename>
      
<size>36</size>
      
<style>bold</style>
    
</font>
    
<font>
      
<name>size25</name>
      
<filename>Default.ttf</filename>
      
<size>51</size>
    
</font>
    
<font>
      
<name>size26</name>
      
<filename>Default.ttf</filename>
      
<size>39</size>
    
</font>
    
<font>
      
<name>size26B</name>
      
<filename>Default.ttf</filename>
      
<size>39</size>
      
<style>bold</style>
    
</font>
    
<font>
      
<name>size28</name>
      
<filename>Default.ttf</filename>
      
<size>60</size>
    
</font>
    
<font>
      
<name>size28B</name>
      
<filename>Default.ttf</filename>
      
<size>42</size>
      
<style>bold</style>
    
</font>
  
</fontset>
  
<fontset id="Strong" unicode="true">
    
<font>
      
<name>font13</name>
      
<filename>Strong.ttf</filename>
      
<size>27</size>
      
<color>White</color>
    
</font>
    
<font>
      
<name>size14</name>
      
<filename>Strong.ttf</filename>
      
<size>21</size>
    
</font>
    
<font>
      
<name>size15</name>
      
<filename>Strong.ttf</filename>
      
<size>22</size>
    
</font>
    
<font>
      
<name>size16</name>
      
<filename>Strong.ttf</filename>
      
<size>24</size>
    
</font>
    
<font>
      
<name>size17</name>
      
<filename>Strong.ttf</filename>
      
<size>45</size>
    
</font>
    
<font>
      
<name>size18</name>
      
<filename>Strong.ttf</filename>
      
<size>27</size>
    
</font>
    
<font>
      
<name>size19</name>
      
<filename>Strong.ttf</filename>
      
<size>40</size>
    
</font>
    
<font>
      
<name>size20</name>
      
<filename>Strong.ttf</filename>
      
<size>30</size>
    
</font>
    
<font>
      
<name>size22</name>
      
<filename>Strong.ttf</filename>
      
<size>53</size>
    
</font>
    
<font>
      
<name>size22B</name>
      
<filename>Strong.ttf</filename>
      
<size>33</size>
      
<style>bold</style>
    
</font>
    
<font>
      
<name>size23</name>
      
<filename>Strong.ttf</filename>
      
<size>53</size>
    
</font>
    
<font>
      
<name>size24</name>
      
<filename>Strong.ttf</filename>
      
<size>53</size>
    
</font>
    
<font>
      
<name>size24B</name>
      
<filename>Strong.ttf</filename>
      
<size>36</size>
      
<style>bold</style>
    
</font>

<font>
      
<name>size25</name>
      
<filename>Strong.ttf</filename>
      
<size>51</size>
    
</font>
    
<font>
      
<name>size26</name>
      
<filename>Strong.ttf</filename>
      
<size>39</size>
    
</font>
    
<font>
      
<name>size26B</name>
      
<filename>Strong.ttf</filename>
      
<size>39</size>
      
<style>bold</style>
    
</font>
    
<font>
      
<name>size28</name>
      
<filename>Strong.ttf</filename>
      
<size>60</size>
    
</font>
    
<font>
      
<name>size28B</name>
      
<filename>Strong.ttf</filename>
      
<size>42</size>
      
<style>bold</style>
    
</font>
  
</fontset>
  
<fontset id="Light" unicode="true">
    
<font>
      
<name>font13</name>
      
<filename>Light.ttf</filename>
      
<size>27</size>
      
<color>White</color>
    
</font>
    
<font>
      
<name>size14</name>
      
<filename>Light.ttf</filename>
      
<size>21</size>
    
</font>
    
<font>
      
<name>size15</name>
      
<filename>Light.ttf</filename>
      
<size>22</size>
    
</font>
    
<font>
      
<name>size16</name>
      
<filename>Light.ttf</filename>
      
<size>24</size>
    
</font>

    <font>
      
<name>size17</name>
      
<filename>Light.ttf</filename>
      
<size>26</size>
    
</font>
    
<font>
      
<name>size18</name>
      
<filename>Light.ttf</filename>
      
<size>27</size>
    
</font>
    
<font>
      
<name>size19</name>
      
<filename>Light.ttf</filename>
      
<size>28</size>
    
</font>
    
<font>
      
<name>size20</name>
      
<filename>Light.ttf</filename>
      
<size>30</size>
    
</font>
    
<font>
      
<name>size22</name>
      
<filename>Light.ttf</filename>
      
<size>33</size>
    
</font>
    
<font>
      
<name>size22B</name>
      
<filename>Light.ttf</filename>
      
<size>33</size>
      
<style>bold</style>
    
</font>
    
<font>
      
<name>size23</name>
      
<filename>Light.ttf</filename>
      
<size>34</size>
    
</font>
    
<font>
      
<name>size24</name>
      
<filename>Light.ttf</filename>
      
<size>36</size>
    
</font>
    
<font>
      
<name>size24B</name>
      
<filename>Light.ttf</filename>
      
<size>36</size>
      
<style>bold</style>
    
</font>
    
<font>
      
<name>size25</name>
      
<filename>Light.ttf</filename>
      
<size>38</size>
    
</font>
    
<font>
      
<name>size26</name>
<filename>Light.ttf</filename>
      
<size>39</size>
    
</font>
    
<font>
      
<name>size26B</name>
      
<filename>Light.ttf</filename>
      
<size>39</size>
      
<style>bold</style>
    
</font>
    
<font>
      
<name>size28</name>
      
<filename>Light.ttf</filename>
      
<size>42</size>
    
</font>
    
<font>
      
<name>size28B</name>
      
<filename>Light.ttf</filename>
      
<size>42</size>
      
<style>bold</style>
    
</font>
  
</fontset>
  
<fontset id="Arial" idloc="31392" unicode="true">
    
<font>
      
<name>font13</name>
      
<filename>arial.ttf</filename>
      
<size>27</size>
      
<color>White</color>
    
</font>
    
<font>
      
<name>size14</name>
      
<filename>arial.ttf</filename>
      
<size>21</size>
    
</font>
    
<font>
      
<name>size15</name>
      
<filename>arial.ttf</filename>
      
<size>22</size>
    
</font>
    
<font>
      
<name>size16</name>
      
<filename>arial.ttf</filename>
      
<size>24</size>
    
</font>
    
<font>
      
<name>size17</name>
      
<filename>arial.ttf</filename>
      
<size>26</size>
    
</font>
    
<font>
      
<name>size18</name>
      
<filename>arial.ttf</filename>
      
<size>27</size>
    
</font>
    
<font>
      
<name>size19</name>
      
<filename>arial.ttf</filename>
      
<size>28</size>
    
</font>
    
<font>
      
<name>size20</name>
      
<filename>arial.ttf</filename>
      
<size>30</size>
    
</font>
    
<font>
      
<name>size22</name>
      
<filename>arial.ttf</filename>
      
<size>33</size>
    
</font>
    
<font>
      
<name>size22B</name>
      
<filename>arial.ttf</filename>
      
<size>33</size>
      
<style>bold</style>

</font>
    
<font>
      
<name>size23</name>
      
<filename>arial.ttf</filename>
      
<size>34</size>
    
</font>
    
<font>
      
<name>size24</name>
      
<filename>arial.ttf</filename>
      
<size>36</size>
    
</font>
    
<font>
      
<name>size24B</name>
      
<filename>arial.ttf</filename>
      
<size>36</size>
      
<style>bold</style>
    
</font>
    
<font>
      
<name>size25</name>
      
<filename>arial.ttf</filename>
      
<size>38</size>
    
</font>
    
<font>
      
<name>size26</name>
      
<filename>arial.ttf</filename>
      
<size>39</size>
    
</font>
    
<font>
      
<name>size26B</name>
      
<filename>arial.ttf</filename>
      
<size>39</size>
      
<style>bold</style>
    
</font>
    
<font>
      
<name>size28</name>
      
<filename>arial.ttf</filename>
      
<size>42</size>
    
</font>
    
<font>
      
<name>size28B</name>
      
<filename>arial.ttf</filename>

<size>42</size>
      
<style>bold</style>
    
</font>
  
</fontset>
</fonts>


5. Then, in XBMC, switch to Quartz skin





Extra info:

The 'font.xml' file basically just lists the font sizes (named "size17" through "size28") and their info. It repeats this four times, once for each of the four fonts (Default, Strong, Light, and Arial.)

The font size names were different than the actual font size values. For example, font "size17" was set to 26. I changed it to 45.

Here is a list of the elements changed in the "Default" font. I also changed them in "Strong", but I didn't change "Light" or "Arial".

Code:
<!-- "Script failed" message.  Max font size is 45. Change size from '26' to to '45' -->
<font>
<name>size17</name>
<filename>Default.ttf</filename>
<size>26</size>
</font>


<!-- Clock in upper right corner. Max font size is 40.  Change size from '28' to '40' -->
<font>
<name>size19</name>
<filename>Default.ttf</filename>
<size>28</size>
</font>

<!-- The descriptions under the XBMC logo on the Settings menu screen.  Change size to 53 -->
<font>
<name>size22</name>
<filename>Default.ttf</filename>
<size>33</size>
</font>

<!-- The 'Appearance' menu.  Change size to 53 -->
<font>
<name>size23</name>
<filename>Default.ttf</filename>
<size>34</size>
</font>

<!-- The settings menu, and menus inside of video addons. Change size to 53 -->
<font>
<name>size24</name>
<filename>Default.ttf</filename>
<size>36</size>
</font>

<!-- The vertical rows on the main menu.  Change to 51 -->
<font>
<name>size25</name>
<filename>Default.ttf</filename>
<size>38</size>
</font>


<!-- The category names on the main menu.  Change to 60 -->
<font>
<name>size28</name>
<filename>Default.ttf</filename>
<size>42</size>
</font>



RE: [MOD] Quartz Big, SDTV Fonts (Frodo) - rzr.online.fr - 2014-06-09

cant this be merged upstream to provide decent sdtv support ?


This forum uses Lukasz Tkacz MyBB addons.