Perzival12 Posted 10 hours ago Report Share Posted 10 hours ago I want to add some custom fonts and typefaces to Hyrule Conquest, but 0 A.D. seems to use custom files, a .png and a .fnt file. Is there a python script to write the .fnt file, or can I just write one, or what? Quote Link to comment Share on other sites More sharing options...
Dunedan Posted 1 hour ago Report Share Posted 1 hour ago In r28 the font engine got replaced, so you could use any FreeType or OpenType font. All you have to do is add it in the right location (it's binaries/data/mods/mod/fonts/ by default, but should work with any mod too) and change you config to use them. Here is how that'd need to look in your config: https://gitea.wildfiregames.com/0ad/0ad/src/commit/6ca52a0b23a311910e259cddf4ddab747374f22d/binaries/data/config/default.cfg#L659-L710 If you are stuck with Hyrule Conquest on a27, check out source/tools/fontbuilder2/fontbuilder.py for how to build the font files. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.