Commit graph

105 commits

Author SHA1 Message Date
Jeremy Soller
324c8837fd
Cache fonts 2022-10-25 15:47:55 -06:00
Jeremy Soller
c60aaaf9d2
Ensure orbclient example reshapes 2022-10-25 15:33:48 -06:00
Jeremy Soller
1a5b01575d
Record font mapping time 2022-10-25 14:52:43 -06:00
Jeremy Soller
66885686a0
Move fontdb source handling to font 2022-10-25 14:49:44 -06:00
Jeremy Soller
a3ccbd0481
Add spdx identifiers 2022-10-25 14:42:26 -06:00
Jeremy Soller
84f4381cdf
Add text attributes 2022-10-25 14:14:23 -06:00
Jeremy Soller
bc04887b35
Update docstring again 2022-10-25 13:15:52 -06:00
Jeremy Soller
8f9d9de87f
Update TextLayoutRun::rtl doc 2022-10-25 13:14:38 -06:00
Jeremy Soller
0336e0c5e9
Use layout_runs for hit detection 2022-10-25 13:13:13 -06:00
Jeremy Soller
b6bd72335c
Add description for crate 2022-10-25 12:54:21 -06:00
Jeremy Soller
a9b7b4e914
Add layout run iterator 2022-10-25 12:52:46 -06:00
Jeremy Soller
5d7dd59078
Draw does not need mutable buffer 2022-10-25 11:40:57 -06:00
Jeremy Soller
330a736136
Add function to get layout runs 2022-10-25 11:40:10 -06:00
Jeremy Soller
5603e30a29
Document shape_until_cursor 2022-10-25 11:13:22 -06:00
Jeremy Soller
0f446368ca
Have TextBuffer own FontMatches 2022-10-25 11:10:44 -06:00
Jeremy Soller
1c341f3126
Make swash optional, add swash cache abstraction 2022-10-25 10:55:24 -06:00
Jeremy Soller
efc5108a2d
Do not use mono feature for editor test 2022-10-25 10:18:11 -06:00
Jeremy Soller
c5e9412673
Do delete test using EGCs 2022-10-25 10:17:09 -06:00
Jeremy Soller
cc68315a3f
Disable character delete test until it can handle EGCs 2022-10-25 10:15:24 -06:00
Jeremy Soller
42de42d59e
Do not store reference to font in shape or layout glyphs 2022-10-25 10:13:44 -06:00
Jeremy Soller
3c573df261
Do not set async by default 2022-10-25 09:31:51 -06:00
Jeremy Soller
a19182507b
Set orbclient async mode when edge scrolling 2022-10-25 09:30:16 -06:00
Jeremy Soller
d04147e1fc
Reduce framerate of orbclient example 2022-10-25 09:03:39 -06:00
Andrew Wheeler(Genusis)
079778cbf9 Moved the shape until cursor outside of the loop 2022-10-25 08:58:40 -06:00
Andrew Wheeler(Genusis)
16ebfcf6e6 Fixed the way drag selection scrolling works. made main buffer only run once and events do the rest 2022-10-25 08:58:40 -06:00
Andrew Wheeler(Genusis)
5200f67196 Clippy Fixes 2022-10-25 08:58:40 -06:00
Jeremy Soller
e39f8eabd5
Disable formatting for now 2022-10-25 08:12:04 -06:00
Jeremy Soller
2f3deabb98
Mark bidirectional selection complete in roadmap 2022-10-24 19:33:47 -06:00
Jeremy Soller
1bf532a2fc
Improved highlighting of selection 2022-10-24 19:11:28 -06:00
Jeremy Soller
ef686f8f96
Improved bidi selection 2022-10-24 18:57:13 -06:00
Aaron Muir Hamilton
e14588b2f6 Fix edge cases relating to running Delete with your cursor half way through an egc. 2022-10-24 18:01:49 -06:00
Jeremy Soller
d6d896688f
Track span rtl status in layout glyph 2022-10-24 17:14:30 -06:00
Aaron Muir Hamilton
7363c923e5 Delete by EGC rather than by char. 2022-10-24 16:12:06 -06:00
Aaron Muir Hamilton
9dfadd6c78 Process Previous and Next by EGC rather than char. 2022-10-24 15:41:49 -06:00
Jeremy Soller
c3baf00cb5
Add more fun to ligature.txt 2022-10-24 14:34:31 -06:00
Jeremy Soller
ab56c52c73
Improve selection inside ligatures 2022-10-24 14:27:26 -06:00
Jeremy Soller
4107165128
Select by EGC 2022-10-24 14:18:40 -06:00
Jeremy Soller
92a83fc4a6
Revert "Switch unicode-linebreak to xi-unicode for ~25% faster builds"
This fixes ZJW emoji support.

This reverts commit c1262eca74.
2022-10-24 14:12:23 -06:00
Jeremy Soller
564dab009c Relicense MIT OR Apache 2.0 2022-10-24 12:58:15 -06:00
Jeremy Soller
91ab1c489e
Add RTL ligature 2022-10-24 12:11:30 -06:00
Jeremy Soller
cb5bde83ed
Support cursor inside ligature 2022-10-24 12:02:50 -06:00
Jeremy Soller
b4ae8ed01e
Add simple ligature sample 2022-10-24 11:47:57 -06:00
Jeremy Soller
81cc65ca01
Store font ID with CacheKey 2022-10-24 11:47:49 -06:00
Jeremy Soller
1bce05d995
Fix UDHR test 2022-10-24 08:53:56 -06:00
Ian Kettlewell
c1262eca74 Switch unicode-linebreak to xi-unicode for ~25% faster builds 2022-10-23 12:57:35 -06:00
Jeremy Soller
ac83f5846b Implement up/down and home/end 2022-10-22 11:42:08 -06:00
Jeremy Soller
b433f22592 Stubs for up/down 2022-10-22 09:41:17 -06:00
Jeremy Soller
2b32085e58 Redraw on cursor movement 2022-10-22 09:37:05 -06:00
Jeremy Soller
d78fa4b377
Update README.md 2022-10-21 19:33:40 -06:00
Jeremy Soller
95d836f20d
Update README.md 2022-10-21 19:32:51 -06:00