Commit Graph

74 Commits

Author SHA1 Message Date
Tig
6550cde7b5 Nuked Textformatter.AutoSize.
Removed references to AutoSize throughout.
Updated unit tests.
2024-07-20 11:17:46 -06:00
Tig
3ed30767a0 Addressed review feedback from @dodexahedron. 2024-07-20 10:00:54 -06:00
Tig
4128b515da Merge branch 'v2_develop' into v2_3499-Finish-DimAuto 2024-07-19 17:34:13 -06:00
Tig
fa847f4356 Revert "rebased against v2_develop"
This reverts commit 23737decec.
2024-07-19 17:32:53 -06:00
Tig
23737decec rebased against v2_develop 2024-07-19 17:02:14 -06:00
Tig
c6a9021f2e Fixed error in Textformatter 2024-07-19 16:07:14 -06:00
Tig
153f1015d7 Fixed warnings 2024-07-19 15:59:06 -06:00
Tig
ee57f41b9f Fixed @bdisp noted error 2024-07-19 15:42:04 -06:00
Tig
7733a69e8a Code cleanup 2024-07-19 08:08:52 -06:00
Cam Sinclair
952fc49709 Fix typos 2024-07-19 13:16:48 +10:00
Tig
c4de9fe4f4 Code cleanup 2024-07-18 15:56:38 -06:00
Tig
b4e1b3ec5e All unit tests pass.
Made TextFormatter have independent Width/Height.
2024-07-18 15:24:11 -06:00
Tig
2cecc7762a WIP - Trying to make TextFormatter have indepdentent width/height 2024-07-17 16:18:58 -06:00
Tig
b528ba8bc7 Fixed Vertical FormatAndGetSize Fill issue 2024-07-17 10:15:09 -06:00
Tig
e566dce521 Fixed Horizontal FormatAndGetSize Fill issue; Vertical is still broken 2024-07-17 09:07:54 -06:00
Tig
e93eebb708 Fixed little things. 2024-07-16 18:40:51 -06:00
Tig
ce5fc1c81e Fixed ShadowTests 2024-07-16 09:43:34 -06:00
Tig
f51e38d25e Fixed TextFormatter.FormatAndGetSize for wide vertical text 2024-07-16 09:35:45 -06:00
Tig
a3b606fe6e New unit tests. Lots of fixes 2024-07-15 16:36:05 -06:00
Tig
4ba8f04998 Rebased with v2_develop 2024-05-23 10:12:15 -06:00
Tig
c7039a6658 Removed debug code.
Added [GenerateEnumExtensionMethods] to DimAutoStyle.
Reordered DimAutoStyle.
2024-05-22 13:42:33 -06:00
Tig
c877c1844d Simplified Alignment enum 2024-05-18 10:39:14 -07:00
Tig
c8690af514 Fixed AnchorEnd issue 2024-05-13 12:10:12 -06:00
Tig
ba4139f5f6 WIP fixing 3469 2024-05-13 09:50:23 -06:00
Tig
a8b9ddb2aa Partial fix 2024-05-13 09:50:21 -06:00
Tig
ce28b2ab40 WIP fixing 3469 2024-05-12 21:55:43 -06:00
Tig
bc40c9de22 Partial fix 2024-05-12 20:47:03 -06:00
Tig
175c2fc0dd Changed Alignment enum to have distinct values. Updated related code. 2024-05-11 07:29:26 -06:00
Tig
ce1e243df2 Justification->Alignment 2024-05-10 11:27:02 -06:00
Tig
c5a6c907a4 Justifier->Aligner 2024-05-10 10:35:49 -06:00
Tig
37073d29b5 Alignment->Justification 2024-05-10 09:56:14 -06:00
Tig
c84dade64d WIP -> Getting rid of old TextAlignment enums 2024-05-10 08:52:47 -06:00
Tig
dcc7a9b518 Fixed a bunch of warnings 2024-05-08 10:24:49 -06:00
BDisp
c7bc7f86b8 Adding all possible text directions variants and improving scenario. 2024-05-05 00:03:21 +01:00
BDisp
b7293e0470 Performing text reverse during formatting instead during drawing. 2024-04-29 23:21:32 +01:00
BDisp
253fcf195b Replace with GetColumnsRequiredForVerticalText. 2024-04-29 13:20:13 +01:00
Tig
b547d6ce67 Updated API docs 2024-04-28 09:11:15 -07:00
Tig
cea6e54b19 Ready for review.
- All unit tests pass
- Basic usage verified.
2024-04-28 08:48:46 -07:00
Tig
3e87d5e786 TextFormatter Unit tests pass again 2024-04-27 08:09:48 -07:00
Tig
71c0d379f8 Merged and attempted to apply @bdisp's fixes 2024-04-27 07:17:29 -07:00
Tig
acc924b7b5 Unit test update 2024-04-26 22:10:23 -06:00
Tig
09565a0ef1 Tons of changes - mostly experiments, but some goodness.
There's a huge issue that TextFormatter is confused about AutoSize.
a) It behaves 'automatically' even when AutoSize == false (e.g. in Text_set).
b) It doesn't support auto sizing only one dimension.
2024-04-25 13:29:18 -06:00
Tig
f134d1a113 Started to add more primitve unit tests for vertical text 2024-04-21 11:22:27 -06:00
Tig
c65596b2d0 Sorta fixed vertical. Broke wide runes 2024-04-21 11:05:27 -06:00
Tig
91e3e75dc0 Sorta fixed vertical. Broke wide runes 2024-04-21 09:18:57 -06:00
Tig
6c117e0f0a More unit tests 2024-04-18 15:51:19 -06:00
Tig
20402dd74e diagnosing broken vertical text 2024-04-18 14:35:00 -06:00
Tig
00ac1bbf7a Renamed API to simplify and make more clear. Fixed Text formatting vertical/right aligned text. Fixed crash in scenario 2024-04-18 14:16:55 -06:00
Tig
f3b5ed7afc Fixing tests... 2024-04-18 13:14:22 -06:00
Tig
a48146af82 Tons of unit test updates 2024-04-18 09:59:07 -06:00