Hi !
I would like to know if there is any way to tweak the space between the lines of a text, for example in a label, or space bewteen the items of a listbox.
My problem is that I use some fonts that sometimes the letters are walking "one on another"...
I don't know if such parameter can be set in AGS ?
It's "LineSpacing", could be found in the font properties.
In regards to the problem, the TTF fonts in AGS currently have the issue of incorrectly reporting their size in some cases, I'm currently looking into this problem for 3.6.0.
Great !
The LineSpacing can't be modified in runtime ?
Quote from: Baguettator on Wed 20/10/2021 16:46:42
The LineSpacing can't be modified in runtime ?
No, it's readonly. In theory this may be changed if really necessary, but tbh I cannot think of a proper use case. It's a font's property, which means that it will affect all places where this font is drawn at once.
If you need the Line Spacing different for different controls (ListBoxes, Labels, etc), you can duplicate the font and have different versions of it for each control. E.g. eFontListBox with Linespacing = 2, eFontLabel with Linespacing = 3, etc.