Perzival12 Posted Friday at 22:27 Report Share Posted Friday at 22:27 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 Saturday at 06:37 Report Share Posted Saturday at 06:37 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...
Perzival12 Posted 1 hour ago Author Report Share Posted 1 hour ago On 27/2/2026 at 10:37 PM, Dunedan said: 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 So if I want to include my new fonts for download in the mod, I have to include a custom config file specifying them? I can’t just specify them in the GUI file that uses them? 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.