1
0
Fork 0
mirror of https://github.com/Ellpeck/MLEM.git synced 2024-11-25 05:58:35 +01:00
Commit graph

16 commits

Author SHA1 Message Date
Ell
78d73c2417 only leave generic font test comparison wiggle room for KNI, and make it 10% 2024-10-26 14:54:43 +02:00
Ell
f5e64eb719 clean up structure of tests that use TestGame 2024-10-26 14:41:36 +02:00
Ell
4c378f7cd9 Fixed formatting codes at the start of strings not being added to the AllCodes collection
Closes #26
2024-09-29 12:17:47 +02:00
Ell
ea8ec69dd6 Added MLEM.KNI and friends, which are fully compatible with KNI 2024-09-02 19:55:28 +02:00
Ell
f1740b7b32 Added TextFormatter.StripAllFormatting 2023-05-19 19:30:45 +02:00
Ell
b374d50815 Allow formatting codes to have an arbitrary custom width 2022-12-06 16:49:19 +01:00
Ell
791c66b098 code cleanup 2022-10-27 10:22:25 +02:00
Ell
8d689952cc Made GenericFont and TokenizedString support UTF-32 characters like emoji 2022-10-15 13:48:45 +02:00
Ell
0a696941dc cleaned up code 2022-08-20 11:39:28 +02:00
Ell
aabb1ed5df added .editorconfig 2022-06-17 18:23:47 +02:00
Ell
f7cf9460d6 Renamed GenericFont.OneEmSpace to Emsp (and marked OneEmSpace as obsolete) 2022-01-24 11:16:23 +01:00
Ell
c9c9e566b1 Throw an exception when text formatter macros resolve recursively too many times 2021-11-22 17:50:17 +01:00
Ell
9aef994c51 Added GenericFont SplitStringSeparate which differentiates between existing newline characters and splits due to maximum width 2021-10-12 03:23:35 +02:00
Ell
60bc320604 added tests for ensuring genericfont correctness compared to regular font 2021-04-19 14:30:03 +02:00
Ell
e7ab8fefe8 improved performance of SplitString and re-added Zwsp compatibility 2021-04-14 23:13:19 +02:00
Ell
6e2db418c5 added some more unit tests for string splitting and formatting 2021-04-14 02:38:54 +02:00