Jump to content

Recommended Posts

I think you just put it in fonts folder and name it, for exaple: opensans50__german.zip, then:

Translator().defaultlang = german

But your font needs to be in zip, and it should be done as font.tex(texture) and font.fnt(atlas).

 

Info what font is for what:

Spoiler

DEFAULTFONT = "opensans"
DIALOGFONT = "opensans"
TITLEFONT = "bp100"
UIFONT = "bp50"
BUTTONFONT="buttonfont"
NUMBERFONT = "stint-ucr"
TALKINGFONT = "talkingfont"
TALKINGFONT_WATHGRITHR = "talkingfont_wathgrithr"
TALKINGFONT_WORMWOOD = "talkingfont_wormwood"
SMALLNUMBERFONT = "stint-small"
BODYTEXTFONT = "stint-ucr"

FONTS = {
    { filename = "fonts/talkingfont"..font_posfix..".zip", alias = "talkingfont" },
    { filename = "fonts/talkingfont_wathgrithr.zip", alias = "talkingfont_wathgrithr" },
    { filename = "fonts/talkingfont_wormwood.zip", alias = "talkingfont_wormwood" },
    { filename = "fonts/stint-ucr50"..font_posfix..".zip", alias = "stint-ucr" },
    { filename = "fonts/stint-ucr20"..font_posfix..".zip", alias = "stint-small" },
    { filename = "fonts/opensans50"..font_posfix..".zip", alias = "opensans" },
    { filename = "fonts/belisaplumilla50"..font_posfix..".zip", alias = "bp50" },
    { filename = "fonts/belisaplumilla100"..font_posfix..".zip", alias = "bp100" },	
    { filename = "fonts/buttonfont"..font_posfix..".zip", alias = "buttonfont" },
}

 

 

Edited by zetake

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
×
  • Create New...