Page 1 of 1

To add own font to the game

Posted: Tue Oct 19, 2021 6:26 pm
by Adrian
Is it possible to add own font to the game?

I would like to make font more narrow and bigger. In Mission description.
Nearly as in old Dune, like this:

Image

Re: To add own font to the game

Posted: Tue Oct 19, 2021 10:06 pm
by abcdefg30
Fonts are referenced in the "Fonts:" section of "mod.yaml", so you can add a font there. You probably want to replace the existing fonts with your own font files. (Otherwise you then need to change the relevant "Font: <font name>" entries in the .yaml files inside the "chrome" directory. Which is doable but requires some more work.)

Re: To add own font to the game

Posted: Wed Oct 20, 2021 12:49 pm
by Adrian
Thank you very much!
It works. I want to do it more than a year :-)

Now I am still trying to understand about color of font.