1
0
Fork 0
mirror of https://github.com/Ellpeck/MLEM.git synced 2024-05-14 21:28:45 +02:00
Commit graph

43 commits

Author SHA1 Message Date
Ell 14d0b24aa9 cleaned up preprocessor instructions 2022-12-13 13:11:36 +01:00
Ell 170b397e02 Cleaned up GenericFont and TokenizedString by improving the splitting and truncating algorithms 2022-12-07 13:35:57 +01:00
Ell b374d50815 Allow formatting codes to have an arbitrary custom width 2022-12-06 16:49:19 +01:00
Ell d5e5d1d536 moved the new ConvertCachedUtf32 to CodePointSource 2022-10-23 21:23:16 +02:00
Ell be7676d37e fixed unnecessary memory allocations since 8d689952cc 2022-10-22 11:46:11 +02:00
Ell 8d689952cc Made GenericFont and TokenizedString support UTF-32 characters like emoji 2022-10-15 13:48:45 +02:00
Ell 5d7d238630 added MLEM.FNA 2022-06-24 14:01:26 +02:00
Ell aabb1ed5df added .editorconfig 2022-06-17 18:23:47 +02:00
Ell 59af00c89a Code cleanup, and marked AStar.InfiniteCost as obsolete 2022-06-15 11:38:11 +02:00
Ell f7cf9460d6 Renamed GenericFont.OneEmSpace to Emsp (and marked OneEmSpace as obsolete) 2022-01-24 11:16:23 +01:00
Ell 7e49eaef10 Allow for checkboxes and radio buttons to be disabled 2021-12-24 12:10:04 +01:00
Ell c060d78010 put StringBuilder overloads to use 2021-12-22 13:03:40 +01:00
Ell f5adf50823 Added StringBuilder overloads to GenericFont 2021-12-22 13:00:41 +01:00
Ell 17ed82fc3c Generify GenericFont's string drawing 2021-12-22 12:46:17 +01:00
Ell 252d06888f consistently use the default font's line height 2021-11-28 11:30:57 +01:00
Ell a11a63c067 some GenericFont code style improvements 2021-11-28 00:28:17 +01:00
Ell 293602269b prevent unnecessary allocations in GenericFont 2021-11-27 23:04:06 +01:00
Ell 53b93a34f8 Made TextFormatter string size based on the currently active font and added a formatting code to allow for inline font changes 2021-11-27 22:45:37 +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 516265bf5b Fixed GenericFont's SplitString using incorrect width for special characters and improved documentation 2021-07-28 17:22:47 +02:00
Ell 14940d39c5 added text alignment options to tokenized strings and paragraphs 2021-06-25 15:23:30 +02:00
Ell f3b3feec9b updated non-netstandard projects to net5.0 2021-04-22 02:21:36 +02:00
Ell 8078d41724 simplified GenericFont implementation 2021-04-19 14:02:28 +02:00
Ell e7ab8fefe8 improved performance of SplitString and re-added Zwsp compatibility 2021-04-14 23:13:19 +02:00
Ell 55477c6341 removed Zwsp functionality, which was incomplete and did not work 2021-04-14 00:49:33 +02:00
Ell 37609ade76 fixed DrawString in generic font ignoring text scale for alignment 2021-03-12 20:47:57 +01:00
Ell b6ef243cf4 GenericFont support for zero-width spaces 2020-12-31 17:22:51 +01:00
Ell f63a410cd2 use the actual unicode 1em space in GenericFont 2020-12-08 01:43:52 +01:00
Ell aaeda825e0 fixed some documentation issues 2020-10-06 20:14:57 +02:00
Ell b814839458 made GenericFont a GenericDataHolder 2020-09-28 20:38:56 +02:00
Ellpeck a17301504d added macros to text formatting 2020-07-01 14:30:47 +02:00
Ellpeck 7eaa1da860 fixed the new MeasureString in GenericFont not returning an empty size for empty strings 2020-06-20 15:42:36 +02:00
Ellpeck 64b9246aa5 clean up GenericFont changes 2020-06-20 12:12:34 +02:00
Ellpeck 90e0ff55d1 use a custom character for image codes rather than trying to calculate spaces 2020-06-20 01:18:27 +02:00
Ellpeck deec553b22 code cleanup 2020-06-18 17:24:35 +02:00
Ellpeck 1d38262388 only use nbsp in image codes if the font supports it 2020-06-04 22:18:53 +02:00
Ellpeck e9cc9b7d99 document raw content and text formatting 2020-05-21 12:53:42 +02:00
Ellpeck d8daa3779a start on xml documentation, yay 2020-05-20 23:59:40 +02:00
Ellpeck 037ed43410 streamline ui text formatting and paragraph links 2020-05-17 00:10:29 +02:00
Ellpeck bc61e36ac5 actually append ellipsis to the right end 2020-04-11 15:47:33 +02:00
Ellpeck e4ba2bc38f allow adding ellipsis to truncatestring 2020-04-11 15:44:55 +02:00
Ellpeck d5ce920e52 added text aligning to generic fonts 2020-04-11 15:32:01 +02:00
Ellpeck 80f36c78bd a lot of font cleanup 2020-03-28 22:25:06 +01:00
Renamed from MLEM/Extensions/SpriteFontExtensions.cs (Browse further)