pen-to-squarenegative-chars.yml

Example

"R": '󏿺'
"S": '󏿺'
"T": '󏿺'
"U": '󏿺'
"V": '󏿺'
"W": '󏿺'
"X": '󏿺'
"Y": '󏿺'

This configuration works only if the enable-alignment parameter is set to true

What is it

When the GUI is created, all strings are checked (GUI title, item names, and their descriptions). If a <font:font_name>some text</font> block is found in a string, characters specified in negative-chars.yml are appended to the end of that block. A direct use case is using character pairs from Negative Space Font: https://github.com/AmberWat/NegativeSpaceFontarrow-up-right This is required to align the text.

That is, this mechanism transforms the string "Aa" into "Aa󏿺󏿺".

Unfortunately, line breaks cannot be used in the GUI title, so several separate fonts had to be created (each font has a different height). Horizontal text offset is handled using the mechanism described above. As a result, each individual line (each new <font> block) is shifted horizontally by exactly the number of pixels it occupies. The ready-made configuration already includes all such character pairs for the English and Russian alphabets.

circle-exclamation
circle-check

Values

Any CHARACTER in quotes

circle-info

The character to which a paired character will be added

Last updated