|
288a1fb9ef
|
Fix token slice size estimation to massively reduce waste
|
2024-09-19 09:36:01 -04:00 |
|
|
a91816df6c
|
Benchmarks report token waste
|
2024-09-19 09:33:14 -04:00 |
|
|
aa486fe660
|
Report waste as a fraction
|
2024-09-19 09:20:44 -04:00 |
|
|
cde84b8756
|
Benchmarks report len, cap, and waste of runes slice
|
2024-09-19 09:18:11 -04:00 |
|
|
013b121d46
|
Made Chinese lorem ipsum same # of runes as Latin lorem ipsum
|
2024-09-19 09:06:29 -04:00 |
|
|
85c48461c7
|
Add parsing benchmarks for latin and chinese text
|
2024-09-19 09:03:09 -04:00 |
|
|
0342e25456
|
LayoutBounds can have a negative start
This causes the LayoutBounds of center-aligned, left-aligned text
to be more accurate
|
2024-09-19 08:49:49 -04:00 |
|
|
f0adca5c37
|
Minimum size is calculated from extents instead of vice versa
|
2024-09-19 08:31:21 -04:00 |
|
|
56024caaf5
|
Fix LayoutBounds calculation
More work is needed for LayoutBoundsSpace
|
2024-09-19 08:07:39 -04:00 |
|
|
5171cbac16
|
Fix the memory problem
|
2024-09-18 23:48:21 -04:00 |
|
|
300c28853d
|
Add another memory test just to be sure
|
2024-09-18 23:37:57 -04:00 |
|
|
6fabfd9fd0
|
Test whether tokens reference the same memory as runes
|
2024-09-18 23:28:27 -04:00 |
|
|
6b6e485aca
|
Add documentation on what the DrawBounds colors mean
|
2024-09-18 22:54:25 -04:00 |
|
|
89c23a8947
|
Add test example
|
2024-09-10 15:52:56 -04:00 |
|
|
0cb6e28542
|
Add drawing functions
|
2024-09-10 15:52:46 -04:00 |
|
|
5dee53b8a9
|
Add incomplete TypeSetter struct
|
2024-09-10 15:52:33 -04:00 |
|
|
9c7732c95b
|
Add incomplete reflow stage
|
2024-09-10 15:52:18 -04:00 |
|
|
37554dd719
|
Add measurement stage
|
2024-09-10 11:20:08 -04:00 |
|
|
569defdb36
|
Add parsing stage
|
2024-09-10 11:19:57 -04:00 |
|
|
0c9d50ebcd
|
Remove setter.go
|
2024-09-10 11:19:31 -04:00 |
|
|
943fc57080
|
Remove old files from repository root
|
2024-09-10 11:18:13 -04:00 |
|
|
0592fe32b6
|
Add .editorconfig because why not
|
2024-09-10 11:17:52 -04:00 |
|
|
56cf7e3fb8
|
Update README.md
|
2024-09-10 11:17:29 -04:00 |
|
|
650ecf0c2e
|
Back up old files
|
2024-09-10 11:17:10 -04:00 |
|
|
aa00b93bd3
|
The new alignment method works
|
2024-09-06 01:22:51 -04:00 |
|
|
8a22afe95a
|
Restructure alignment process
|
2024-09-06 01:00:28 -04:00 |
|
|
ba1438b700
|
SetTabWidth now takes in an Int26_6, and doesn't use emspaces
|
2024-09-06 00:33:51 -04:00 |
|
|
2aa1d355ec
|
Add SetTabWidth to Setter (non-functional currently)
|
2024-09-06 00:30:15 -04:00 |
|
|
6e3e288628
|
Change ReccomendedHeightFor -> RecommendedHeight
Closes #1
|
2024-09-06 00:23:44 -04:00 |
|
|
f2da861f1b
|
Fix README.md
|
2024-09-06 00:23:36 -04:00 |
|
|
0beef86c58
|
TypeSetter.forInternal resets last known rune bound on new line
Closes #5
|
2024-09-03 21:17:29 -04:00 |
|
|
6a60458484
|
Create another For iterator that leaves out the fake null rune
Apparently it was intended behavior. Closes #4
|
2024-09-03 18:38:01 -04:00 |
|
|
021dd288b6
|
Drawer now draws tofu
Closes #2
|
2024-09-03 17:59:07 -04:00 |
|
|
b0e80ce961
|
DoWord adds a RuneLayout for invalid characters
Defaults to an emspace for the width. Progress on #2
|
2024-09-03 17:04:57 -04:00 |
|
|
a1bd411e43
|
Fix bug where vertically aligned text would creep downward
|
2024-05-05 02:35:25 -04:00 |
|
|
a54d40b52c
|
Add godoc badge to README.md
|
2024-05-05 06:14:39 +00:00 |
|
|
8d9e0e1340
|
TypeSetter can now do vertical text alignment yay
|
2023-09-15 15:54:46 -04:00 |
|
|
92cb318972
|
make pumkin alllll better!
|
2023-09-15 15:22:44 -04:00 |
|
|
14deec24f5
|
API changes to support future functionality
|
2023-09-15 01:55:57 -04:00 |
|
|
388a113a01
|
Text bounds are now returned correctly
|
2023-09-14 20:28:32 -04:00 |
|
|
c4dce027ef
|
Justified text now properly handles line breaks
|
2023-08-07 01:04:43 -04:00 |
|
|
ee345c10ef
|
A blank line is now added to the end of TypeSetter when needed
|
2023-08-07 00:59:02 -04:00 |
|
|
6407baed13
|
Fixed TypeSetter.AtPosition
|
2023-08-06 03:37:08 -04:00 |
|
|
c207eadfb8
|
Typeset now only uses SetWrap instead of relying zero values
|
2023-07-15 20:19:35 -04:00 |
|
|
290d3ab366
|
Fixes to MinimumSize
|
2023-07-15 20:03:19 -04:00 |
|
|
ca27e2af88
|
Added a MinimumSize method
|
2023-07-15 19:52:06 -04:00 |
|
|
778cdb6827
|
color.RGBA is no longer hardcoded
|
2023-07-11 22:25:44 -04:00 |
|
|
6e316d18bc
|
Change package name
|
2023-07-11 21:54:29 -04:00 |
|
|
a24daf9b75
|
Add more description to readme
|
2023-07-07 02:05:46 -04:00 |
|
|
d037503b38
|
Initial commit
|
2023-07-07 01:49:32 -04:00 |
|