Jump to content

How do I make new typefaces and fonts?


Perzival12
 Share

Recommended Posts

  • 2 months later...

So, I've been trying to get the fonts to work, and while I can replace fonts:
(config/Hyrule-Conquest-Dev.cfg)

[fonts.sans]
regular = "triforce.ttf"
bold = "triforce.ttf"
italic = "triforce.ttf"


When I try to add new fonts:
(config/Hyrule-Conquest-Dev.cfg)

[fonts.triforce]
regular = "triforce.ttf"
bold = "triforce.ttf"
italic = "triforce.ttf"


(gui/common/styles.xml)

<style name="ManualText"
        font="triforce-regular-14"
        buffer_zone="8"
        scrollbar="true"
        scrollbar_style="ModernScrollBar"
        textcolor="black"
        text_align="left"
        text_valign="center"
  />

 (gui/HC_manual/HC_manual.xml)

        <object type="image" sprite="ModernParch" size="220 30 100%-20 100%-54">
            <object name="creditsText" type="text" style="ManualText" size="20 20 100% 100%" text_align="left" scroll_top="true"/>
        </object>

I get this:
1047980492_Screenshotfrom2026-05-0811-24-31.thumb.png.b3229ade7bce89606e5810868e317ba0.png

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...