Page 1 of 1

LuaGameScript.font_prototypes

Posted: Sat Dec 12, 2020 1:50 pm
by eradicator
Reading the available fonts would greatly help during mod gui development.

Re: LuaGameScript.font_prototypes

Posted: Sat Dec 12, 2020 2:32 pm
by Bilka
Do you need specifically all font prototypes inside the mod, or would the addition of the fonts to the prototype explorer also help with mod gui development?

Re: LuaGameScript.font_prototypes

Posted: Sat Dec 12, 2020 2:49 pm
by eradicator
Bilka wrote: Sat Dec 12, 2020 2:32 pm Do you need specifically all font prototypes inside the mod, or would the addition of the fonts to the prototype explorer also help with mod gui development?
I would like to generate a bunch of design previews with font variations to see what looks best, so i need them on the lua side too. If including the full prototypes it too much work a simple list like LuaGameScript.styles might also work (though then i can't read the font sizes).

Re: LuaGameScript.font_prototypes

Posted: Tue Jan 05, 2021 10:23 pm
by Rseding91
Ok; I added both. LuaFontPrototype and fonts to the prototype explorer GUI.

Re: LuaGameScript.font_prototypes

Posted: Fri Jan 08, 2021 10:30 pm
by eradicator
Thank you very much.