1
0
Fork 0
mirror of https://github.com/Ellpeck/MLEM.git synced 2024-11-24 13:38:34 +01:00
Commit graph

35 commits

Author SHA1 Message Date
Ell
fa1cafd751 Added compatibility for MonoGame.Extended 4.0.0 and FNA.Extended 2024-07-10 12:03:24 +02:00
Ell
9a03a8c62d Added the ability for formatted (tokenized) strings to be drawn with custom rotation, origin and flipping
Closes #18
2024-04-10 20:27:00 +02:00
Ell
2eaf0c0cee Expose character and line spacing in GenericStashFont
closes #16
2024-01-30 20:47:05 +01:00
Ell
6a8e9639c1 updated dependencies 2023-12-13 22:11:31 +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
aabb1ed5df added .editorconfig 2022-06-17 18:23:47 +02:00
Ell
29bbd61f8b reformat and cleanup 2021-12-28 14:56:11 +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
866dad49ab Use FontStashSharp's built-in LineHeight property for GenericStashFont 2021-08-19 21:43:17 +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
e53d30e5ca propagate line height to bold and italic stash fonts 2021-07-20 03:09:17 +02:00
Ell
ebc6ec872b use a heuristic for GenericStashFont line height calculations and allow specifying a custom line height 2021-07-20 01:23:44 +02:00
Ell
a76c14b243 Adjusted GenericStashFont line height calculations to result in the same values as GenericSpriteFont 2021-07-19 23:10:27 +02:00
Ell
8078d41724 simplified GenericFont implementation 2021-04-19 14:02:28 +02:00
Ell
2741682029 fixed generic stash font line height for static sprite fonts 2021-03-29 02:54:02 +02:00
Ell
dda827b985 added GenericFont compatibility for FontStashSharp 2021-02-27 16:58:36 +01: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
3f60b2460c finished the xml documentation for all packages 2020-05-22 20:32:38 +02:00
Ellpeck
500a771136 fixed generic bitmap fonts not calculating character width correctly 2020-05-18 23:24:38 +02:00
Ellpeck
037ed43410 streamline ui text formatting and paragraph links 2020-05-17 00:10:29 +02:00
Ellpeck
80f36c78bd a lot of font cleanup 2020-03-28 22:25:06 +01:00
Ellpeck
ce50c6d569 that didn't work lol 2020-03-19 17:45:01 +01:00
Ellpeck
dd53b0681e try using a zero width space? 2020-03-19 17:42:07 +01:00
Ellpeck
3d7867feb2 possibly fix extended ignoring kerning in some cases 2020-03-19 17:36:53 +01:00
Ellpeck
e39394bce3 finished better text editing my dudes 2019-09-05 18:15:51 +02:00
Ellpeck
c3849a1ee1 get rid of this bad implicit operator 2019-08-25 19:08:59 +02:00
Ellpeck
226640ef3a simplify text rendering quite a bit after realizing that monogame deals with multiple lines on its own 2019-08-25 19:07:45 +02:00
Ellpeck
b1d41d572c added panels and paragraphs 2019-08-09 19:28:48 +02:00
Ellpeck
82747e1331 added generic font wrapper 2019-08-09 14:26:20 +02:00