I don't know if that will make more clear or not:
styles.xml files work a bit like CSS files. Let's consider this file to be mystyle.xml
<?xml version="1.0" encoding="utf-8"?>
<styles>
<style name="TitleText"
font="myfont-regular-14"
textcolor="white"
text_align="center"
text_valign="center" />
</styles>
for each gui page you need to include the style e.g mypage.xml
<?xml version="1.0" encoding="utf-8"?>
<page>
<include>mystyle.xml</include>
</page>
Then you can reference it in stuff contained in that page e.g
<?xml version="1.0" encoding="utf-8"?>
<object name="pgToolTip" style="TitleText" type="text" size="100%-313 25 100% 200" />
or
<?xml version="1.0" encoding="utf-8"?>
<object type="text" name="campaignDesc" style="ModernLabelText" font="myfont-regular-14" size="10 10 100%-10 100%-10">
@trompetin17 unless I'm mistaken this does not exist:
<text font="myfont-regular-14" />
and in config/mymod.cfg
[fonts.myfont]
regular = "DejaVuSansMono.ttf", "FreeMono.ttf"
I’m talking about the topic in the title, referring to the impact of sound variety. There’s nothing confusing here. If you want, ask ChatGPT to explain in Spanish what I mean. Take care.