|
fdb0571860
|
xml docs and cleanup
|
2024-04-10 20:45:16 +02:00 |
|
|
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 |
|
|
e00769a4ed
|
moved out string transforms into CalculateStringTransform in preparation for #18
|
2024-04-10 18:47:10 +02:00 |
|
|
62a7a89834
|
additional text input fixes for emoji
|
2023-07-17 15:56:25 +02:00 |
|
|
fda22de83d
|
Fixed TextInput not working correctly when using surrogate pairs
|
2023-07-17 15:20:36 +02:00 |
|
|
14d0b24aa9
|
cleaned up preprocessor instructions
|
2022-12-13 13:11:36 +01:00 |
|
|
170b397e02
|
Cleaned up GenericFont and TokenizedString by improving the splitting and truncating algorithms
|
2022-12-07 13:35:57 +01:00 |
|
|
b374d50815
|
Allow formatting codes to have an arbitrary custom width
|
2022-12-06 16:49:19 +01:00 |
|
|
d5e5d1d536
|
moved the new ConvertCachedUtf32 to CodePointSource
|
2022-10-23 21:23:16 +02:00 |
|
|
be7676d37e
|
fixed unnecessary memory allocations since 8d689952cc
|
2022-10-22 11:46:11 +02:00 |
|
|
8d689952cc
|
Made GenericFont and TokenizedString support UTF-32 characters like emoji
|
2022-10-15 13:48:45 +02:00 |
|
|
0a696941dc
|
cleaned up code
|
2022-08-20 11:39:28 +02:00 |
|
|
5d7d238630
|
added MLEM.FNA
|
2022-06-24 14:01:26 +02:00 |
|
|
aabb1ed5df
|
added .editorconfig
|
2022-06-17 18:23:47 +02:00 |
|
|
59af00c89a
|
Code cleanup, and marked AStar.InfiniteCost as obsolete
|
2022-06-15 11:38:11 +02:00 |
|
|
f7cf9460d6
|
Renamed GenericFont.OneEmSpace to Emsp (and marked OneEmSpace as obsolete)
|
2022-01-24 11:16:23 +01:00 |
|
|
7e49eaef10
|
Allow for checkboxes and radio buttons to be disabled
|
2021-12-24 12:10:04 +01:00 |
|
|
c060d78010
|
put StringBuilder overloads to use
|
2021-12-22 13:03:40 +01:00 |
|
|
f5adf50823
|
Added StringBuilder overloads to GenericFont
|
2021-12-22 13:00:41 +01:00 |
|
|
17ed82fc3c
|
Generify GenericFont's string drawing
|
2021-12-22 12:46:17 +01:00 |
|
|
252d06888f
|
consistently use the default font's line height
|
2021-11-28 11:30:57 +01:00 |
|
|
a11a63c067
|
some GenericFont code style improvements
|
2021-11-28 00:28:17 +01:00 |
|
|
293602269b
|
prevent unnecessary allocations in GenericFont
|
2021-11-27 23:04:06 +01:00 |
|
|
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 |
|
|
9aef994c51
|
Added GenericFont SplitStringSeparate which differentiates between existing newline characters and splits due to maximum width
|
2021-10-12 03:23:35 +02:00 |
|
|
516265bf5b
|
Fixed GenericFont's SplitString using incorrect width for special characters and improved documentation
|
2021-07-28 17:22:47 +02:00 |
|
|
14940d39c5
|
added text alignment options to tokenized strings and paragraphs
|
2021-06-25 15:23:30 +02:00 |
|
|
f3b3feec9b
|
updated non-netstandard projects to net5.0
|
2021-04-22 02:21:36 +02:00 |
|
|
8078d41724
|
simplified GenericFont implementation
|
2021-04-19 14:02:28 +02:00 |
|
|
e7ab8fefe8
|
improved performance of SplitString and re-added Zwsp compatibility
|
2021-04-14 23:13:19 +02:00 |
|
|
55477c6341
|
removed Zwsp functionality, which was incomplete and did not work
|
2021-04-14 00:49:33 +02:00 |
|
|
37609ade76
|
fixed DrawString in generic font ignoring text scale for alignment
|
2021-03-12 20:47:57 +01:00 |
|
|
b6ef243cf4
|
GenericFont support for zero-width spaces
|
2020-12-31 17:22:51 +01:00 |
|
|
106102adf6
|
clean up unused using statements
|
2020-12-14 21:51:27 +01:00 |
|
|
f63a410cd2
|
use the actual unicode 1em space in GenericFont
|
2020-12-08 01:43:52 +01:00 |
|
|
aaeda825e0
|
fixed some documentation issues
|
2020-10-06 20:14:57 +02:00 |
|
|
b814839458
|
made GenericFont a GenericDataHolder
|
2020-09-28 20:38:56 +02:00 |
|
|
bd43c14a33
|
copy SpriteFont in GenericSpriteFont so that we don't modify the passed fonts' default character
|
2020-09-28 02:52:51 +02:00 |
|
Ellpeck
|
a17301504d
|
added macros to text formatting
|
2020-07-01 14:30:47 +02:00 |
|
Ellpeck
|
d891e19d2a
|
reduce string allocations when rendering text
|
2020-06-21 23:23:52 +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 |
|