1
0
Fork 0
mirror of https://github.com/Ellpeck/MLEM.git synced 2024-12-28 02:49:38 +01:00
Commit graph

18 commits

Author SHA1 Message Date
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